mirror of
https://github.com/outbackdingo/openlan-cgw.git
synced 2026-01-27 10:19:56 +00:00
WIFI-13821: Update CI
Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com>
This commit is contained in:
33
.github/workflows/ci.yml
vendored
33
.github/workflows/ci.yml
vendored
@@ -8,16 +8,16 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- next
|
||||
- test_scaling
|
||||
- 'release/*'
|
||||
- 'test_scale_testing'
|
||||
tags:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- next
|
||||
- test_scaling
|
||||
- 'release/*'
|
||||
- 'test_scale_testing'
|
||||
|
||||
defaults:
|
||||
run:
|
||||
@@ -54,10 +54,9 @@ 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-dev:
|
||||
trigger-deploy-to-qa:
|
||||
runs-on: ubuntu-latest
|
||||
#if: github.ref == 'refs/heads/main'
|
||||
if: github.ref == 'zzzzzzz'
|
||||
if: github.ref == 'refs/heads/test_scaling'
|
||||
needs:
|
||||
- docker
|
||||
steps:
|
||||
@@ -75,4 +74,26 @@ jobs:
|
||||
workflow: cgw-dev-deployment.yaml
|
||||
token: ${{ secrets.WLAN_TESTING_PAT }}
|
||||
ref: master
|
||||
inputs: '{"just_component": "true"}'
|
||||
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'
|
||||
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": "main", "cgw_image": "main", "config_name": "cgw01", "namespace":"openlan-cgw01", "cluster": "tip-wlan-main", "region": "ap-south-1"}'
|
||||
|
||||
Reference in New Issue
Block a user