Skip to content

Commit

Permalink
Migrate old ondemand e2e tests pipeline part 1 (#3211)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriisoldatenko authored May 31, 2024
1 parent 4cb7410 commit 767ffbb
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/e2e-tests-ondemand.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: E2E tests ondemand

on:
workflow_dispatch:
inputs:
target:
description: 'Target branch to run E2E tests over'
required: true
# TODO: @andriisoldatenko revisit it
default: 'release-1.1'

permissions:
checks: write

jobs:
run-in-k8s-1-21:
name: Run in Kubernetes 1.21
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-k8s-1-21
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 }}

0 comments on commit 767ffbb

Please sign in to comment.