Skip to content

Commit

Permalink
Reorganize jobs per caasp version
Browse files Browse the repository at this point in the history
Reorganize jobs adding the version as a parameter
to give room for future v5 jobs.

Signed-off-by: Pablo Chacin <pchacin@suse.com>
  • Loading branch information
Pablo Chacin authored and mmnelemane committed Jul 3, 2020
1 parent 718c753 commit 653c8a0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
20 changes: 12 additions & 8 deletions ci/jenkins/jobs.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- project:
name: caasp-jobs/v4/pr
name: caasp-jobs/pr
repo-name: skuba
repo-owner: SUSE
repo-credentials: github-token
Expand All @@ -14,23 +14,27 @@
- '{name}/jjb-validation'

- project:
name: caasp-jobs/v4/conformance
name: caasp-jobs/conformance
repo-name: skuba
repo-owner: SUSE
repo-credentials: github-token
platform:
- openstack
- vmware
- openstack
- vmware
version:
- v4
jobs:
- '{name}/{platform}-conformance'
- '{name}/{version}/{platform}/conformance'

- project:
name: caasp-jobs/v4/e2e
name: caasp-jobs/e2e
repo-name: skuba
repo-owner: SUSE
repo-credentials: github-token
platform:
- vmware
version:
- v4
test:
- test_addon_upgrade
- test_cilium
Expand All @@ -50,8 +54,8 @@
- test_upgrade_plan_from_previous_with_upgraded_control_plane:
kubernetes_version: 1.17.4
jobs:
- '{name}/{platform}/{test}-daily'
- '{name}/{platform}/update-daily'
- '{name}/{version}/{platform}/{test}-daily'
- '{name}/{version}/{platform}/update-daily'

- job:
name: caasp-jobs/caasp-jjb-skuba
Expand Down
2 changes: 1 addition & 1 deletion ci/jenkins/templates/conformance-template.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- job-template:
name: '{name}/{platform}-conformance'
name: '{name}/{version}/{platform}/conformance'
project-type: pipeline
number-to-keep: 30
days-to-keep: 30
Expand Down
2 changes: 1 addition & 1 deletion ci/jenkins/templates/e2e-daily-template.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- job-template:
name: '{name}/{platform}/{test}-daily'
name: '{name}/{version}/{platform}/{test}-daily'
project-type: pipeline
number-to-keep: 30
days-to-keep: 30
Expand Down
2 changes: 1 addition & 1 deletion ci/jenkins/templates/e2e-update-daily-template.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- job-template:
name: '{name}/{platform}/update-daily'
name: '{name}/{version}/{platform}/update-daily'
project-type: pipeline
number-to-keep: 30
days-to-keep: 30
Expand Down

0 comments on commit 653c8a0

Please sign in to comment.