Skip to content

Commit

Permalink
ci/e2e: don't run test on latest RM on every push
Browse files Browse the repository at this point in the history
This worflow is scheduled *after* build-ci to be sure that we have the
lastest version built. The scheduling is also to avoid running the
worklow on each push on main.

Signed-off-by: Loic Devulder <ldevulder@suse.com>
  • Loading branch information
ldevulder committed Jan 24, 2023
1 parent 137eae7 commit a4cb606
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/e2e-k3s-latest.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# This workflow calls the master E2E workflow with custom variables
name: K3s-E2E-Latest_RM

# This worflow is scheduled *after* build-ci to be sure that we have
# the lastest version built. The scheduling is also to avoid running
# the worklow on each push on main.
on:
workflow_run:
workflows:
- build-ci
branches:
- main
types:
- completed
schedule:
- cron: '0 1 * * *'

jobs:
k3s:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/e2e-rke2-latest.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# This workflow calls the master E2E workflow with custom variables
name: RKE2-E2E-Latest_RM

# This worflow is scheduled *after* build-ci to be sure that we have
# the lastest version built. The scheduling is also to avoid running
# the worklow on each push on main.
on:
workflow_run:
workflows:
- build-ci
branches:
- main
types:
- completed
schedule:
- cron: '0 1 * * *'

jobs:
rke2:
Expand Down

0 comments on commit a4cb606

Please sign in to comment.