[WIFI-11419] Patch workflows with regard to deprecated Github actions commands (#741)

* Update Github actions and replace set-output commands

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix syntax error in quali.yml

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix output variable assignment

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Modify workflow to test output variables

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Try to fix echo statements

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Fix test workflow

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add required property

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Test another output variable string

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Revert debug changes

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

* Add missing GITHUB_OUTPUT variable

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
This commit is contained in:
Johann Hoffmann
2022-12-05 13:29:34 +01:00
committed by GitHub
parent 22f5af5f2f
commit 1bdcdecbd1
24 changed files with 552 additions and 552 deletions

View File

@@ -16,12 +16,12 @@ runs:
using: "composite" using: "composite"
steps: steps:
- name: Checkout Testing repo - name: Checkout Testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: wlan-testing path: wlan-testing
- name: Checkout LANforge scripts - name: Checkout LANforge scripts
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: wlan-lanforge-scripts path: wlan-lanforge-scripts
repository: Telecominfraproject/wlan-lanforge-scripts repository: Telecominfraproject/wlan-lanforge-scripts

View File

@@ -66,12 +66,12 @@ runs:
shell: bash shell: bash
id: set_outputs id: set_outputs
run: | run: |
echo "::set-output name=gateway_url::ow-docker-compose-${{ github.run_id }}.wlan.local" echo "gateway_url=ow-docker-compose-${{ github.run_id }}.wlan.local" >> $GITHUB_OUTPUT
echo "::set-output name=sec_url::ow-docker-compose-${{ github.run_id }}.wlan.local" echo "sec_url=ow-docker-compose-${{ github.run_id }}.wlan.local" >> $GITHUB_OUTPUT
AMI=$(aws ec2 describe-images --filters '[{"Name":"description","Values":["Canonical, Ubuntu, 20.04 LTS, amd64*"]},{"Name":"owner-id","Values":["099720109477"]}]' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text) AMI=$(aws ec2 describe-images --filters '[{"Name":"description","Values":["Canonical, Ubuntu, 20.04 LTS, amd64*"]},{"Name":"owner-id","Values":["099720109477"]}]' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text)
INSTANCE_NAME=ow-docker-compose-${{ github.run_id }} INSTANCE_NAME=ow-docker-compose-${{ github.run_id }}
echo "::set-output name=ami::${AMI}" echo "ami=${AMI}" >> $GITHUB_OUTPUT
echo "::set-output name=instance_name::${INSTANCE_NAME}" echo "instance_name=${INSTANCE_NAME}" >> $GITHUB_OUTPUT
# Create EC2 infrastructure # Create EC2 infrastructure
- name: Create EC2 instance for CloudSDK - name: Create EC2 instance for CloudSDK
@@ -83,7 +83,7 @@ runs:
shell: bash shell: bash
id: ec2_instance id: ec2_instance
run: | run: |
echo ::set-output name=instance_id::"$(aws ec2 run-instances --key-name $EC2_KEY_NAME --subnet-id $VPC_SUBNET_ID --security-group-ids $EC2_SECURITY_GROUP_ID --instance-type $EC2_INSTANCE_TYPE --image-id ${{ steps.set_outputs.outputs.ami }} --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=${{ steps.set_outputs.outputs.instance_name }}},{Key=Owner,Value=gha-wlan-testing}]' | jq -r '.Instances[].InstanceId')" echo "instance_id=$(aws ec2 run-instances --key-name $EC2_KEY_NAME --subnet-id $VPC_SUBNET_ID --security-group-ids $EC2_SECURITY_GROUP_ID --instance-type $EC2_INSTANCE_TYPE --image-id ${{ steps.set_outputs.outputs.ami }} --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=${{ steps.set_outputs.outputs.instance_name }}},{Key=Owner,Value=gha-wlan-testing}]' | jq -r '.Instances[].InstanceId')" >> $GITHUB_OUTPUT
- name: Wait for cloud SDK instance to get ready - name: Wait for cloud SDK instance to get ready
shell: bash shell: bash
@@ -95,7 +95,7 @@ runs:
shell: bash shell: bash
id: get_instance_public_ip id: get_instance_public_ip
run: | run: |
echo ::set-output name=ip::"$(aws ec2 describe-instances --instance-id ${{ steps.ec2_instance.outputs.instance_id }} --query 'Reservations[*].Instances[*].PublicIpAddress' --output text)" echo "ip=$(aws ec2 describe-instances --instance-id ${{ steps.ec2_instance.outputs.instance_id }} --query 'Reservations[*].Instances[*].PublicIpAddress' --output text)" >> $GITHUB_OUTPUT
# Deploy target CloudSDK into EC2 instance # Deploy target CloudSDK into EC2 instance
- name: Save SSH key for access to EC2 instance - name: Save SSH key for access to EC2 instance

View File

@@ -36,14 +36,14 @@ runs:
shell: bash shell: bash
id: set_outputs id: set_outputs
run: | run: |
echo ::set-output name=ami::"$(aws ec2 describe-images --owners self --filters 'Name=name,Values=*-x64_vmware-*' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text)" echo "ami=$(aws ec2 describe-images --owners self --filters 'Name=name,Values=*-x64_vmware-*' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text)" >> $GITHUB_OUTPUT
echo ::set-output name=instance_name::openwifi-virtual-ap-${{ github.run_id }} echo "instance_name=openwifi-virtual-ap-${{ github.run_id }}" >> $GITHUB_OUTPUT
- name: Create openwifi-virtual-ap EC2 instance - name: Create openwifi-virtual-ap EC2 instance
shell: bash shell: bash
id: ec2_instance id: ec2_instance
run: | run: |
echo ::set-output name=instance_id::"$(aws ec2 run-instances --key-name openwifi-virtual-ap --security-groups openwifi-virtual-ap --instance-type t2.nano --image-id ${{ steps.set_outputs.outputs.ami }} --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=${{ steps.set_outputs.outputs.instance_name }}},{Key=Owner,Value=gha-wlan-testing}]' | jq -r '.Instances[].InstanceId')" echo "instance_id=$(aws ec2 run-instances --key-name openwifi-virtual-ap --security-groups openwifi-virtual-ap --instance-type t2.nano --image-id ${{ steps.set_outputs.outputs.ami }} --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=${{ steps.set_outputs.outputs.instance_name }}},{Key=Owner,Value=gha-wlan-testing}]' | jq -r '.Instances[].InstanceId')" >> $GITHUB_OUTPUT
- name: Wait for virtual AP instance to get ready - name: Wait for virtual AP instance to get ready
shell: bash shell: bash
@@ -55,8 +55,8 @@ runs:
shell: bash shell: bash
id: get_virtual_ap_facts id: get_virtual_ap_facts
run: | run: |
echo ::set-output name=public_ip::"$(aws ec2 describe-instances --instance-id ${{ steps.ec2_instance.outputs.instance_id }} --query 'Reservations[*].Instances[*].PublicIpAddress' --output text)" echo "public_ip=$(aws ec2 describe-instances --instance-id ${{ steps.ec2_instance.outputs.instance_id }} --query 'Reservations[*].Instances[*].PublicIpAddress' --output text)" >> $GITHUB_OUTPUT
echo ::set-output name=serial_number::"$(aws ec2 describe-instances --instance-id ${{ steps.ec2_instance.outputs.instance_id }} --query 'Reservations[*].Instances[*].NetworkInterfaces[*].MacAddress' --output text | sed 's/://g')" echo "serial_number=$(aws ec2 describe-instances --instance-id ${{ steps.ec2_instance.outputs.instance_id }} --query 'Reservations[*].Instances[*].NetworkInterfaces[*].MacAddress' --output text | sed 's/://g')" >> $GITHUB_OUTPUT
- name: Upload AP certificate, key and dev-id to instance - name: Upload AP certificate, key and dev-id to instance
env: env:

View File

@@ -44,7 +44,7 @@ runs:
- name: set job name - name: set job name
shell: bash shell: bash
id: job id: job
run: echo "::set-output name=name::testing" run: echo "name=testing" >> $GITHUB_OUTPUT
- name: create configuration secret - name: create configuration secret
shell: bash shell: bash
@@ -146,7 +146,7 @@ runs:
- name: upload Allure results as artifact - name: upload Allure results as artifact
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: ${{ inputs.allure_results_artifact_name }} name: ${{ inputs.allure_results_artifact_name }}
path: allure-results path: allure-results

View File

@@ -19,7 +19,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: build and push Docker image - name: build and push Docker image
uses: ./.github/actions/build-and-push-docker uses: ./.github/actions/build-and-push-docker
with: with:
@@ -40,7 +40,7 @@ jobs:
- advanced-02 - advanced-02
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install aws CLI tool - name: install aws CLI tool
run: | run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
@@ -60,7 +60,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_number }}-${{ matrix.testbed }}" NAMESPACE="testing-${{ github.run_number }}-${{ matrix.testbed }}"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: run tests - name: run tests
uses: ./.github/actions/run-tests uses: ./.github/actions/run-tests
@@ -96,8 +96,8 @@ jobs:
- advanced-01 - advanced-01
- advanced-02 - advanced-02
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
name: allure-results-${{ matrix.testbed }} name: allure-results-${{ matrix.testbed }}
path: allure-results path: allure-results
@@ -124,7 +124,7 @@ jobs:
Testbed=${{ matrix.testbed }} Testbed=${{ matrix.testbed }}
- name: upload Allure report as artifact - name: upload Allure report as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: allure-report-${{ matrix.testbed }} name: allure-report-${{ matrix.testbed }}
path: allure-report path: allure-report
@@ -148,7 +148,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: cleanup Docker image - name: cleanup Docker image
uses: ./.github/actions/cleanup-docker uses: ./.github/actions/cleanup-docker
with: with:

