E2E tests ondemand #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E tests ondemand | |
on: | |
workflow_dispatch: | |
inputs: | |
target: | |
description: 'Target branch to run E2E tests over' | |
required: true | |
default: 'release-1.1' | |
permissions: | |
checks: write | |
# based on: | |
# https://docs.dynatrace.com/docs/setup-and-configuration/technology-support/support-model-for-kubernetes | |
# https://kubernetes.io/releases/ | |
jobs: | |
# TODO: End of support: Aug 1, 2024, remove after this date | |
run-in-k8s-1-24: | |
name: Run in Kubernetes 1.24 | |
environment: E2E | |
runs-on: | |
- self-hosted | |
- operator-e2e | |
steps: | |
- name: Checkout | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Run e2e test | |
uses: ./.github/actions/run-e2e | |
with: | |
flc-namespace: dto-k8s-ondemand | |
flc-environment: dto-k8s-1-24 | |
target-branch: ${{ github.event.inputs.target }} | |
tenant1-name: ${{ secrets.TENANT1_NAME }} | |
tenant1-apitoken: ${{ secrets.TENANT1_APITOKEN }} | |
tenant1-oteltoken: ${{ secrets.TENANT1_OTELTOKEN }} | |
tenant1-oauth-client-id: ${{ secrets.TENANT1_OAUTH_CLIENT_ID }} | |
tenant1-oauth-secret: ${{ secrets.TENANT1_OAUTH_SECRET }} | |
tenant2-name: ${{ secrets.TENANT2_NAME }} | |
tenant2-apitoken: ${{ secrets.TENANT2_APITOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
# run-in-k8s-1-25: | |
# name: Run in Kubernetes 1.25 | |
# environment: E2E | |
# runs-on: | |
# - self-hosted | |
# - operator-e2e | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
# - name: Run e2e test | |
# uses: ./.github/actions/run-e2e | |
# with: | |
# flc-namespace: dto-k8s-ondemand | |
# flc-environment: dto-k8s-1-25 | |
# target-branch: ${{ github.event.inputs.target }} | |
# tenant1-name: ${{ secrets.TENANT1_NAME }} | |
# tenant1-apitoken: ${{ secrets.TENANT1_APITOKEN }} | |
# tenant1-oteltoken: ${{ secrets.TENANT1_OTELTOKEN }} | |
# tenant1-oauth-client-id: ${{ secrets.TENANT1_OAUTH_CLIENT_ID }} | |
# tenant1-oauth-secret: ${{ secrets.TENANT1_OAUTH_SECRET }} | |
# tenant2-name: ${{ secrets.TENANT2_NAME }} | |
# tenant2-apitoken: ${{ secrets.TENANT2_APITOKEN }} | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# | |
# run-in-k8s-1-26: | |
# name: Run in Kubernetes 1.26 | |
# environment: E2E | |
# runs-on: | |
# - self-hosted | |
# - operator-e2e | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
# - name: Run e2e test | |
# uses: ./.github/actions/run-e2e | |
# with: | |
# flc-namespace: dto-k8s-ondemand | |
# flc-environment: dto-k8s-1-26 | |
# target-branch: ${{ github.event.inputs.target }} | |
# tenant1-name: ${{ secrets.TENANT1_NAME }} | |
# tenant1-apitoken: ${{ secrets.TENANT1_APITOKEN }} | |
# tenant1-oteltoken: ${{ secrets.TENANT1_OTELTOKEN }} | |
# tenant1-oauth-client-id: ${{ secrets.TENANT1_OAUTH_CLIENT_ID }} | |
# tenant1-oauth-secret: ${{ secrets.TENANT1_OAUTH_SECRET }} | |
# tenant2-name: ${{ secrets.TENANT2_NAME }} | |
# tenant2-apitoken: ${{ secrets.TENANT2_APITOKEN }} | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# | |
# run-in-k8s-1-27: | |
# name: Run in Kubernetes 1.27 | |
# environment: E2E | |
# runs-on: | |
# - self-hosted | |
# - operator-e2e | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
# - name: Run e2e test | |
# uses: ./.github/actions/run-e2e | |
# with: | |
# flc-namespace: dto-k8s-ondemand | |
# flc-environment: dto-k8s-1-27 | |
# target-branch: ${{ github.event.inputs.target }} | |
# tenant1-name: ${{ secrets.TENANT1_NAME }} | |
# tenant1-apitoken: ${{ secrets.TENANT1_APITOKEN }} | |
# tenant1-oteltoken: ${{ secrets.TENANT1_OTELTOKEN }} | |
# tenant1-oauth-client-id: ${{ secrets.TENANT1_OAUTH_CLIENT_ID }} | |
# tenant1-oauth-secret: ${{ secrets.TENANT1_OAUTH_SECRET }} | |
# tenant2-name: ${{ secrets.TENANT2_NAME }} | |
# tenant2-apitoken: ${{ secrets.TENANT2_APITOKEN }} | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# | |
# run-in-k8s-1-28: | |
# name: Run in Kubernetes 1.28 | |
# environment: E2E | |
# runs-on: | |
# - self-hosted | |
# - operator-e2e | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
# - name: Run e2e test | |
# uses: ./.github/actions/run-e2e | |
# with: | |
# flc-namespace: dto-k8s-ondemand | |
# flc-environment: dto-k8s-1-28 | |
# target-branch: ${{ github.event.inputs.target }} | |
# tenant1-name: ${{ secrets.TENANT1_NAME }} | |
# tenant1-apitoken: ${{ secrets.TENANT1_APITOKEN }} | |
# tenant1-oteltoken: ${{ secrets.TENANT1_OTELTOKEN }} | |
# tenant1-oauth-client-id: ${{ secrets.TENANT1_OAUTH_CLIENT_ID }} | |
# tenant1-oauth-secret: ${{ secrets.TENANT1_OAUTH_SECRET }} | |
# tenant2-name: ${{ secrets.TENANT2_NAME }} | |
# tenant2-apitoken: ${{ secrets.TENANT2_APITOKEN }} | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# | |
# run-in-k8s-1-29: | |
# name: Run in Kubernetes 1.29 | |
# environment: E2E | |
# runs-on: | |
# - self-hosted | |
# - operator-e2e | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
# - name: Run e2e test | |
# uses: ./.github/actions/run-e2e | |
# with: | |
# flc-namespace: dto-k8s-ondemand | |
# flc-environment: dto-k8s-1-29 | |
# target-branch: ${{ github.event.inputs.target }} | |
# tenant1-name: ${{ secrets.TENANT1_NAME }} | |
# tenant1-apitoken: ${{ secrets.TENANT1_APITOKEN }} | |
# tenant1-oteltoken: ${{ secrets.TENANT1_OTELTOKEN }} | |
# tenant1-oauth-client-id: ${{ secrets.TENANT1_OAUTH_CLIENT_ID }} | |
# tenant1-oauth-secret: ${{ secrets.TENANT1_OAUTH_SECRET }} | |
# tenant2-name: ${{ secrets.TENANT2_NAME }} | |
# tenant2-apitoken: ${{ secrets.TENANT2_APITOKEN }} | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# | |
run-in-ocp: | |
name: Run in OpenShift | |
environment: E2E | |
runs-on: | |
- self-hosted | |
- operator-e2e | |
steps: | |
- name: Checkout | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Run e2e test | |
uses: ./.github/actions/run-e2e | |
with: | |
flc-namespace: dto-ocp-ondemand | |
flc-environment: dto-ocp-4-10 | |
target-branch: ${{ github.event.inputs.target }} | |
tenant1-name: ${{ secrets.TENANT1_NAME }} | |
tenant1-apitoken: ${{ secrets.TENANT1_APITOKEN }} | |
tenant1-oteltoken: ${{ secrets.TENANT1_OTELTOKEN }} | |
tenant1-oauth-client-id: ${{ secrets.TENANT1_OAUTH_CLIENT_ID }} | |
tenant1-oauth-secret: ${{ secrets.TENANT1_OAUTH_SECRET }} | |
tenant2-name: ${{ secrets.TENANT2_NAME }} | |
tenant2-apitoken: ${{ secrets.TENANT2_APITOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} |