aboutsummaryrefslogtreecommitdiffstats
path: root/ci/gate.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/gate.yaml')
-rw-r--r--ci/gate.yaml116
1 files changed, 0 insertions, 116 deletions
diff --git a/ci/gate.yaml b/ci/gate.yaml
deleted file mode 100644
index fa872c90a..000000000
--- a/ci/gate.yaml
+++ /dev/null
@@ -1,116 +0,0 @@
----
-- functest-buildparameters: &functest-buildparameters
- name: 'functest-buildparameters'
- parameters:
- - string:
- name: branch
- default: '{branch}'
-
-- functest-projectparameters: &functest-projectparameters
- name: 'functest-projectparameters'
- current-parameters: true
-
-- scm:
- name: functest-gerrit
- scm:
- - git:
- url: https://gerrit.opnfv.org/gerrit/functest
- refspec: '+refs/changes/*:refs/changes/*'
- branches:
- - ${branch}
-
-- job-template:
- name: '{repo}-functest-{container}-{tag}-build'
- <<: *functest-buildparameters
- scm:
- - functest-gerrit
- builders:
- - shell: |
- case "{container}" in
- "components")
- args="" ;;
- *)
- args="--build-arg BRANCH=${{branch}}" ;;
- esac
- cd docker/$(echo {container} |cut -d\- -f 2)
- sudo docker build \
- ${{args}} --pull=false --no-cache --force-rm=true \
- -t {repo}/functest-{container}:{tag} .
-
-- project:
- name: repo-functest-container-tag-build
- container:
- - core
- - tempest
- - healthcheck
- - smoke
- - benchmarking
- - components
- - vnf
- - features
- jobs:
- - '{repo}-functest-{container}-{tag}-build'
-
-- job-template:
- name: '{repo}-functest-{tag}-build'
- project-type: multijob
- <<: *functest-buildparameters
- builders:
- - multijob:
- name: build functest-core
- projects:
- - name: '{repo}-functest-core-{tag}-build'
- <<: *functest-projectparameters
- - multijob:
- name: build functest-tempest
- projects:
- - name: '{repo}-functest-tempest-{tag}-build'
- <<: *functest-projectparameters
- - multijob:
- name: build all remaining contrainers
- projects:
- - name: '{repo}-functest-healthcheck-{tag}-build'
- <<: *functest-projectparameters
- - name: '{repo}-functest-smoke-{tag}-build'
- <<: *functest-projectparameters
- - name: '{repo}-functest-benchmarking-{tag}-build'
- <<: *functest-projectparameters
- - name: '{repo}-functest-components-{tag}-build'
- <<: *functest-projectparameters
- - name: '{repo}-functest-vnf-{tag}-build'
- <<: *functest-projectparameters
- - name: '{repo}-functest-features-{tag}-build'
- <<: *functest-projectparameters
-
-- project:
- name: repo-functest-tag-build
- jobs:
- - '{repo}-functest-{tag}-build'
-
-- job-template:
- name: '{repo}-functest-{tag}-gate'
- project-type: multijob
- <<: *functest-buildparameters
- builders:
- - multijob:
- name: build containers
- projects:
- - name: '{repo}-functest-{tag}-build'
- <<: *functest-projectparameters
- - multijob:
- name: basics tests
- projects:
- - name: '{repo}-functest-healthcheck-{tag}-run'
- - multijob:
- name: advanced tests
- projects:
- - name: '{repo}-functest-smoke-{tag}-run'
- - name: '{repo}-functest-benchmarking-{tag}-run'
- - name: '{repo}-functest-components-{tag}-run'
- - name: '{repo}-functest-vnf-{tag}-run'
- - name: '{repo}-functest-features-{tag}-run'
-
-- project:
- name: repo-functest-tag-gate
- jobs:
- - '{repo}-functest-{tag}-gate'