ci-dockerfiles-deployment: Remove to recreate as a different job type
This job is currently a matrix job with a single configuration, which makes
its usage and maintenance a bit confusing. We can't just change the type of
existing job from matrix to normal ("freestyle") in Jenkins, so will remove
and then immediately recreate as such.
This is similar to the ci-dockerfiles-sanity-check change done previously.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I102e92ba90aadab36b9ca57dadce2291464c2158
diff --git a/ci-dockerfiles-deployment.yaml b/ci-dockerfiles-deployment.yaml
deleted file mode 100644
index bdffb40..0000000
--- a/ci-dockerfiles-deployment.yaml
+++ /dev/null
@@ -1,75 +0,0 @@
-- job:
- name: ci-dockerfiles-deployment
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- authenticated:
- - job-read
- - job-extended-read
- - job-discover
- - build-discarder:
- days-to-keep: 90
- num-to-keep: 200
- - build-blocker:
- use-build-blocker: true
- blocking-jobs:
- - "ci-docker*"
- block-level: 'NODE'
- disabled: false
- node: build-amd64
- concurrent: false
- display-name: 'CI Dockerfiles build/publish deployment'
- scm:
- - git:
- url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
- refspec: ${GERRIT_REFSPEC}
- branches:
- - ${GERRIT_BRANCH}
- skip-tag: true
- clean:
- before: true
- choosing-strategy: gerrit
- basedir: dockerfiles
- triggers:
- - gerrit:
- server-name: 'review.trustedfirmware.org'
- trigger-on:
- - change-merged-event
- projects:
- - project-compare-type: 'PLAIN'
- project-pattern: 'ci/dockerfiles'
- branches:
- - branch-compare-type: 'PLAIN'
- branch-pattern: 'master'
- silent-start: true
- axes:
- - axis:
- type: slave
- name: label
- values:
- - build-amd64
- execution-strategy:
- sequential: false
- wrappers:
- - timestamps
- - credentials-binding:
- - text:
- credential-id: DOCKER_AUTH
- variable: DOCKER_AUTH
- builders:
- - shell: |
- #!/bin/bash -e
- echo "#${BUILD_NUMBER}-${GERRIT_PATCHSET_REVISION:0:8}" > ${WORKSPACE}/version.txt
- - build-name-setter:
- name: 'version.txt'
- file: true
- - shell:
- !include-raw: ci-dockerfiles-deployment/builders.sh
- - shell:
- !include-raw: ci-dockerfiles-deployment/publish.sh
- publishers:
- - trigger:
- project: 'ci-dockerslaves-cleanup'
- - email:
- recipients: 'linaro-infrastructure-errors@lists.linaro.org paul.sokolovsky@linaro.org'