Remove former ci jobs 87/66387/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 14 Jan 2019 17:57:56 +0000 (18:57 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 14 Jan 2019 17:58:48 +0000 (18:58 +0100)
They can now be generated via the new ansible role.

Change-Id: I4c8fdf209fd4f9fd8b10342a86453ff5e1cb5b09
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 05807a01d3aeb8716bc277e8e6802bad7e5bb3fd)

ansible/site.yml
ci/daily.yaml [deleted file]
ci/gate.yaml [deleted file]
ci/globals.yaml [deleted file]
ci/run.yaml [deleted file]

index 262791c..ea074ae 100644 (file)
@@ -1,5 +1,5 @@
 ---
-- hosts: 127.0.0.1
+- hosts: opnfv
   roles:
     - role: collivier.xtesting
       docker_tags:
diff --git a/ci/daily.yaml b/ci/daily.yaml
deleted file mode 100644 (file)
index 3bf90e4..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
----
-- job-template:
-    name: '{repo}-xtesting-{tag}-pull'
-    builders:
-      - shell: docker pull {repo}/xtesting:{tag}
-
-- project:
-    name: '{repo}-xtesting-{tag}-pull'
-    jobs:
-      - '{repo}-xtesting-{tag}-pull'
-
-- job-template:
-    name: '{repo}-xtesting-{tag}-daily'
-    project-type: multijob
-    builders:
-      - multijob:
-          name: pull container
-          projects:
-            - name: '{repo}-xtesting-{tag}-pull'
-      - multijob:
-          name: samples
-          projects:
-            - name: '{repo}-xtesting-first-{tag}-run'
-            - name: '{repo}-xtesting-second-{tag}-run'
-            - name: '{repo}-xtesting-third-{tag}-run'
-            - name: '{repo}-xtesting-fourth-{tag}-run'
-            - name: '{repo}-xtesting-fifth-{tag}-run'
-
-- project:
-    name: '{repo}-xtesting-{tag}-daily'
-    jobs:
-      - '{repo}-xtesting-{tag}-daily'
diff --git a/ci/gate.yaml b/ci/gate.yaml
deleted file mode 100644 (file)
index 32818ef..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
----
-- xtesting-buildparameters: &xtesting-buildparameters
-    name: 'xtesting-buildparameters'
-    parameters:
-      - string:
-          name: branch
-          default: '{branch}'
-
-- xtesting-projectparameters: &xtesting-projectparameters
-    name: 'xtesting-projectparameters'
-    current-parameters: true
-
-- scm:
-    name: xtesting-gerrit
-    scm:
-      - git:
-          url: https://gerrit.opnfv.org/gerrit/functest-xtesting
-          refspec: '+refs/changes/*:refs/changes/*'
-          branches:
-            - ${branch}
-
-- job-template:
-    name: '{repo}-xtesting-{tag}-build'
-    <<: *xtesting-buildparameters
-    scm:
-      - xtesting-gerrit
-    builders:
-      - shell: |
-          cd docker
-          docker build \
-            --pull=false --no-cache --force-rm=true \
-            --build-arg BRANCH=${{branch}} \
-            -t {repo}/xtesting:{tag} .
-
-- project:
-    name: '{repo}-xtesting-{tag}-build'
-    jobs:
-      - '{repo}-xtesting-{tag}-build'
-
-- job-template:
-    name: '{repo}-xtesting-{tag}-gate'
-    project-type: multijob
-    <<: *xtesting-buildparameters
-    builders:
-      - multijob:
-          name: build container
-          projects:
-            - name: '{repo}-xtesting-{tag}-build'
-              <<: *xtesting-projectparameters
-      - multijob:
-          name: samples
-          projects:
-            - name: '{repo}-xtesting-first-{tag}-run'
-            - name: '{repo}-xtesting-second-{tag}-run'
-            - name: '{repo}-xtesting-third-{tag}-run'
-            - name: '{repo}-xtesting-fourth-{tag}-run'
-            - name: '{repo}-xtesting-fifth-{tag}-run'
-
-- project:
-    name: '{repo}-xtesting-{tag}-gate'
-    jobs:
-      - '{repo}-xtesting-{tag}-gate'
diff --git a/ci/globals.yaml b/ci/globals.yaml
deleted file mode 100644 (file)
index b73d57b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
----
-- defaults:
-    name: global
-    repo: 'opnfv'
-    branch: 'stable/hunter'
-    tag: 'hunter'
-
-- defaults:
-    name: xtesting-defaults
-    prefix: '/home/opnfv/xtesting'
diff --git a/ci/run.yaml b/ci/run.yaml
deleted file mode 100644 (file)
index 8b8732b..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
----
-- job-template:
-    name: '{repo}-xtesting-{test}-{tag}-run'
-    defaults: 'xtesting-defaults'
-    builders:
-      - shell: |
-          docker run \
-            -v {prefix}/results/$JOB_NAME-$BUILD_ID:/var/lib/xtesting/results \
-            {repo}/xtesting:{tag} run_tests -t {test}
-
-- project:
-    name: '{repo}-xtesting-{test}-{tag}-run'
-    test:
-      - first
-      - second
-      - third
-      - fourth
-      - fifth
-    jobs:
-      - '{repo}-xtesting-{test}-{tag}-run'