-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
openshift-jenkins-sync-plugin-master.yaml
100 lines (100 loc) · 2.37 KB
/
openshift-jenkins-sync-plugin-master.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
base_images:
origin_4.16_jenkins:
name: "4.17"
namespace: origin
tag: jenkins
build_root:
from_repository: true
images:
- dockerfile_path: Dockerfile
inputs:
origin_4.16_jenkins:
as:
- registry.ci.openshift.org/origin/4.16:jenkins
to: jenkins
- dockerfile_literal: |
FROM quay.io/openshift/origin-jenkins-agent-maven:4.11.0 AS builder
WORKDIR /home/jenkins
COPY . .
USER 0
# We need a newer maven version as the RHEL package is still on 3.6.2
RUN curl -L -o maven.tar.gz https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz && \
mkdir maven && \
tar -xvzf maven.tar.gz -C maven --strip-component 1 && \
cp -R maven /opt && \
ln -sf /opt/maven/bin/mvn /usr/bin/mvn && \
chmod -R 777 $HOME && \
mvn --version
to: jenkins-maven-builder
promotion:
to:
- additional_images:
jenkins-sync-plugin-e2e: src
excluded_images:
- jenkins
- jenkins-maven-builder
name: "4.17"
namespace: ocp
releases:
initial:
integration:
name: "4.17"
namespace: ocp
latest:
integration:
include_built_images: true
name: "4.17"
namespace: ocp
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
tests:
- as: maven-verify
commands: mvn clean package verify
container:
from: jenkins-maven-builder
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
- as: e2e-aws-jenkins-sync-plugin
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: aws
test:
- as: test
cli: latest
commands: make test-e2e
dependencies:
- env: JENKINS_IMAGE
name: pipeline:jenkins
from: src
resources:
requests:
cpu: 100m
workflow: ipi-aws
- as: e2e-aws-jenkins-sync-plugin-continuous
cron: 0 */12 * * *
steps:
cluster_profile: aws
test:
- as: test
cli: latest
commands: make test-e2e
dependencies:
- env: JENKINS_IMAGE
name: pipeline:jenkins
from: src
resources:
requests:
cpu: 100m
workflow: ipi-aws
- as: security
optional: true
steps:
env:
PROJECT_NAME: ocptools-jenkins-sync-plugin
workflow: openshift-ci-security
zz_generated_metadata:
branch: master
org: openshift
repo: jenkins-sync-plugin