summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-docker.yaml
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2019-09-06 13:09:04 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2019-09-06 13:10:07 -0700
commit764bb8283a5cbf93ca9cbb8e2dd9760e783f9a78 (patch)
tree861ca048a4d645ecc704d1f3a5218de987088cb7 /jjb/global-templates-docker.yaml
parent8365699b7592be2dde8b1d03e9db0e8d638c1f1c (diff)
Revert "Add multiplatform jobs for policy docker images"
This reverts commit 866558d317feb1171c4a40d9ff63f9dc99cd4a6d. Looks like this commit is causing build failures in jjb during the merge: ci-management-jjb-merge/1756/console.log.gz Change-Id: I4384ab0a5ef50b2551efb19bc41bc9b000a8748e Issue-ID: CIMAN-217 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'jjb/global-templates-docker.yaml')
-rw-r--r--jjb/global-templates-docker.yaml133
1 files changed, 0 insertions, 133 deletions
diff --git a/jjb/global-templates-docker.yaml b/jjb/global-templates-docker.yaml
index eecedd464..1c8242f32 100644
--- a/jjb/global-templates-docker.yaml
+++ b/jjb/global-templates-docker.yaml
@@ -771,137 +771,4 @@
- '{parent_job}'
result: 'success'
-- job-template:
- # Job template for creating a docker manifest list
- #
- # The purpose of this job template is to run:
- # 1. docker_push_manifest.sh script (which needs to exist in the
- # project implementation repo)
-
- name: '{project-name}-docker-manifest-{stream}'
- <<: *docker_job_boiler_plate
- node: '{build-node}'
- build-timeout: 15
-
- parameters:
- - lf-infra-parameters:
- project: '{project}'
- stream: '{stream}'
- branch: '{branch}'
- - string:
- name: PARENT_JOB_NAME
- default: 'none'
-
- disabled: '{obj:disabled}'
-
- scm:
- - lf-infra-gerrit-scm:
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
- git-url: '$GIT_URL/$PROJECT'
- refspec: '$GERRIT_REFSPEC'
- branch: '$GERRIT_BRANCH'
- submodule-recursive: true
- submodule-disable: '{submodule-disable}'
- submodule-timeout: '{submodule-timeout}'
- choosing-strategy: default
-
-
- builders:
- - lf-infra-docker-login:
- global-settings-file: 'global-settings'
- settings-file: '{mvn-settings}'
- - shell: |
- #!/bin/bash -ex
- export PARENT_JOB_NAME
- ./docker_push_manifest.sh
-
-- job-template:
- # Job template for staging jobs on multiple architectures
- #
- # The purpose of this job template is to:
- # 1. Run parallel maven-docker-stage jobs for each supported architecure
- # 2. Build and push a docker manifest list for the images created by
- # the previous jobs
-
- name: '{project-name}-multiarch-docker-stage-{stream}'
- node: '{build-node}'
- project-type: multijob
- disabled: '{obj:disabled}'
- build-timeout: 15
- pattern: '**'
-
- parameters:
- - lf-infra-parameters:
- project: '{project}'
- stream: '{stream}'
- branch: '{branch}'
- - string:
- name: DOCKER_REGISTRY
- default: 'none'
- - string:
- name: DOCKERHUB_REGISTRY
- default: 'registry-1.docker.io'
-
- disabled: '{obj:disabled}'
-
- properties:
- - throttle:
- max-per-node: 1
- option: 'project'
- - build-blocker:
- use-build-blocker: true
- blocking-jobs:
- - '{project-name}-.*-docker-.*'
- blocking-level: 'NODE'
-
- scm:
- - lf-infra-gerrit-scm:
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
- git-url: '$GIT_URL/$PROJECT'
- refspec: '$GERRIT_REFSPEC'
- branch: '$GERRIT_BRANCH'
- submodule-recursive: true
- submodule-timeout: 10
- submodule-disable: false
- choosing-strategy: default
- triggers:
- - timed: '@daily'
- - gerrit:
- server-name: '{gerrit-server-name}'
- trigger-on:
- - comment-added-contains-event:
- comment-contains-value: '^Patch Set\s+\d+:\s+stage-(docker-)?release\s*$'
-
- projects:
- - project-compare-type: ANT
- project-pattern: '{project}'
- branches:
- - branch-compare-type: ANT
- branch-pattern: '**/{branch}'
- file-paths:
- - compare-type: ANT
- pattern: "**"
-
- builders:
- - multijob:
- name: 'build docker images'
- condition: ALWAYS
- execution-type: PARALLEL
- projects:
- - name: '{project-name}-amd64-maven-docker-stage-{stream}'
- kill-phase-on: FAILURE
- current-parameters: true
- - name: '{project-name}-arm64-maven-docker-stage-{stream}'
- kill-phase-on: NEVER
- current-parameters: true
- - multijob:
- name: 'publish docker manifest'
- condition: SUCCESSFUL
- execution-type: PARALLEL
- projects:
- - name: '{project-name}-docker-manifest-{stream}'
- current-parameters: true
- predefined-parameters: |
- PARENT_JOB_NAME=$JOB_NAME
- DOCKERHUB_REGISTRY=docker.io