View File

@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout actions repo - name: Checkout actions repo
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/.github repository: Telecominfraproject/.github
path: github path: github

View File

@@ -25,7 +25,7 @@ jobs:
TESTBEDS="${{ github.event.inputs.testbeds || 'basic-01,basic-02,basic-03,basic-04,basic-05,basic-06,basic-07,basic-08' }}" TESTBEDS="${{ github.event.inputs.testbeds || 'basic-01,basic-02,basic-03,basic-04,basic-05,basic-06,basic-07,basic-08' }}"
TESTBEDS=$(echo $TESTBEDS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') TESTBEDS=$(echo $TESTBEDS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
TESTBEDS=$(echo "$TESTBEDS" | jq -c 'map({"testbed":.})') TESTBEDS=$(echo "$TESTBEDS" | jq -c 'map({"testbed":.})')
echo "::set-output name=matrix::{\"include\":${TESTBEDS}}" echo "matrix={\"include\":${TESTBEDS}}" >> $GITHUB_OUTPUT
get-redirector-url: get-redirector-url:
needs: [ generate-matrix ] needs: [ generate-matrix ]
@@ -34,13 +34,13 @@ jobs:
matrix: ${{ fromJson( needs.generate-matrix.outputs.matrix ) }} matrix: ${{ fromJson( needs.generate-matrix.outputs.matrix ) }}
steps: steps:
- name: checkout testing repo - name: checkout testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-testing repository: Telecominfraproject/wlan-testing
path: wlan-testing path: wlan-testing
- name: checkout pki cert scripts repo - name: checkout pki cert scripts repo
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-pki-cert-scripts repository: Telecominfraproject/wlan-pki-cert-scripts
path: wlan-pki-cert-scripts path: wlan-pki-cert-scripts

View File

@@ -47,21 +47,21 @@ jobs:
- name: set variables - name: set variables
id: vars id: vars
run: | run: |
echo "::set-output name=marker_overwrite::${{ github.event.inputs.marker_overwrite || '' }}" echo "marker_overwrite=${{ github.event.inputs.marker_overwrite || '' }}" >> $GITHUB_OUTPUT
DEVICES="${{ github.event.inputs.devices || 'galaxy-s9,galaxy-s10,galaxy-s20,pixel-4,iphone-7,iphone-11,iphone-xr,iphone-12' }}" DEVICES="${{ github.event.inputs.devices || 'galaxy-s9,galaxy-s10,galaxy-s20,pixel-4,iphone-7,iphone-11,iphone-xr,iphone-12' }}"
DEVICES=$(echo $DEVICES | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') DEVICES=$(echo $DEVICES | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
echo "::set-output name=devices::${DEVICES}" echo "devices=${DEVICES}" >> $GITHUB_OUTPUT
echo ::set-output name=openwifi::$(echo "${{ github.event.inputs.openwifi_revision || 'main' }}") echo "openwifi=$(echo ${{ github.event.inputs.openwifi_revision || 'main' }})" >> $GITHUB_OUTPUT
echo ::set-output name=ap_models::$(echo "${{ github.event.inputs.ap_models || 'edgecore_ecw5410,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,liteon_wpx8324,hfcl_ion4' }}") echo "ap_models=$(echo ${{ github.event.inputs.ap_models || 'edgecore_ecw5410,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,liteon_wpx8324,hfcl_ion4' }})" >> $GITHUB_OUTPUT
echo ::set-output name=firmware::$(echo "${{ github.event.inputs.firmware || 'next-latest' }}") echo "firmware=$(echo ${{ github.event.inputs.firmware || 'next-latest' }})" >> $GITHUB_OUTPUT
echo ::set-output name=marker_expression::$(echo "${{ github.event.inputs.marker_expression || 'uc_sanity' }}") echo "marker_expression=$(echo ${{ github.event.inputs.marker_expression || 'uc_sanity' }})" >> $GITHUB_OUTPUT
echo ::set-output name=existing_controller::$(echo "${{ github.event.inputs.existing_controller || 'qa01' }}") echo "existing_controller=$(echo ${{ github.event.inputs.existing_controller || 'qa01' }})" >> $GITHUB_OUTPUT
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: build and push Docker image - name: build and push Docker image
uses: ./.github/actions/build-and-push-docker uses: ./.github/actions/build-and-push-docker
with: with:
@@ -75,7 +75,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -96,8 +96,8 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -169,7 +169,7 @@ jobs:
needs: [vars, test-galaxy-s9] needs: [vars, test-galaxy-s9]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -190,8 +190,8 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
- name: get EKS access credentials - name: get EKS access credentials
@@ -264,7 +264,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -285,8 +285,8 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
- name: get EKS access credentials - name: get EKS access credentials
@@ -358,7 +358,7 @@ jobs:
needs: [vars, test-galaxy-s10] needs: [vars, test-galaxy-s10]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -379,8 +379,8 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
- name: get EKS access credentials - name: get EKS access credentials
@@ -455,7 +455,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -476,8 +476,8 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
- name: get EKS access credentials - name: get EKS access credentials
@@ -548,7 +548,7 @@ jobs:
needs: [vars, test-galaxy-s20] needs: [vars, test-galaxy-s20]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -569,8 +569,8 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
- name: get EKS access credentials - name: get EKS access credentials
@@ -642,7 +642,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -663,8 +663,8 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -736,7 +736,7 @@ jobs:
needs: [vars, test-pixel-4] needs: [vars, test-pixel-4]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -757,8 +757,8 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -834,9 +834,9 @@ jobs:
steps: steps:
- name: checkout testing repo - name: checkout testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
name: allure-results-${{ matrix.device }} name: allure-results-${{ matrix.device }}
path: allure-results path: allure-results
@@ -856,7 +856,7 @@ jobs:
Device=${{ matrix.device }} Device=${{ matrix.device }}
- name: upload Allure report as artifact - name: upload Allure report as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: allure-report-${{ matrix.device }} name: allure-report-${{ matrix.device }}
path: allure-report path: allure-report
@@ -880,7 +880,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: cleanup Docker image - name: cleanup Docker image
uses: ./.github/actions/cleanup-docker uses: ./.github/actions/cleanup-docker
with: with:

View File

@@ -42,19 +42,19 @@ jobs:
- name: set variables - name: set variables
id: vars id: vars
run: | run: |
echo "::set-output name=marker_overwrite::${{ github.event.inputs.marker_overwrite || '' }}" echo "marker_overwrite=${{ github.event.inputs.marker_overwrite || '' }}" >> $GITHUB_OUTPUT
DEVICES="${{ github.event.inputs.devices || 'galaxy-s9,galaxy-s10,galaxy-s20,pixel-4,iphone-7,iphone-11,iphone-xr,iphone-12' }}" DEVICES="${{ github.event.inputs.devices || 'galaxy-s9,galaxy-s10,galaxy-s20,pixel-4,iphone-7,iphone-11,iphone-xr,iphone-12' }}"
DEVICES=$(echo $DEVICES | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') DEVICES=$(echo $DEVICES | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
echo "::set-output name=devices::${DEVICES}" echo "devices=${DEVICES}" >> $GITHUB_OUTPUT
echo ::set-output name=openwifi::$(echo "${{ github.event.inputs.openwifi_revision || 'main' }}") echo "openwifi=$(echo ${{ github.event.inputs.openwifi_revision || 'main' }})" >> $GITHUB_OUTPUT
echo ::set-output name=ap_models::$(echo "${{ github.event.inputs.ap_models || 'edgecore_ecw5410,edgecore_eap101,tp-link_ec420-g1,edgecore_ecw5211,cig_wf188n,edgecore_eap102,cig_wf194c,hfcl_ion4' }}") echo "ap_models=$(echo ${{ github.event.inputs.ap_models || 'edgecore_ecw5410,edgecore_eap101,tp-link_ec420-g1,edgecore_ecw5211,cig_wf188n,edgecore_eap102,cig_wf194c,hfcl_ion4' }})" >> $GITHUB_OUTPUT
echo ::set-output name=ap_version::$(echo "${{ github.event.inputs.ap_version || 'next-latest' }}") echo "ap_version=$(echo ${{ github.event.inputs.ap_version || 'next-latest' }})" >> $GITHUB_OUTPUT
echo ::set-output name=marker_expression::$(echo "${{ github.event.inputs.marker_expression || 'uc_sanity' }}") echo "marker_expression=$(echo ${{ github.event.inputs.marker_expression || 'uc_sanity' }})" >> $GITHUB_OUTPUT
echo ::set-output name=existing_controller::$(echo "${{ github.event.inputs.existing_controller || 'qa01' }}") echo "existing_controller=$(echo ${{ github.event.inputs.existing_controller || 'qa01' }})" >> $GITHUB_OUTPUT
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: build and push Docker image - name: build and push Docker image
uses: ./.github/actions/build-and-push-docker uses: ./.github/actions/build-and-push-docker
with: with:
@@ -68,7 +68,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled()" if: "!cancelled()"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -84,8 +84,8 @@ jobs:
if: always() if: always()
id: quali_reservation id: quali_reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace="$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
# echo "reservation_id=$(cat ./reservation_id.txt)" >> $GITHUB_ENV # echo "reservation_id=$(cat ./reservation_id.txt)" >> $GITHUB_ENV
# echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_ENV # echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_ENV
# echo "${{ env.reservation_id}}" # echo "${{ env.reservation_id}}"
@@ -102,7 +102,7 @@ jobs:
needs: [vars, quali_reservation] needs: [vars, quali_reservation]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -165,7 +165,7 @@ jobs:
needs: [vars, quali_reservation, test-galaxy-s9] needs: [vars, quali_reservation, test-galaxy-s9]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -231,7 +231,7 @@ jobs:
needs: [vars, quali_reservation] needs: [vars, quali_reservation]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -294,7 +294,7 @@ jobs:
needs: [vars, quali_reservation, test-galaxy-s10] needs: [vars, quali_reservation, test-galaxy-s10]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -357,7 +357,7 @@ jobs:
needs: [vars, quali_reservation] needs: [vars, quali_reservation]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -420,7 +420,7 @@ jobs:
needs: [vars, quali_reservation, test-galaxy-s20] needs: [vars, quali_reservation, test-galaxy-s20]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -483,7 +483,7 @@ jobs:
needs: [vars, quali_reservation] needs: [vars, quali_reservation]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -545,7 +545,7 @@ jobs:
needs: [vars, quali_reservation, test-pixel-4] needs: [vars, quali_reservation, test-pixel-4]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: | run: |
@@ -615,9 +615,9 @@ jobs:
- name: checkout testing repo - name: checkout testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
name: allure-results-${{ matrix.device }} name: allure-results-${{ matrix.device }}
path: allure-results path: allure-results
@@ -635,7 +635,7 @@ jobs:
additional_metadata: | additional_metadata: |
Device=${{ matrix.device }} Device=${{ matrix.device }}
- name: upload Allure report as artifact - name: upload Allure report as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: allure-report-${{ matrix.device }} name: allure-report-${{ matrix.device }}
path: allure-report path: allure-report
@@ -659,7 +659,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: cleanup Docker image - name: cleanup Docker image
uses: ./.github/actions/cleanup-docker uses: ./.github/actions/cleanup-docker
with: with:

View File

@@ -42,17 +42,17 @@ jobs:
- name: set variables - name: set variables
id: vars id: vars
run: | run: |
echo "::set-output name=marker_overwrite::${{ github.event.inputs.marker_overwrite || '' }}" echo "marker_overwrite=${{ github.event.inputs.marker_overwrite || '' }}" >> $GITHUB_OUTPUT
DEVICES="${{ github.event.inputs.devices || 'galaxy-s9,galaxy-s10,galaxy-s20,pixel-4,iphone-7,iphone-11,iphone-xr,iphone-12' }}" DEVICES="${{ github.event.inputs.devices || 'galaxy-s9,galaxy-s10,galaxy-s20,pixel-4,iphone-7,iphone-11,iphone-xr,iphone-12' }}"
DEVICES=$(echo $DEVICES | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') DEVICES=$(echo $DEVICES | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
echo "::set-output name=devices::${DEVICES}" echo "devices=${DEVICES}" >> $GITHUB_OUTPUT
echo "::set-output name=testbed::${{ github.event.inputs.testbed || '' }}" echo "testbed=${{ github.event.inputs.testbed || '' }}" >> $GITHUB_OUTPUT
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: build and push Docker image - name: build and push Docker image
uses: ./.github/actions/build-and-push-docker uses: ./.github/actions/build-and-push-docker
with: with:
@@ -66,7 +66,7 @@ jobs:
needs: [ vars, build ] needs: [ vars, build ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -107,7 +107,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -147,7 +147,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -188,7 +188,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -229,7 +229,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -269,7 +269,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -310,7 +310,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -350,7 +350,7 @@ jobs:
needs: [vars, build] needs: [vars, build]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -391,7 +391,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ] needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -432,7 +432,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ] needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -472,7 +472,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ] needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -513,7 +513,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ] needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -554,7 +554,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ] needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -594,7 +594,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ] needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -635,7 +635,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ] needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -675,7 +675,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ] needs: [ test-iphone-11-bridge-gen-suiteA, test-iphone-xr-bridge-gen-suiteA, test-iphone-12-bridge-gen-suiteA, test-iphone-7-bridge-gen-suiteA, test-pixel-4-bridge-gen-suiteA, test-galaxy-s20-bridge-gen-suiteA, test-galaxy-s10-bridge-gen-suiteA, test-galaxy-s9-bridge-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -716,7 +716,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ] needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -757,7 +757,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ] needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -797,7 +797,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ] needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -838,7 +838,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ] needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -879,7 +879,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ] needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -919,7 +919,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ] needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -960,7 +960,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ] needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1000,7 +1000,7 @@ jobs:
needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ] needs: [ test-iphone-11-bridge-gen-suiteB, test-iphone-xr-bridge-gen-suiteB, test-iphone-12-bridge-gen-suiteB, test-iphone-7-bridge-gen-suiteB, test-pixel-4-bridge-gen-suiteB, test-galaxy-s20-bridge-gen-suiteB, test-galaxy-s10-bridge-gen-suiteB, test-galaxy-s9-bridge-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1041,7 +1041,7 @@ jobs:
needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ] needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1082,7 +1082,7 @@ jobs:
needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ] needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1122,7 +1122,7 @@ jobs:
needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ] needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1163,7 +1163,7 @@ jobs:
needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ] needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1204,7 +1204,7 @@ jobs:
needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ] needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1244,7 +1244,7 @@ jobs:
needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ] needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1285,7 +1285,7 @@ jobs:
needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ] needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1325,7 +1325,7 @@ jobs:
needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ] needs: [ test-iphone-11-bridge-eap-suiteA, test-iphone-xr-bridge-eap-suiteA, test-iphone-12-bridge-eap-suiteA, test-iphone-7-bridge-eap-suiteA, test-pixel-4-bridge-eap-suiteA, test-galaxy-s20-bridge-eap-suiteA, test-galaxy-s10-bridge-eap-suiteA, test-galaxy-s9-bridge-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1366,7 +1366,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ] needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1407,7 +1407,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ] needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1447,7 +1447,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ] needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1488,7 +1488,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ] needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1529,7 +1529,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ] needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1569,7 +1569,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ] needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1610,7 +1610,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ] needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1650,7 +1650,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ] needs: [ test-iphone-11-nat-gen-suiteA, test-iphone-xr-nat-gen-suiteA, test-iphone-12-nat-gen-suiteA, test-iphone-7-nat-gen-suiteA, test-pixel-4-nat-gen-suiteA, test-galaxy-s20-nat-gen-suiteA, test-galaxy-s10-nat-gen-suiteA, test-galaxy-s9-nat-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1691,7 +1691,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ] needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1732,7 +1732,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ] needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1772,7 +1772,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ] needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1813,7 +1813,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ] needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1854,7 +1854,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ] needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1894,7 +1894,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ] needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1935,7 +1935,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ] needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -1975,7 +1975,7 @@ jobs:
needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ] needs: [ test-iphone-11-nat-gen-suiteB, test-iphone-xr-nat-gen-suiteB, test-iphone-12-nat-gen-suiteB, test-iphone-7-nat-gen-suiteB, test-pixel-4-nat-gen-suiteB, test-galaxy-s20-nat-gen-suiteB, test-galaxy-s10-nat-gen-suiteB, test-galaxy-s9-nat-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2016,7 +2016,7 @@ jobs:
needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ] needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2057,7 +2057,7 @@ jobs:
needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ] needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2097,7 +2097,7 @@ jobs:
needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ] needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2138,7 +2138,7 @@ jobs:
needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ] needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2179,7 +2179,7 @@ jobs:
needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ] needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2219,7 +2219,7 @@ jobs:
needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ] needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2260,7 +2260,7 @@ jobs:
needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ] needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2300,7 +2300,7 @@ jobs:
needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ] needs: [ test-iphone-11-nat-eap-suiteA, test-iphone-xr-nat-eap-suiteA, test-iphone-12-nat-eap-suiteA, test-iphone-7-nat-eap-suiteA, test-pixel-4-nat-eap-suiteA, test-galaxy-s20-nat-eap-suiteA, test-galaxy-s10-nat-eap-suiteA, test-galaxy-s9-nat-eap-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2341,7 +2341,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ] needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2382,7 +2382,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ] needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2422,7 +2422,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ] needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2463,7 +2463,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ] needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2504,7 +2504,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ] needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2544,7 +2544,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ] needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2585,7 +2585,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ] needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2625,7 +2625,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ] needs: [ test-iphone-11-vlan-gen-suiteA, test-iphone-xr-vlan-gen-suiteA, test-iphone-12-vlan-gen-suiteA, test-iphone-7-vlan-gen-suiteA, test-pixel-4-vlan-gen-suiteA, test-galaxy-s20-vlan-gen-suiteA, test-galaxy-s10-vlan-gen-suiteA, test-galaxy-s9-vlan-gen-suiteA ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2666,7 +2666,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ] needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s10')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2707,7 +2707,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ] needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s9')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2747,7 +2747,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ] needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-11')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2788,7 +2788,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ] needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-7')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2829,7 +2829,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ] needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'galaxy-s20')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2869,7 +2869,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ] needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-xr')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2910,7 +2910,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ] needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'pixel-4')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2950,7 +2950,7 @@ jobs:
needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ] needs: [ test-iphone-11-vlan-gen-suiteB, test-iphone-xr-vlan-gen-suiteB, test-iphone-12-vlan-gen-suiteB, test-iphone-7-vlan-gen-suiteB, test-pixel-4-vlan-gen-suiteB, test-galaxy-s20-vlan-gen-suiteB, test-galaxy-s10-vlan-gen-suiteB, test-galaxy-s9-vlan-gen-suiteB ]
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.devices), 'iphone-12')"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -2996,9 +2996,9 @@ jobs:
steps: steps:
- name: checkout testing repo - name: checkout testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
name: allure-results-${{ matrix.device }}-performance name: allure-results-${{ matrix.device }}-performance
path: allure-results path: allure-results
@@ -3018,7 +3018,7 @@ jobs:
Device=${{ matrix.device }} Device=${{ matrix.device }}
- name: upload Allure report as artifact - name: upload Allure report as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: allure-report-${{ matrix.device }}-performance name: allure-report-${{ matrix.device }}-performance
path: allure-report path: allure-report
@@ -3042,7 +3042,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: cleanup Docker image - name: cleanup Docker image
uses: ./.github/actions/cleanup-docker uses: ./.github/actions/cleanup-docker
with: with:

