Skip to content

Commit

Permalink
Merge pull request #465 from mjura/e2e-workflow
Browse files Browse the repository at this point in the history
Final e2e workflow update
  • Loading branch information
mjura authored Apr 16, 2024
2 parents 0b79ad8 + a03d1fd commit c0f0bfa
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 134 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: E2E test main
name: E2E test branch
on:
workflow_call:
secrets:
Expand All @@ -17,11 +17,15 @@ on:
SLACK_WEBHOOK_URL:
description: "WebHook URL to use for Slack"
required: true
inputs:
branch:
type: string
default: "release-v2.9"

jobs:
e2e-tests:
env:
BRANCH: main
BRANCH: ${{ inputs.branch }}
REPO: ttl.sh/aks-operator-ci
runs-on: ubuntu-latest
steps:
Expand Down
121 changes: 0 additions & 121 deletions .github/workflows/e2e-release.yaml

This file was deleted.

34 changes: 23 additions & 11 deletions .github/workflows/e2e-workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,44 +1,56 @@
name: e2e-latest-rancher
name: Run E2E test workflow
on:
workflow_dispatch:
schedule:
- cron: 0 22 * * *
permissions: read-all
jobs:
e2e-test-main:
uses: ./.github/workflows/e2e-main.yaml
uses: ./.github/workflows/e2e-branch.yaml
with:
branch: main
secrets:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
e2e-test-v2.9:
uses: ./.github/workflows/e2e-release.yaml
e2e-test-v2_9:
if: ${{ always() }}
needs: e2e-test-main
uses: ./.github/workflows/e2e-branch.yaml
with:
branch: release-v2.9
secrets:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
branch: release-v2.9
e2e-test-v2.8:
uses: ./.github/workflows/e2e-release.yaml
e2e-test-v2_8:
if: ${{ always() }}
needs: [ e2e-test-main, e2e-test-v2_9 ]
uses: ./.github/workflows/e2e-branch.yaml
with:
branch: release-v2.8
secrets:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
branch: release-v2.8
e2e-test-v2.7:
uses: ./.github/workflows/e2e-release.yaml
e2e-test-v2_7:
if: ${{ always() }}
needs: [ e2e-test-main, e2e-test-v2_9, e2e-test-v2_8 ]
uses: ./.github/workflows/e2e-branch.yaml
with:
branch: release-v2.7
secrets:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
branch: release-v2.7



0 comments on commit c0f0bfa

Please sign in to comment.