Skip to content

Commit

Permalink
Merge pull request #336 from B-urb/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
B-urb authored Dec 27, 2024
2 parents 70fd241 + 31972b3 commit 8815524
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ jobs:
echo "${{ secrets.KUBE_CONFIG }}" | base64 -d > $HOME/.kube/config
cat $HOME/.kube/config
shell: bash
- name: Set Version in pulumi config
uses: pulumi/actions@v6
with:
command: config set version $versionTag
stack-name: openstack
work-dir: flux-operator
- name: Deploy with Pulumi
uses: pulumi/actions@v6
with:
Expand All @@ -42,18 +36,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- run: npm install
- name: setup kubectl
uses: actions-hub/[email protected]
- name: Decode kubeconfig
run: |
mkdir -p $HOME/.kube
echo "${{ secrets.KUBE_CONFIG }}" | base64 -d > $HOME/.kube/config
cat $HOME/.kube/config
shell: bash
- name: Set Version in pulumi config
uses: pulumi/actions@v6
with:
command: config set version $versionTag
stack-name: hetzner
work-dir: flux-operator
- name: Get current Version in pulumi config
run: |
echo "PREVIOUS_VERSION=kubectl get stacks -n flux-system l1 -o jsonpath='{.spec.branch}' | awk -F'/' '{print $NF}'" >> $GITHUB_ENV
- name: Deploy with Pulumi
uses: pulumi/actions@v6
with:
Expand Down

0 comments on commit 8815524

Please sign in to comment.