Skip to content

Test

Test #690

Workflow file for this run

name: Test
on:
push:
branches:
- master
- develop
- beta
- alpha
- '[0-9]+.x'
- '[0-9]+.[0-9]+.x'
pull_request:
# For systems with an upstream API that could drift unexpectedly (like most SaaS systems, etc.),
# we recommend testing at a regular interval not necessarily tied to code changes. This will
# ensure you are alerted to something breaking due to an API change, even if the code did not
# change.
schedule:
- cron: '0 13 * * 1-5' # UTC
workflow_dispatch:
jobs:
zpa-qa-tenant01:
uses: ./.github/workflows/reuse-zpa-tests.yml
with:
environment: ZPA_QA_TENANT01
secrets:
ZPA_CLIENT_ID: ${{ secrets.ZPA_CLIENT_ID }}
ZPA_CLIENT_SECRET: ${{ secrets.ZPA_CLIENT_SECRET }}
ZPA_CUSTOMER_ID: ${{ secrets.ZPA_CUSTOMER_ID }}
ZPA_CLOUD: ${{ secrets.ZPA_CLOUD }}
ZSCALER_SDK_TEST_SWEEP: ${{ secrets.ZSCALER_SDK_TEST_SWEEP }}
zpa-qa-tenant02:
uses: ./.github/workflows/reuse-zpa-tests.yml
with:
environment: ZPA_QA_TENANT02
secrets:
ZPA_CLIENT_ID: ${{ secrets.ZPA_CLIENT_ID }}
ZPA_CLIENT_SECRET: ${{ secrets.ZPA_CLIENT_SECRET }}
ZPA_CUSTOMER_ID: ${{ secrets.ZPA_CUSTOMER_ID }}
ZPA_CLOUD: ${{ secrets.ZPA_CLOUD }}
ZSCALER_SDK_TEST_SWEEP: ${{ secrets.ZSCALER_SDK_TEST_SWEEP }}
# zpa-qa2-tenant01:
# uses: ./.github/workflows/reuse-zpa-tests.yml
# with:
# environment: ZPA_QA2_TENANT01
# secrets:
# ZPA_CLIENT_ID: ${{ secrets.ZPA_CLIENT_ID }}
# ZPA_CLIENT_SECRET: ${{ secrets.ZPA_CLIENT_SECRET }}
# ZPA_CUSTOMER_ID: ${{ secrets.ZPA_CUSTOMER_ID }}
# ZPA_CLOUD: ${{ secrets.ZPA_CLOUD }}
# ZSCALER_SDK_TEST_SWEEP: ${{ secrets.ZSCALER_SDK_TEST_SWEEP }}
# zpa-qa2-tenant02:
# uses: ./.github/workflows/reuse-zpa-tests.yml
# with:
# environment: ZPA_QA2_TENANT02
# secrets:
# ZPA_CLIENT_ID: ${{ secrets.ZPA_CLIENT_ID }}
# ZPA_CLIENT_SECRET: ${{ secrets.ZPA_CLIENT_SECRET }}
# ZPA_CUSTOMER_ID: ${{ secrets.ZPA_CUSTOMER_ID }}
# ZPA_CLOUD: ${{ secrets.ZPA_CLOUD }}
zpa-beta-tenant01:
uses: ./.github/workflows/reuse-zpa-tests.yml
with:
environment: ZPA_BETA_TENANT01
secrets:
ZPA_CLIENT_ID: ${{ secrets.ZPA_CLIENT_ID }}
ZPA_CLIENT_SECRET: ${{ secrets.ZPA_CLIENT_SECRET }}
ZPA_CUSTOMER_ID: ${{ secrets.ZPA_CUSTOMER_ID }}
ZPA_CLOUD: ${{ secrets.ZPA_CLOUD }}
ZSCALER_SDK_TEST_SWEEP: ${{ secrets.ZSCALER_SDK_TEST_SWEEP }}
needs:
- zpa-qa-tenant01
- zpa-qa-tenant02
zpa-prod-tenant01:
uses: ./.github/workflows/reuse-zpa-tests.yml
with:
environment: ZPA_PROD_TENANT01
secrets:
ZPA_CLIENT_ID: ${{ secrets.ZPA_CLIENT_ID }}
ZPA_CLIENT_SECRET: ${{ secrets.ZPA_CLIENT_SECRET }}
ZPA_CUSTOMER_ID: ${{ secrets.ZPA_CUSTOMER_ID }}
ZPA_CLOUD: ${{ secrets.ZPA_CLOUD }}
ZSCALER_SDK_TEST_SWEEP: ${{ secrets.ZSCALER_SDK_TEST_SWEEP }}
needs:
- zpa-qa-tenant01
- zpa-qa-tenant02
- zpa-beta-tenant01
zia-zsbeta-tests:
uses: ./.github/workflows/reuse-zia-tests.yml
with:
environment: ZIA_ZSCALER_BETA
secrets:
ZIA_USERNAME: ${{ secrets.ZIA_USERNAME }}
ZIA_PASSWORD: ${{ secrets.ZIA_PASSWORD }}
ZIA_API_KEY: ${{ secrets.ZIA_API_KEY }}
ZIA_CLOUD: ${{ secrets.ZIA_CLOUD }}
ZIA_SANDBOX_TOKEN: ${{ secrets.ZIA_SANDBOX_TOKEN }}
ZPA_CLIENT_ID: ${{ secrets.ZPA_CLIENT_ID }}
ZPA_CLIENT_SECRET: ${{ secrets.ZPA_CLIENT_SECRET }}
ZPA_CUSTOMER_ID: ${{ secrets.ZPA_CUSTOMER_ID }}
ZPA_CLOUD: ${{ secrets.ZPA_CLOUD }}
ZSCALER_SDK_TEST_SWEEP: ${{ secrets.ZSCALER_SDK_TEST_SWEEP }}
zia-zs2-tests:
uses: ./.github/workflows/reuse-zia-tests.yml
with:
environment: ZIA_ZSCALER_TWO
secrets:
ZIA_USERNAME: ${{ secrets.ZIA_USERNAME }}
ZIA_PASSWORD: ${{ secrets.ZIA_PASSWORD }}
ZIA_API_KEY: ${{ secrets.ZIA_API_KEY }}
ZIA_CLOUD: ${{ secrets.ZIA_CLOUD }}
ZIA_SANDBOX_TOKEN: ${{ secrets.ZIA_SANDBOX_TOKEN }}
ZPA_CLIENT_ID: ${{ secrets.ZPA_CLIENT_ID }}
ZPA_CLIENT_SECRET: ${{ secrets.ZPA_CLIENT_SECRET }}
ZPA_CUSTOMER_ID: ${{ secrets.ZPA_CUSTOMER_ID }}
ZPA_CLOUD: ${{ secrets.ZPA_CLOUD }}
ZSCALER_SDK_TEST_SWEEP: ${{ secrets.ZSCALER_SDK_TEST_SWEEP }}
needs:
- zia-zsbeta-tests
zia-zs3-tests:
uses: ./.github/workflows/reuse-zia-tests.yml
with:
environment: ZIA_ZSCALER_THREE
secrets:
ZIA_USERNAME: ${{ secrets.ZIA_USERNAME }}
ZIA_PASSWORD: ${{ secrets.ZIA_PASSWORD }}
ZIA_API_KEY: ${{ secrets.ZIA_API_KEY }}
ZIA_CLOUD: ${{ secrets.ZIA_CLOUD }}
ZIA_SANDBOX_TOKEN: ${{ secrets.ZIA_SANDBOX_TOKEN }}
ZPA_CLIENT_ID: ${{ secrets.ZPA_CLIENT_ID }}
ZPA_CLIENT_SECRET: ${{ secrets.ZPA_CLIENT_SECRET }}
ZPA_CUSTOMER_ID: ${{ secrets.ZPA_CUSTOMER_ID }}
ZPA_CLOUD: ${{ secrets.ZPA_CLOUD }}
ZSCALER_SDK_TEST_SWEEP: ${{ secrets.ZSCALER_SDK_TEST_SWEEP }}
needs:
- zia-zsbeta-tests
zcon-beta-tests:
uses: ./.github/workflows/reuse-zcon-tests.yml
with:
environment: ZCON_ZSCALER_BETA
secrets:
ZCON_USERNAME: ${{ secrets.ZCON_USERNAME }}
ZCON_PASSWORD: ${{ secrets.ZCON_PASSWORD }}
ZCON_API_KEY: ${{ secrets.ZCON_API_KEY }}
ZCON_CLOUD: ${{ secrets.ZCON_CLOUD }}
ZSCALER_SDK_TEST_SWEEP: ${{ secrets.ZSCALER_SDK_TEST_SWEEP }}
zcon-zs3-tests:
uses: ./.github/workflows/reuse-zcon-tests.yml
with:
environment: ZCON_ZSCALER_THREE
secrets:
ZCON_USERNAME: ${{ secrets.ZCON_USERNAME }}
ZCON_PASSWORD: ${{ secrets.ZCON_PASSWORD }}
ZCON_API_KEY: ${{ secrets.ZCON_API_KEY }}
ZCON_CLOUD: ${{ secrets.ZCON_CLOUD }}
ZSCALER_SDK_TEST_SWEEP: ${{ secrets.ZSCALER_SDK_TEST_SWEEP }}
zdx-zs2:
uses: ./.github/workflows/reuse-zdx-tests.yml
with:
environment: ZDX_ZS2
secrets:
ZDX_API_KEY_ID: ${{ secrets.ZDX_API_KEY_ID }}
ZDX_API_SECRET: ${{ secrets.ZDX_API_SECRET }}
zdx-zs3:
uses: ./.github/workflows/reuse-zdx-tests.yml
with:
environment: ZDX_ZS3
secrets:
ZDX_API_KEY_ID: ${{ secrets.ZDX_API_KEY_ID }}
ZDX_API_SECRET: ${{ secrets.ZDX_API_SECRET }}