Skip to content

Commit

Permalink
WIFI-13821 rework gh CGW deploy action-7
Browse files Browse the repository at this point in the history
Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com>
  • Loading branch information
Carsten Schafer authored and Carsten Schafer committed Sep 19, 2024
1 parent 33de5fb commit ba43858
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/cgw-dev-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update CGW01 OpenLAN Cloud Gateway on tip-wlan-main
name: Update CGW01 OpenLAN Cloud Gateway

defaults:
run:
Expand Down Expand Up @@ -91,13 +91,15 @@ jobs:
matrix: ${{ fromJson( needs.generate-matrix.outputs.matrix ) }}
fail-fast: false
steps:
- name: Checkout repo with Helm values
- name: Checkout deploy repo with Helm values
uses: actions/checkout@v4
with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy
ref: ${{ matrix.deploy_repo_version }}

# helmfile has trouble with installing from git+https repos
# so check out the relevant branch of cgw and reference the helm chart from there
- name: Checkout cgw repo
uses: actions/checkout@v4
with:
Expand All @@ -120,7 +122,6 @@ jobs:
sudo install -o root -g root -m 0755 helmfile /usr/local/bin/helmfile
helm plugin install https://github.com/aslafy-z/helm-git --version 0.16.0
helm plugin install https://github.com/databus23/helm-diff
helm plugin install https://github.com/jkroepke/helm-secrets
- name: Create certificate file
working-directory: wlan-cloud-ucentral-deploy/cgw
Expand All @@ -142,7 +143,7 @@ jobs:
--state-values-set "cgw.tag=${{ github.event.inputs.cgw_image }}" \
apply
else
helmfile --environment ${{ github.event.inputs.config_name }} -l app=cgw \
helmfile --environment ${{ github.event.inputs.config_name }} -l group=apps \
--state-values-set "cgw.tag=${{ github.event.inputs.cgw_image }}" \
apply
fi
Expand Down

0 comments on commit ba43858

Please sign in to comment.