forked from openshift/release
/
openshift-openshift-ansible-release-3.10.yaml
46 lines (46 loc) · 1.29 KB
/
openshift-openshift-ansible-release-3.10.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
base_rpm_images:
base:
name: origin-v3.10
namespace: openshift
tag: base
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.9
images:
- dockerfile_path: images/installer/Dockerfile
from: base
to: ansible
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
unit:
requests:
cpu: "1"
memory: 1.5Gi
rpm_build_commands: tito tag --offline --accept-auto-changelog --use-release '9999%{?dist}'; tito build --output="_output/local/releases" --rpm --test --offline --quiet; mkdir -p _output/local/releases/rpms; mv _output/local/releases/noarch/* _output/local/releases/rpms; createrepo _output/local/releases/rpms
tag_specification:
name: origin-v3.10
namespace: openshift
test_binary_build_commands: |
set -eo pipefail
yum install -y gcc libffi-devel python-devel openssl-devel
curl https://bootstrap.pypa.io/get-pip.py | python -
pip install tox
chmod uga+w /etc/passwd
tests:
- artifact_dir: /tmp/artifacts
as: unit
commands: |
set -o pipefail
echo "${USER:-default}:x:$(id -u):$(id -g):Default User:$HOME:/sbin/nologin" >> /etc/passwd
tox 2>&1 | tee /tmp/artifacts/output.log
container:
from: test-bin
zz_generated_metadata:
branch: release-3.10
org: openshift
repo: openshift-ansible