Skip to content

Commit

Permalink
WIFI-13821: Update CI
Browse files Browse the repository at this point in the history
Signed-off-by: Carsten Schafer <[email protected]>
  • Loading branch information
Carsten Schafer authored and Carsten Schafer committed Sep 19, 2024
1 parent 99241ad commit fe10961
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ on:
branches:
- main
- next
- testing
- 'release/*'
tags:
- 'v*'
pull_request:
branches:
- main
- next
- testing
- 'release/*'

defaults:
Expand Down Expand Up @@ -52,10 +54,31 @@ jobs:
SLACK_ICON: https://raw.githubusercontent.com/quintessence/slack-icons/master/images/github-logo-slack-icon.png
SLACK_TITLE: Docker build failed for OWGW service

trigger-deploy-to-qa:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/test_scaling'
needs:
- docker
steps:
- name: Checkout actions repo
uses: actions/checkout@v4
with:
repository: Telecominfraproject/.github
path: github

- name: Trigger deployment of the latest version to dev instance and wait for result
uses: ./github/composite-actions/trigger-workflow-and-wait
with:
owner: Telecominfraproject
repo: wlan-testing
workflow: cgw-dev-deployment.yaml
token: ${{ secrets.WLAN_TESTING_PAT }}
ref: master
inputs: '{"upgrade": "true", "cgw_version": "test_scaling", "cgw_image": "test_scaling", "config_name": "default", "namespace":"openwifi-devcgw", "cluster": "tip-wlan-qa", "region": "us-east-2"}'

trigger-deploy-to-dev:
runs-on: ubuntu-latest
#if: github.ref == 'refs/heads/main'
if: github.ref == 'zzzzzzz'
if: github.ref == 'refs/heads/main'
needs:
- docker
steps:
Expand All @@ -73,4 +96,4 @@ jobs:
workflow: cgw-dev-deployment.yaml
token: ${{ secrets.WLAN_TESTING_PAT }}
ref: master
inputs: '{"just_component": "true"}'
inputs: '{"upgrade": "true", "cgw_version": "main", "cgw_image": "main", "config_name": "cgw01", "namespace":"openlan-cgw01", "cluster": "tip-wlan-main", "region": "ap-south-1"}'

0 comments on commit fe10961

Please sign in to comment.