Skip to content

Commit

Permalink
Modernizing, switch qa02 to main chart
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 May 29, 2024
1 parent d4fe900 commit 338e727
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 25 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/restart_gw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ jobs:
- name: Fetch kubeconfig
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}

# TODO WIFI-7839 delete when issue is resolved on AWS CLI side
- name: install kubectl
- name: Install kubectl
run: |
curl -s -LO "https://dl.k8s.io/release/v1.27.6/bin/linux/amd64/kubectl"
curl -s -LO "https://dl.k8s.io/release/v1.27.14/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- name: Restart OWGW in defined namespace
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/ucentralgw-demo-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:
{
"namespace": "demo",
"deploy_method": "git",
"chart_version": "v3.0.0",
"chart_version": "main",
"owgw_version": "master",
"owsec_version": "main",
"owfms_version": "main",
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
steps:

- name: Checkout repo with Helm values
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy
Expand All @@ -109,10 +109,9 @@ jobs:
run: |
aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side
- name: install kubectl
- name: Install kubectl
run: |
curl -s -LO "https://dl.k8s.io/release/v1.27.6/bin/linux/amd64/kubectl"
curl -s -LO "https://dl.k8s.io/release/v1.27.14/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- name: Deploy OpenWIFI Cloud SDK
Expand Down Expand Up @@ -143,7 +142,6 @@ jobs:
export OWANALYTICS_VERSION=${{ matrix.owanalytics_version }}
export OWSUB_VERSION=${{ matrix.owsub_version }}
export OWRRM_VERSION=${{ matrix.owrrm_version }}
./deploy.sh
else
export DEPLOY_METHOD=git
export CHART_VERSION=main
Expand All @@ -156,8 +154,8 @@ jobs:
export OWANALYTICS_VERSION=main
export OWSUB_VERSION=main
export OWRRM_VERSION=main
./deploy.sh
fi
./deploy.sh
- name: Show resource state on deployment failure
if: failure()
Expand All @@ -182,4 +180,3 @@ jobs:
if: failure()
run: |
helm rollback tip-openwifi --namespace openwifi-${{ matrix.namespace }} --wait --timeout 20m
10 changes: 4 additions & 6 deletions .github/workflows/ucentralgw-dev-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
steps:

- name: Checkout repo with Helm values
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy
Expand All @@ -109,10 +109,9 @@ jobs:
run: |
aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side
- name: install kubectl
- name: Install kubectl
run: |
curl -s -LO "https://dl.k8s.io/release/v1.27.6/bin/linux/amd64/kubectl"
curl -s -LO "https://dl.k8s.io/release/v1.27.14/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- name: Deploy OpenWIFI Cloud SDK
Expand Down Expand Up @@ -143,7 +142,6 @@ jobs:
export OWANALYTICS_VERSION=${{ matrix.owanalytics_version }}
export OWSUB_VERSION=${{ matrix.owsub_version }}
export OWRRM_VERSION=${{ matrix.owrrm_version }}
./deploy.sh
else
export DEPLOY_METHOD=git
export CHART_VERSION=main
Expand All @@ -156,8 +154,8 @@ jobs:
export OWANALYTICS_VERSION=main
export OWSUB_VERSION=main
export OWRRM_VERSION=main
./deploy.sh
fi
./deploy.sh
- name: Show resource state on deployment failure
if: failure()
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/ucentralgw-qa-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
steps:

- name: Checkout repo with Helm values
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy
Expand All @@ -90,10 +90,9 @@ jobs:
run: |
aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side
- name: install kubectl
- name: Install kubectl
run: |
curl -s -LO "https://dl.k8s.io/release/v1.27.6/bin/linux/amd64/kubectl"
curl -s -LO "https://dl.k8s.io/release/v1.27.14/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- name: Deploy OpenWIFI Cloud SDK
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ucentralgw-qa2-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:
{
"namespace": "qa02",
"deploy_method": "git",
"chart_version": "v3.0.2-RC1",
"chart_version": "main",
"owgw_version": "master",
"owsec_version": "main",
"owfms_version": "main",
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
steps:

- name: Checkout repo with Helm values
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy
Expand All @@ -90,9 +90,9 @@ jobs:
run: |
aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
- name: install kubectl
- name: Install kubectl
run: |
curl -s -LO "https://dl.k8s.io/release/v1.27.6/bin/linux/amd64/kubectl"
curl -s -LO "https://dl.k8s.io/release/v1.27.14/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- name: Deploy OpenWIFI Cloud SDK
Expand Down

0 comments on commit 338e727

Please sign in to comment.