View File

@@ -41,7 +41,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: build and push Docker image - name: build and push Docker image
uses: ./.github/actions/build-and-push-docker uses: ./.github/actions/build-and-push-docker
with: with:
@@ -55,7 +55,7 @@ jobs:
timeout-minutes: 1440 timeout-minutes: 1440
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: install JRE - name: install JRE
run: | run: |
sudo apt-get update sudo apt-get update
@@ -79,7 +79,7 @@ jobs:
- name: save time for logs gathering - name: save time for logs gathering
id: logs_start_time id: logs_start_time
run: | run: |
echo ::set-output name=time::$(date --iso-8601=s) echo "time=$(date --iso-8601=s)" >> $GITHUB_OUTPUT
- name: tests env info - name: tests env info
run: | run: |
@@ -143,9 +143,9 @@ jobs:
if: always() if: always()
steps: steps:
- name: checkout testing repo - name: checkout testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
name: allure-results name: allure-results
path: allure-results path: allure-results
@@ -156,7 +156,7 @@ jobs:
results_path: ./allure-results results_path: ./allure-results
- name: upload Allure report as artifact - name: upload Allure report as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: allure-report name: allure-report
path: allure-report path: allure-report
@@ -176,7 +176,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: cleanup Docker image - name: cleanup Docker image
uses: ./.github/actions/cleanup-docker uses: ./.github/actions/cleanup-docker
with: with:

