-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #336 from B-urb/development
Development
- Loading branch information
Showing
1 changed file
with
5 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | ||
|