View File

@@ -45,7 +45,7 @@ jobs:
instance_name: ${{ steps.deploy-sdk-docker-compose.outputs.instance_name }} instance_name: ${{ steps.deploy-sdk-docker-compose.outputs.instance_name }}
instance_public_ip: ${{ steps.deploy-sdk-docker-compose.outputs.instance_public_ip }} instance_public_ip: ${{ steps.deploy-sdk-docker-compose.outputs.instance_public_ip }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use deploy-sdk-docker-compose composite action - name: Use deploy-sdk-docker-compose composite action
id: deploy-sdk-docker-compose id: deploy-sdk-docker-compose
@@ -71,7 +71,7 @@ jobs:
serial_number: ${{ steps.deploy-virtual-ap-instance.outputs.serial_number }} serial_number: ${{ steps.deploy-virtual-ap-instance.outputs.serial_number }}
instance_id: ${{ steps.deploy-virtual-ap-instance.outputs.instance_id }} instance_id: ${{ steps.deploy-virtual-ap-instance.outputs.instance_id }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use deploy-virtual-ap-instance composite action - name: Use deploy-virtual-ap-instance composite action
id: deploy-virtual-ap-instance id: deploy-virtual-ap-instance

View File

@@ -69,7 +69,7 @@ jobs:
instance_name: ${{ steps.deploy-sdk-docker-compose.outputs.instance_name }} instance_name: ${{ steps.deploy-sdk-docker-compose.outputs.instance_name }}
instance_public_ip: ${{ steps.deploy-sdk-docker-compose.outputs.instance_public_ip }} instance_public_ip: ${{ steps.deploy-sdk-docker-compose.outputs.instance_public_ip }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use deploy-sdk-docker-compose composite action - name: Use deploy-sdk-docker-compose composite action
id: deploy-sdk-docker-compose id: deploy-sdk-docker-compose
@@ -101,7 +101,7 @@ jobs:
serial_number: ${{ steps.deploy-virtual-ap-instance.outputs.serial_number }} serial_number: ${{ steps.deploy-virtual-ap-instance.outputs.serial_number }}
instance_id: ${{ steps.deploy-virtual-ap-instance.outputs.instance_id }} instance_id: ${{ steps.deploy-virtual-ap-instance.outputs.instance_id }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use deploy-virtual-ap-instance composite action - name: Use deploy-virtual-ap-instance composite action
id: deploy-virtual-ap-instance id: deploy-virtual-ap-instance

View File

@@ -79,7 +79,7 @@ jobs:
namespace: ${{ steps.namespace.outputs.value }} namespace: ${{ steps.namespace.outputs.value }}
steps: steps:
- name: Checkout repo with Helm values - name: Checkout repo with Helm values
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy path: wlan-cloud-ucentral-deploy
@@ -103,15 +103,15 @@ jobs:
- name: Set namespace output - name: Set namespace output
id: namespace id: namespace
run: echo "::set-output name=value::deploy-k8s-${{ github.run_id }}" run: echo "value=deploy-k8s-${{ github.run_id }}" >> $GITHUB_OUTPUT
- name: Set gateway URL output - name: Set gateway URL output
id: gateway_url id: gateway_url
run: echo "::set-output name=value::gw-${{ steps.namespace.outputs.value }}.cicd.lab.wlan.tip.build" run: echo "value=gw-${{ steps.namespace.outputs.value }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Set sec service URL output - name: Set sec service URL output
id: sec_url id: sec_url
run: echo "::set-output name=value::sec-${{ steps.namespace.outputs.value }}.cicd.lab.wlan.tip.build" run: echo "value=sec-${{ steps.namespace.outputs.value }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Deploy OpenWIFI Cloud SDK - name: Deploy OpenWIFI Cloud SDK
working-directory: wlan-cloud-ucentral-deploy/chart/environment-values working-directory: wlan-cloud-ucentral-deploy/chart/environment-values
@@ -168,7 +168,7 @@ jobs:
serial_number: ${{ steps.deploy-virtual-ap-instance.outputs.serial_number }} serial_number: ${{ steps.deploy-virtual-ap-instance.outputs.serial_number }}
instance_id: ${{ steps.deploy-virtual-ap-instance.outputs.instance_id }} instance_id: ${{ steps.deploy-virtual-ap-instance.outputs.instance_id }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use deploy-virtual-ap-instance composite action - name: Use deploy-virtual-ap-instance composite action
id: deploy-virtual-ap-instance id: deploy-virtual-ap-instance

View File

@@ -54,23 +54,23 @@ jobs:
- name: set variables - name: set variables
id: vars id: vars
run: | run: |
echo ::set-output name=openwifi::$(echo "${{ github.event.inputs.openwifi_revision || 'main' }}") echo "openwifi=$(echo ${{ github.event.inputs.openwifi_revision || 'main' }})" >> $GITHUB_OUTPUT
echo ::set-output name=ap_version::$(echo "${{ github.event.inputs.ap_version || 'next-latest' }}") echo "ap_version=$(echo ${{ github.event.inputs.ap_version || 'next-latest' }})" >> $GITHUB_OUTPUT
echo ::set-output name=existing_controller::$(echo "${{ github.event.inputs.existing_controller || 'qa01'}}") echo "existing_controller=$(echo ${{ github.event.inputs.existing_controller || 'qa01'}})" >> $GITHUB_OUTPUT
MARKER_EXPRESSIONS="${{ github.event.inputs.marker_expressions || 'dataplane_throughput_test,single_station_dual_band_throughput,wifi_capacity_test' }}" MARKER_EXPRESSIONS="${{ github.event.inputs.marker_expressions || 'dataplane_throughput_test,single_station_dual_band_throughput,wifi_capacity_test' }}"
MARKER_EXPRESSIONS=$(echo $MARKER_EXPRESSIONS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') MARKER_EXPRESSIONS=$(echo $MARKER_EXPRESSIONS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
echo "::set-output name=marker_expressions::${MARKER_EXPRESSIONS}" echo "marker_expressions=${MARKER_EXPRESSIONS}" >> $GITHUB_OUTPUT
AP_MODELS="${{ github.event.inputs.ap_models || 'Wallys_DR6018,hfcl_ion4xe,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,liteon_wpx8324,hfcl_ion4,indio_um-305ac,hfcl_ion4xi,udaya_a5-id2,cig_wf196' }}" AP_MODELS="${{ github.event.inputs.ap_models || 'Wallys_DR6018,hfcl_ion4xe,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,liteon_wpx8324,hfcl_ion4,indio_um-305ac,hfcl_ion4xi,udaya_a5-id2,cig_wf196' }}"
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
echo "::set-output name=ap_models::${AP_MODELS}" echo "ap_models=${AP_MODELS}" >> $GITHUB_OUTPUT
# Build test image # Build test image
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: build and push Docker image - name: build and push Docker image
uses: ./.github/actions/build-and-push-docker uses: ./.github/actions/build-and-push-docker
with: with:
@@ -93,11 +93,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -117,12 +117,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -144,7 +144,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -281,11 +281,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -305,12 +305,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -332,7 +332,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -469,11 +469,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -493,12 +493,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -520,7 +520,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -657,11 +657,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -681,12 +681,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -708,7 +708,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -845,11 +845,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -869,12 +869,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -896,7 +896,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1033,11 +1033,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1057,12 +1057,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1084,7 +1084,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1221,11 +1221,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1245,12 +1245,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1272,7 +1272,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1409,11 +1409,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1433,12 +1433,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1460,7 +1460,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1597,11 +1597,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1621,12 +1621,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1648,7 +1648,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1785,11 +1785,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1809,12 +1809,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1836,7 +1836,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1973,11 +1973,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1997,12 +1997,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -2024,7 +2024,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -2161,11 +2161,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -2185,12 +2185,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -2212,7 +2212,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="performance-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -2347,19 +2347,19 @@ jobs:
steps: steps:
- name: checkout testing repo - name: checkout testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
name: allure-results-${{ matrix.model }}-dataplane_throughput_test name: allure-results-${{ matrix.model }}-dataplane_throughput_test
path: allure-results-dataplane_throughput_test path: allure-results-dataplane_throughput_test
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
name: allure-results-${{ matrix.model }}-single_station_dual_band_throughput name: allure-results-${{ matrix.model }}-single_station_dual_band_throughput
path: allure-results-single_station_dual_band_throughput path: allure-results-single_station_dual_band_throughput
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
name: allure-results-${{ matrix.model }}-wifi_capacity_test name: allure-results-${{ matrix.model }}-wifi_capacity_test
path: allure-results-wifi_capacity_test path: allure-results-wifi_capacity_test
@@ -2386,7 +2386,7 @@ jobs:
Ap.Model=${{ matrix.model }} Ap.Model=${{ matrix.model }}
- name: upload Allure report as artifact - name: upload Allure report as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: allure-report-${{ matrix.model }} name: allure-report-${{ matrix.model }}
path: allure-report path: allure-report
@@ -2412,7 +2412,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: cleanup Docker image - name: cleanup Docker image
uses: ./.github/actions/cleanup-docker uses: ./.github/actions/cleanup-docker
with: with:

View File

@@ -39,10 +39,10 @@ jobs:
- name: set variables - name: set variables
id: vars id: vars
run: | run: |
echo ::set-output name=openwifi::$(echo "${{ github.event.inputs.openwifi_revision || 'main' }}") echo "openwifi=$(echo ${{ github.event.inputs.openwifi_revision || 'main' }})" >> $GITHUB_OUTPUT
echo ::set-output name=ap_models::$(echo "${{ github.event.inputs.ap_models || 'edgecore_eap102,cig_wf194c4' }}") echo "ap_models=$(echo ${{ github.event.inputs.ap_models || 'edgecore_eap102,cig_wf194c4' }})" >> $GITHUB_OUTPUT
echo ::set-output name=ap_version::$(echo "${{ github.event.inputs.ap_version || 'next-latest' }}") echo "ap_version=$(echo ${{ github.event.inputs.ap_version || 'next-latest' }})" >> $GITHUB_OUTPUT
echo ::set-output name=marker_expression::$(echo "${{ github.event.inputs.marker_expression || 'advance' }}") echo "marker_expression=$(echo ${{ github.event.inputs.marker_expression || 'advance' }})" >> $GITHUB_OUTPUT
generate-matrix: generate-matrix:
name: generate AP model matrix name: generate AP model matrix
@@ -57,12 +57,12 @@ jobs:
AP_MODELS="${{ needs.vars.outputs.ap_models }}" AP_MODELS="${{ needs.vars.outputs.ap_models }}"
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
AP_MODELS=$(echo "$AP_MODELS" | jq -c 'map({"ap_model":.})') AP_MODELS=$(echo "$AP_MODELS" | jq -c 'map({"ap_model":.})')
echo "::set-output name=matrix::{\"include\":${AP_MODELS}}" echo "matrix={\"include\":${AP_MODELS}}" >> $GITHUB_OUTPUT
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: build and push Docker image - name: build and push Docker image
uses: ./.github/actions/build-and-push-docker uses: ./.github/actions/build-and-push-docker
with: with:
@@ -103,12 +103,12 @@ jobs:
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: '3.8' python-version: '3.8'
- name: checkout testing repo - name: checkout testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: install dependencies - name: install dependencies
run: pip install -r .quali/requirements.txt run: pip install -r .quali/requirements.txt
@@ -121,8 +121,8 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
- name: get EKS access credentials - name: get EKS access credentials
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
@@ -131,7 +131,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ matrix.ap_model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ matrix.ap_model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -206,9 +206,9 @@ jobs:
matrix: ${{ fromJson( needs.generate-matrix.outputs.matrix ) }} matrix: ${{ fromJson( needs.generate-matrix.outputs.matrix ) }}
steps: steps:
- name: checkout testing repo - name: checkout testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
name: allure-results-${{ matrix.ap_model }} name: allure-results-${{ matrix.ap_model }}
path: allure-results path: allure-results
@@ -228,7 +228,7 @@ jobs:
Ap.Model=${{ matrix.ap_model }} Ap.Model=${{ matrix.ap_model }}
- name: upload Allure report as artifact - name: upload Allure report as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: allure-report-${{ matrix.ap_model }} name: allure-report-${{ matrix.ap_model }}
path: allure-report path: allure-report
@@ -253,7 +253,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: cleanup Docker image - name: cleanup Docker image
uses: ./.github/actions/cleanup-docker uses: ./.github/actions/cleanup-docker
with: with:

View File

@@ -40,12 +40,12 @@ jobs:
steps: steps:
# checkout needed repositories # checkout needed repositories
- name: Checkout Testing repo - name: Checkout Testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: wlan-testing path: wlan-testing
- name: Checkout LANforge scripts - name: Checkout LANforge scripts
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: wlan-lanforge-scripts path: wlan-lanforge-scripts
repository: Telecominfraproject/wlan-lanforge-scripts repository: Telecominfraproject/wlan-lanforge-scripts
@@ -69,9 +69,9 @@ jobs:
timeout-minutes: 1440 timeout-minutes: 1440
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: '3.8' python-version: '3.8'
@@ -90,8 +90,8 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
- name: install JRE - name: install JRE
run: | run: |
@@ -117,7 +117,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}" NAMESPACE="testing-${{ github.run_id }}"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
env: env:
@@ -171,7 +171,7 @@ jobs:
results_path: ./allure-results results_path: ./allure-results
- name: upload Allure report as artifact - name: upload Allure report as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: allure-report name: allure-report
path: allure-report path: allure-report

View File

@@ -54,10 +54,10 @@ jobs:
- name: set variables - name: set variables
id: vars id: vars
run: | run: |
echo ::set-output name=openwifi::$(echo "${{ github.event.inputs.openwifi_revision || 'main' }}") echo "openwifi=$(echo ${{ github.event.inputs.openwifi_revision || 'main' }})" >> $GITHUB_OUTPUT
echo ::set-output name=ap_version::$(echo "${{ github.event.inputs.ap_version || 'release-latest' }}") echo "ap_version=$(echo ${{ github.event.inputs.ap_version || 'release-latest' }})" >> $GITHUB_OUTPUT
echo ::set-output name=marker_expression::$(echo "${{ github.event.inputs.marker_expression || 'ow_sanity_lf' }}") echo "marker_expression=$(echo ${{ github.event.inputs.marker_expression || 'ow_sanity_lf' }})" >> $GITHUB_OUTPUT
echo ::set-output name=existing_controller::$(echo "${{ github.event.inputs.existing_controller || 'qa01' }}") echo "existing_controller=$(echo ${{ github.event.inputs.existing_controller || 'qa01' }})" >> $GITHUB_OUTPUT
DOW=$(date +%u) DOW=$(date +%u)
SLOT=$(( 10#$DOW % 7 % 2 )) # 0 - slot 1, 1 - slot 2 SLOT=$(( 10#$DOW % 7 % 2 )) # 0 - slot 1, 1 - slot 2
@@ -73,13 +73,13 @@ jobs:
fi fi
echo "List of AP models to test - $AP_MODELS" echo "List of AP models to test - $AP_MODELS"
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
echo "::set-output name=ap_models::${AP_MODELS}" echo "ap_models=${AP_MODELS}" >> $GITHUB_OUTPUT
# Build test image # Build test image
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: build and push Docker image - name: build and push Docker image
uses: ./.github/actions/build-and-push-docker uses: ./.github/actions/build-and-push-docker
with: with:
@@ -101,11 +101,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -125,12 +125,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -146,7 +146,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -232,11 +232,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -258,12 +258,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -279,7 +279,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -362,11 +362,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -386,12 +386,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -407,7 +407,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -490,11 +490,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -514,12 +514,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -535,7 +535,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -618,11 +618,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -642,12 +642,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -663,7 +663,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -746,11 +746,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -770,12 +770,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -791,7 +791,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -874,11 +874,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -898,12 +898,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -919,7 +919,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1002,11 +1002,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1026,12 +1026,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1047,7 +1047,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1130,11 +1130,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1154,12 +1154,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1175,7 +1175,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1259,11 +1259,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1283,12 +1283,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo identifier="$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1304,7 +1304,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1388,11 +1388,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1412,12 +1412,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1433,7 +1433,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1517,11 +1517,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1541,12 +1541,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1562,7 +1562,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="testing-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1645,9 +1645,9 @@ jobs:
steps: steps:
- name: checkout testing repo - name: checkout testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
name: allure-results-${{ matrix.model }} name: allure-results-${{ matrix.model }}
path: allure-results path: allure-results
@@ -1667,7 +1667,7 @@ jobs:
Ap.Model=${{ matrix.model }} Ap.Model=${{ matrix.model }}
- name: upload Allure report as artifact - name: upload Allure report as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: allure-report-${{ matrix.model }} name: allure-report-${{ matrix.model }}
path: allure-report path: allure-report
@@ -1692,7 +1692,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: cleanup Docker image - name: cleanup Docker image
uses: ./.github/actions/cleanup-docker uses: ./.github/actions/cleanup-docker
with: with:

View File

@@ -54,23 +54,23 @@ jobs:
- name: set variables - name: set variables
id: vars id: vars
run: | run: |
echo ::set-output name=openwifi::$(echo "${{ github.event.inputs.openwifi_revision || 'main' }}") echo "openwifi=$(echo ${{ github.event.inputs.openwifi_revision || 'main' }})" >> $GITHUB_OUTPUT
echo ::set-output name=ap_version::$(echo "${{ github.event.inputs.ap_version || 'next-latest' }}") echo "ap_version=$(echo ${{ github.event.inputs.ap_version || 'next-latest' }})" >> $GITHUB_OUTPUT
echo ::set-output name=existing_controller::$(echo "${{ github.event.inputs.existing_controller || 'qa01' }}") echo "existing_controller=$(echo ${{ github.event.inputs.existing_controller || 'qa01' }})" >> $GITHUB_OUTPUT
MARKER_EXPRESSIONS="${{ github.event.inputs.marker_expressions || 'ow_dfs_tests_lf,ow_multipsk_tests_lf,ow_rate_limiting_tests_lf,ow_dynamic_qos_tests_lf,ow_dvlan_tests_lf,ow_multi_vlan_tests_lf' }}" MARKER_EXPRESSIONS="${{ github.event.inputs.marker_expressions || 'ow_dfs_tests_lf,ow_multipsk_tests_lf,ow_rate_limiting_tests_lf,ow_dynamic_qos_tests_lf,ow_dvlan_tests_lf,ow_multi_vlan_tests_lf' }}"
MARKER_EXPRESSIONS=$(echo $MARKER_EXPRESSIONS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') MARKER_EXPRESSIONS=$(echo $MARKER_EXPRESSIONS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
echo "::set-output name=marker_expressions::${MARKER_EXPRESSIONS}" echo "marker_expressions=${MARKER_EXPRESSIONS}" >> $GITHUB_OUTPUT
AP_MODELS="${{ github.event.inputs.ap_models || 'Wallys_DR6018,hfcl_ion4xe,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,liteon_wpx8324,hfcl_ion4,indio_um-305ac,hfcl_ion4xi,udaya_a5-id2,cig_wf196' }}" AP_MODELS="${{ github.event.inputs.ap_models || 'Wallys_DR6018,hfcl_ion4xe,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,liteon_wpx8324,hfcl_ion4,indio_um-305ac,hfcl_ion4xi,udaya_a5-id2,cig_wf196' }}"
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
echo "::set-output name=ap_models::${AP_MODELS}" echo "ap_models=${AP_MODELS}" >> $GITHUB_OUTPUT
# Build test image # Build test image
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: build and push Docker image - name: build and push Docker image
uses: ./.github/actions/build-and-push-docker uses: ./.github/actions/build-and-push-docker
with: with:
@@ -93,11 +93,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -117,12 +117,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -144,7 +144,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -353,11 +353,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -377,12 +377,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -404,7 +404,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -613,11 +613,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -637,12 +637,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -664,7 +664,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -873,11 +873,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -897,12 +897,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -924,7 +924,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1133,11 +1133,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1157,12 +1157,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1184,7 +1184,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1393,11 +1393,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1417,12 +1417,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1444,7 +1444,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1653,11 +1653,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1677,12 +1677,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1704,7 +1704,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -1913,11 +1913,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -1937,12 +1937,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -1964,7 +1964,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -2173,11 +2173,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -2197,12 +2197,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -2224,7 +2224,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -2433,11 +2433,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -2457,12 +2457,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -2484,7 +2484,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -2693,11 +2693,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -2717,12 +2717,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -2744,7 +2744,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -2947,11 +2947,11 @@ jobs:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
run: | run: |
echo "::set-output name=model::${AP_MODEL}" echo "model=${AP_MODEL}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: "3.8" python-version: "3.8"
@@ -2971,12 +2971,12 @@ jobs:
if: always() if: always()
id: reservation id: reservation
run: | run: |
echo ::set-output name=identifier::"$(cat ./reservation_id.txt)" echo "identifier=$(cat ./reservation_id.txt)" >> $GITHUB_OUTPUT
if [ ${{ needs.vars.outputs.existing_controller }} != '' ] if [ ${{ needs.vars.outputs.existing_controller }} != '' ]
then then
echo ::set-output name=namespace::"${{ needs.vars.outputs.existing_controller }}" echo "namespace=${{ needs.vars.outputs.existing_controller }}" >> $GITHUB_OUTPUT
else else
echo ::set-output name=namespace::"$(cat ./reservation_id.txt | cut -d "-" -f 1)" echo "namespace=$(cat ./reservation_id.txt | cut -d "-" -f 1)" >> $GITHUB_OUTPUT
fi fi
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side # TODO WIFI-7839 delete when issue is resolved on AWS CLI side
@@ -2998,7 +2998,7 @@ jobs:
id: namespace id: namespace
run: | run: |
NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')" NAMESPACE="regression-${{ github.run_id }}-$(echo ${{ steps.ap_model.outputs.model }} | tr '[:upper:]' '[:lower:]' | tr '_' '-')"
echo "::set-output name=name::${NAMESPACE}" echo "name=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: prepare configuration - name: prepare configuration
run: | run: |
@@ -3200,9 +3200,9 @@ jobs:
steps: steps:
- name: checkout testing repo - name: checkout testing repo
uses: actions/checkout@v2 uses: actions/checkout@v3
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
with: with:
name: allure-results-${{ matrix.model }}-${{ matrix.marker }} name: allure-results-${{ matrix.model }}-${{ matrix.marker }}
path: allure-results path: allure-results
@@ -3222,7 +3222,7 @@ jobs:
Ap.Model=${{ matrix.model }} Ap.Model=${{ matrix.model }}
- name: upload Allure report as artifact - name: upload Allure report as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: allure-report-${{ matrix.model }}-${{ matrix.marker }} name: allure-report-${{ matrix.model }}-${{ matrix.marker }}
path: allure-report path: allure-report
@@ -3248,7 +3248,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: cleanup Docker image - name: cleanup Docker image
uses: ./.github/actions/cleanup-docker uses: ./.github/actions/cleanup-docker
with: with:

View File

@@ -45,8 +45,8 @@ jobs:
run: | run: |
AMI=$(aws ec2 describe-images --filters '[{"Name":"description","Values":["Canonical, Ubuntu, 20.04 LTS, amd64*"]},{"Name":"owner-id","Values":["099720109477"]}]' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text) AMI=$(aws ec2 describe-images --filters '[{"Name":"description","Values":["Canonical, Ubuntu, 20.04 LTS, amd64*"]},{"Name":"owner-id","Values":["099720109477"]}]' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text)
INSTANCE_NAME=owgw-dc-sqlite-${{ github.run_number }} INSTANCE_NAME=owgw-dc-sqlite-${{ github.run_number }}
echo "::set-output name=ami::${AMI}" echo "ami=${AMI}" >> $GITHUB_OUTPUT
echo "::set-output name=instance_name::${INSTANCE_NAME}" echo "instance_name=${INSTANCE_NAME}" >> $GITHUB_OUTPUT
# Create EC2 infrastructure # Create EC2 infrastructure
- name: Create EC2 instance for CloudSDK - name: Create EC2 instance for CloudSDK
@@ -55,8 +55,8 @@ jobs:
aws ec2 run-instances --key-name $EC2_KEY_NAME --subnet-id $VPC_SUBNET_ID --security-group-ids $EC2_SECURITY_GROUP_ID --instance-type $EC2_INSTANCE_TYPE --image-id ${{ steps.ec2_facts.outputs.ami }} --tag-specifications "ResourceType=instance,Tags=[{Key=Name,Value=${{ steps.ec2_facts.outputs.instance_name }}},{Key=Owner,Value=gha-wlan-testing}]" --output text aws ec2 run-instances --key-name $EC2_KEY_NAME --subnet-id $VPC_SUBNET_ID --security-group-ids $EC2_SECURITY_GROUP_ID --instance-type $EC2_INSTANCE_TYPE --image-id ${{ steps.ec2_facts.outputs.ami }} --tag-specifications "ResourceType=instance,Tags=[{Key=Name,Value=${{ steps.ec2_facts.outputs.instance_name }}},{Key=Owner,Value=gha-wlan-testing}]" --output text
INSTANCE_PUBLIC_IP=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=${{ steps.ec2_facts.outputs.instance_name }}" --query 'Reservations[*].Instances[*].PublicIpAddress' --output text) INSTANCE_PUBLIC_IP=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=${{ steps.ec2_facts.outputs.instance_name }}" --query 'Reservations[*].Instances[*].PublicIpAddress' --output text)
INSTANCE_ID=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=${{ steps.ec2_facts.outputs.instance_name }}" --query 'Reservations[*].Instances[*].InstanceId' --output text) INSTANCE_ID=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=${{ steps.ec2_facts.outputs.instance_name }}" --query 'Reservations[*].Instances[*].InstanceId' --output text)
echo "::set-output name=instance_public_ip::${INSTANCE_PUBLIC_IP}" echo "instance_public_ip=${INSTANCE_PUBLIC_IP}" >> $GITHUB_OUTPUT
echo "::set-output name=instance_id::${INSTANCE_ID}" echo "instance_id=${INSTANCE_ID}" >> $GITHUB_OUTPUT
- name: Create Route53 record - name: Create Route53 record
run: | run: |
@@ -121,7 +121,7 @@ jobs:
# Deploy CloudSDK with OWLS in K8s # Deploy CloudSDK with OWLS in K8s
- name: Checkout wlan-cloud-ucentral-deploy repo - name: Checkout wlan-cloud-ucentral-deploy repo
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy path: wlan-cloud-ucentral-deploy
@@ -138,15 +138,15 @@ jobs:
- name: Set gateway URL output - name: Set gateway URL output
id: gateway id: gateway
run: echo "::set-output name=url::gw-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" run: echo "url=gw-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Set sec service URL output - name: Set sec service URL output
id: sec id: sec
run: echo "::set-output name=url::sec-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" run: echo "url=sec-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Set ls service URL output - name: Set ls service URL output
id: ls id: ls
run: echo "::set-output name=url::ls-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" run: echo "url=ls-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Prepare certificates from secrets - name: Prepare certificates from secrets
working-directory: wlan-cloud-ucentral-deploy/chart/environment-values working-directory: wlan-cloud-ucentral-deploy/chart/environment-values
@@ -187,7 +187,7 @@ jobs:
# Run tests # Run tests
- name: Checkout OWLS for CLI tool - name: Checkout OWLS for CLI tool
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-cloud-owls repository: Telecominfraproject/wlan-cloud-owls
path: wlan-cloud-owls path: wlan-cloud-owls
@@ -309,8 +309,8 @@ jobs:
run: | run: |
AMI=$(aws ec2 describe-images --filters '[{"Name":"description","Values":["Canonical, Ubuntu, 20.04 LTS, amd64*"]},{"Name":"owner-id","Values":["099720109477"]}]' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text) AMI=$(aws ec2 describe-images --filters '[{"Name":"description","Values":["Canonical, Ubuntu, 20.04 LTS, amd64*"]},{"Name":"owner-id","Values":["099720109477"]}]' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text)
INSTANCE_NAME=owgw-dc-psql-${{ github.run_number }} INSTANCE_NAME=owgw-dc-psql-${{ github.run_number }}
echo "::set-output name=ami::${AMI}" echo "ami=${AMI}" >> $GITHUB_OUTPUT
echo "::set-output name=instance_name::${INSTANCE_NAME}" echo "instance_name=${INSTANCE_NAME}" >> $GITHUB_OUTPUT
# Create EC2 infrastructure # Create EC2 infrastructure
- name: Create EC2 instance for CloudSDK - name: Create EC2 instance for CloudSDK
@@ -319,8 +319,8 @@ jobs:
aws ec2 run-instances --key-name $EC2_KEY_NAME --subnet-id $VPC_SUBNET_ID --security-group-ids $EC2_SECURITY_GROUP_ID --instance-type $EC2_INSTANCE_TYPE --image-id ${{ steps.ec2_facts.outputs.ami }} --tag-specifications "ResourceType=instance,Tags=[{Key=Name,Value=${{ steps.ec2_facts.outputs.instance_name }}},{Key=Owner,Value=gha-wlan-testing}]" --output text aws ec2 run-instances --key-name $EC2_KEY_NAME --subnet-id $VPC_SUBNET_ID --security-group-ids $EC2_SECURITY_GROUP_ID --instance-type $EC2_INSTANCE_TYPE --image-id ${{ steps.ec2_facts.outputs.ami }} --tag-specifications "ResourceType=instance,Tags=[{Key=Name,Value=${{ steps.ec2_facts.outputs.instance_name }}},{Key=Owner,Value=gha-wlan-testing}]" --output text
INSTANCE_PUBLIC_IP=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=${{ steps.ec2_facts.outputs.instance_name }}" --query 'Reservations[*].Instances[*].PublicIpAddress' --output text) INSTANCE_PUBLIC_IP=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=${{ steps.ec2_facts.outputs.instance_name }}" --query 'Reservations[*].Instances[*].PublicIpAddress' --output text)
INSTANCE_ID=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=${{ steps.ec2_facts.outputs.instance_name }}" --query 'Reservations[*].Instances[*].InstanceId' --output text) INSTANCE_ID=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=${{ steps.ec2_facts.outputs.instance_name }}" --query 'Reservations[*].Instances[*].InstanceId' --output text)
echo "::set-output name=instance_public_ip::${INSTANCE_PUBLIC_IP}" echo "instance_public_ip=${INSTANCE_PUBLIC_IP}" >> $GITHUB_OUTPUT
echo "::set-output name=instance_id::${INSTANCE_ID}" echo "instance_id=${INSTANCE_ID}" >> $GITHUB_OUTPUT
- name: Create Route53 record - name: Create Route53 record
run: | run: |
@@ -387,7 +387,7 @@ jobs:
# Deploy CloudSDK with OWLS in K8s # Deploy CloudSDK with OWLS in K8s
- name: Checkout wlan-cloud-ucentral-deploy repo - name: Checkout wlan-cloud-ucentral-deploy repo
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy path: wlan-cloud-ucentral-deploy
@@ -404,15 +404,15 @@ jobs:
- name: Set gateway URL output - name: Set gateway URL output
id: gateway id: gateway
run: echo "::set-output name=url::gw-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" run: echo "url=gw-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Set sec service URL output - name: Set sec service URL output
id: sec id: sec
run: echo "::set-output name=url::sec-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" run: echo "url=sec-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Set ls service URL output - name: Set ls service URL output
id: ls id: ls
run: echo "::set-output name=url::ls-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" run: echo "url=ls-${{ steps.ec2_facts.outputs.instance_name }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Prepare certificates from secrets - name: Prepare certificates from secrets
working-directory: wlan-cloud-ucentral-deploy/chart/environment-values working-directory: wlan-cloud-ucentral-deploy/chart/environment-values
@@ -453,7 +453,7 @@ jobs:
# Run tests # Run tests
- name: Checkout OWLS for CLI tool - name: Checkout OWLS for CLI tool
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-cloud-owls repository: Telecominfraproject/wlan-cloud-owls
path: wlan-cloud-owls path: wlan-cloud-owls
@@ -572,7 +572,7 @@ jobs:
- docker-compose-psql - docker-compose-psql
steps: steps:
- name: Checkout wlan-cloud-ucentral-deploy repo - name: Checkout wlan-cloud-ucentral-deploy repo
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy path: wlan-cloud-ucentral-deploy
@@ -593,19 +593,19 @@ jobs:
NAMESPACE="ls-sqlite-${{ github.run_number }}" NAMESPACE="ls-sqlite-${{ github.run_number }}"
kubectl create ns openwifi-$NAMESPACE kubectl create ns openwifi-$NAMESPACE
kubectl config set-context --current --namespace=openwifi-$NAMESPACE kubectl config set-context --current --namespace=openwifi-$NAMESPACE
echo "::set-output name=namespace::${NAMESPACE}" echo "namespace=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: Set gateway URL output - name: Set gateway URL output
id: gateway id: gateway
run: echo "::set-output name=url::gw-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" run: echo "url=gw-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Set sec service URL output - name: Set sec service URL output
id: sec id: sec
run: echo "::set-output name=url::sec-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" run: echo "url=sec-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Set ls service URL output - name: Set ls service URL output
id: ls id: ls
run: echo "::set-output name=url::ls-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" run: echo "url=ls-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Prepare certificates from secrets - name: Prepare certificates from secrets
working-directory: wlan-cloud-ucentral-deploy/chart/environment-values working-directory: wlan-cloud-ucentral-deploy/chart/environment-values
@@ -645,7 +645,7 @@ jobs:
./deploy.sh ./deploy.sh
- name: Checkout OWLS for CLI tool - name: Checkout OWLS for CLI tool
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-cloud-owls repository: Telecominfraproject/wlan-cloud-owls
path: wlan-cloud-owls path: wlan-cloud-owls
@@ -738,7 +738,7 @@ jobs:
- kubernetes-sqlite - kubernetes-sqlite
steps: steps:
- name: Checkout wlan-cloud-ucentral-deploy repo - name: Checkout wlan-cloud-ucentral-deploy repo
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy path: wlan-cloud-ucentral-deploy
@@ -759,19 +759,19 @@ jobs:
NAMESPACE="ls-psql-${{ github.run_number }}" NAMESPACE="ls-psql-${{ github.run_number }}"
kubectl create ns openwifi-$NAMESPACE kubectl create ns openwifi-$NAMESPACE
kubectl config set-context --current --namespace=openwifi-$NAMESPACE kubectl config set-context --current --namespace=openwifi-$NAMESPACE
echo "::set-output name=namespace::${NAMESPACE}" echo "namespace=${NAMESPACE}" >> $GITHUB_OUTPUT
- name: Set gateway URL output - name: Set gateway URL output
id: gateway id: gateway
run: echo "::set-output name=url::gw-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" run: echo "url=gw-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Set sec service URL output - name: Set sec service URL output
id: sec id: sec
run: echo "::set-output name=url::sec-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" run: echo "url=sec-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Set ls service URL output - name: Set ls service URL output
id: ls id: ls
run: echo "::set-output name=url::ls-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" run: echo "url=ls-${{ steps.namespace.outputs.namespace }}.cicd.lab.wlan.tip.build" >> $GITHUB_OUTPUT
- name: Prepare certificates from secrets - name: Prepare certificates from secrets
working-directory: wlan-cloud-ucentral-deploy/chart/environment-values working-directory: wlan-cloud-ucentral-deploy/chart/environment-values
@@ -811,7 +811,7 @@ jobs:
./deploy.sh ./deploy.sh
- name: Checkout OWLS for CLI tool - name: Checkout OWLS for CLI tool
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-cloud-owls repository: Telecominfraproject/wlan-cloud-owls
path: wlan-cloud-owls path: wlan-cloud-owls

View File

@@ -5,31 +5,31 @@ defaults:
shell: bash shell: bash
env: env:
AWS_EKS_NAME: tip-wlan-main # AWS_EKS_NAME: tip-wlan-main
AWS_DEFAULT_OUTPUT: json # AWS_DEFAULT_OUTPUT: json
AWS_DEFAULT_REGION: us-east-2 # AWS_DEFAULT_REGION: us-east-2
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }} # AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_CLIENT_ID }} # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_CLIENT_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_CLIENT_KEY }} # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_CLIENT_KEY }}
#
# DigiCert certs # # DigiCert certs
DIGICERT_CERT: ${{ secrets.DIGICERT_CERT }} # DIGICERT_CERT: ${{ secrets.DIGICERT_CERT }}
DIGICERT_KEY: ${{ secrets.DIGICERT_KEY }} # DIGICERT_KEY: ${{ secrets.DIGICERT_KEY }}
#
# https://stackoverflow.com/questions/59977364/github-actions-how-use-strategy-matrix-with-script # # https://stackoverflow.com/questions/59977364/github-actions-how-use-strategy-matrix-with-script
# Required object fiels per environment: # # Required object fiels per environment:
# - namespace - namespace suffix that will used added for the Kubernetes environment (i.e. if you pass 'test', kubernetes namespace will be named 'openwifi-test') # # - namespace - namespace suffix that will used added for the Kubernetes environment (i.e. if you pass 'test', kubernetes namespace will be named 'openwifi-test')
# - deploy_method - deployment method for the chart deployment (supported methods - 'git' (will use helm-git from assembly chart) and 'bundle' (will use chart stored in the Artifactory0 # # - deploy_method - deployment method for the chart deployment (supported methods - 'git' (will use helm-git from assembly chart) and 'bundle' (will use chart stored in the Artifactory0
# - chart_version - version of chart to be deployed from assembly chart (for 'git' method git ref may be passed, for 'bundle' method version of chart may be passed) # # - chart_version - version of chart to be deployed from assembly chart (for 'git' method git ref may be passed, for 'bundle' method version of chart may be passed)
# - owgw_version - OpenWIFI Gateway version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required) # # - owgw_version - OpenWIFI Gateway version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owsec_version - OpenWIFI Security version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required) # # - owsec_version - OpenWIFI Security version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owfms_version - OpenWIFI Firmware version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required) # # - owfms_version - OpenWIFI Firmware version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owprov_version - OpenWIFI Provisioning version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required) # # - owprov_version - OpenWIFI Provisioning version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owanalytics_version - OpenWIFI Analytics version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required) # # - owanalytics_version - OpenWIFI Analytics version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owsub_version - OpenWIFI Subscription (Userportal) version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required) # # - owsub_version - OpenWIFI Subscription (Userportal) version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owrrm_version - OpenWIFI radio resource management service version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required) # # - owrrm_version - OpenWIFI radio resource management service version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owgwui_version - OpenWIFI Web UI version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required) # # - owgwui_version - OpenWIFI Web UI version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owprovui_version - OpenWIFI Provisioning Web UI version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required) # # - owprovui_version - OpenWIFI Provisioning Web UI version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
testbeds: '[ testbeds: '[
{ {
"namespace": "dev01", "namespace": "dev01",
@@ -77,7 +77,7 @@ jobs:
- name: generate-matrix - name: generate-matrix
id: set-matrix id: set-matrix
run: | run: |
echo '::set-output name=matrix::{"include":${{ env.testbeds }}}' echo "matrix={\"include\":${{ env.testbeds }}}" >> $GITHUB_OUTPUT
deploy: deploy:
name: Update OpenWIFI Cloud SDK instances name: Update OpenWIFI Cloud SDK instances
@@ -91,7 +91,7 @@ jobs:
steps: steps:
- name: Checkout repo with Helm values - name: Checkout repo with Helm values
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy path: wlan-cloud-ucentral-deploy

View File

@@ -74,7 +74,7 @@ jobs:
- name: generate-matrix - name: generate-matrix
id: set-matrix id: set-matrix
run: | run: |
echo '::set-output name=matrix::{"include":${{ env.testbeds }}}' echo "matrix={\"include\":${{ env.testbeds }}}" >> $GITHUB_OUTPUT
deploy: deploy:
name: Update OpenWIFI Cloud SDK instances name: Update OpenWIFI Cloud SDK instances
@@ -86,7 +86,7 @@ jobs:
steps: steps:
- name: Checkout repo with Helm values - name: Checkout repo with Helm values
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-cloud-ucentral-deploy repository: Telecominfraproject/wlan-cloud-ucentral-deploy
path: wlan-cloud-ucentral-deploy path: wlan-cloud-ucentral-deploy

View File

@@ -13,12 +13,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: python:3.8 container: python:3.8
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
repository: Telecominfraproject/wlan-lanforge-scripts repository: Telecominfraproject/wlan-lanforge-scripts
path: lanforge/lanforge-scripts path: lanforge/lanforge-scripts
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
ref: badges ref: badges
path: badges path: badges
@@ -55,7 +55,7 @@ jobs:
git diff-index --quiet HEAD || git commit -m "Updating test count badges: $(date -u)" git diff-index --quiet HEAD || git commit -m "Updating test count badges: $(date -u)"
- name: push changes - name: push changes
uses: ad-m/github-push-action@v0.6.0 uses: ad-m/github-push-action@master
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
directory: badges directory: badges

View File

@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: python:3.8 container: python:3.8
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: generate overview page - name: generate overview page
run: | run: |