Skip to content

Commit a52038f

Browse files
Merge pull request #6072 from petr-muller/4.5
Generate 4.5 configs and jobs
2 parents 2d6406a + 82da743 commit a52038f

File tree

774 files changed

+49883
-152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

774 files changed

+49883
-152
lines changed

ci-operator/config/kubevirt/hyperconverged-cluster-operator/kubevirt-hyperconverged-cluster-operator-release-4.4.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ images:
3434
promotion:
3535
additional_images:
3636
hyperconverged-cluster-operator-tests: src
37+
disabled: true
3738
excluded_images:
3839
- operator-registry-base
3940
- hco-registry
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
base_images:
2+
base:
3+
name: "4.5"
4+
namespace: ocp
5+
tag: base
6+
operator-registry:
7+
name: "4.5"
8+
namespace: ocp
9+
tag: operator-registry
10+
binary_build_commands: make install
11+
build_root:
12+
image_stream_tag:
13+
name: release
14+
namespace: openshift
15+
tag: golang-1.12
16+
images:
17+
- dockerfile_path: build/Dockerfile.okd
18+
from: base
19+
inputs:
20+
bin:
21+
paths:
22+
- destination_dir: .
23+
source_path: /go/bin/hyperconverged-cluster-operator
24+
to: hyperconverged-cluster-operator
25+
- dockerfile_path: deploy/Dockerfile.registry.intermediate
26+
from: operator-registry
27+
to: operator-registry-base
28+
- dockerfile_path: deploy/Dockerfile.registry.ci
29+
from: operator-registry-base
30+
to: hco-registry
31+
- dockerfile_path: deploy/Dockerfile.registry.upgrade
32+
from: operator-registry-base
33+
to: hco-registry-upgrade
34+
promotion:
35+
additional_images:
36+
hyperconverged-cluster-operator-tests: src
37+
excluded_images:
38+
- operator-registry-base
39+
- hco-registry
40+
- hco-registry-upgrade
41+
name: "4.5"
42+
namespace: ocp
43+
resources:
44+
'*':
45+
limits:
46+
memory: 4Gi
47+
requests:
48+
cpu: 100m
49+
memory: 200Mi
50+
tag_specification:
51+
name: "4.5"
52+
namespace: ocp
53+
tests:
54+
- as: hco-e2e-aws
55+
commands: |
56+
make start && make functest
57+
openshift_installer_src:
58+
cluster_profile: aws
59+
- as: hco-e2e-upgrade-aws
60+
commands: |
61+
make upgrade-test
62+
openshift_installer_src:
63+
cluster_profile: aws

ci-operator/config/openshift/ansible-service-broker/openshift-ansible-service-broker-release-4.4.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ images:
2525
paths: null
2626
to: ansible-service-broker
2727
promotion:
28+
disabled: true
2829
name: "4.4"
2930
namespace: ocp
3031
resources:
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
base_images:
2+
ansible_operator:
3+
name: "4.5"
4+
namespace: ocp
5+
tag: ansible-operator
6+
base:
7+
name: "4.5"
8+
namespace: ocp
9+
tag: base
10+
binary_build_commands: make openshift-ci-make-rpm
11+
build_root:
12+
project_image:
13+
dockerfile_path: build/custom-ci-build-root.Dockerfile
14+
images:
15+
- context_dir: operator
16+
dockerfile_path: build/Dockerfile
17+
from: ansible_operator
18+
to: ansible-service-broker-operator
19+
- dockerfile_path: build/Dockerfile-ubi
20+
from: base
21+
inputs:
22+
root:
23+
as:
24+
- builder
25+
paths: null
26+
to: ansible-service-broker
27+
promotion:
28+
name: "4.5"
29+
namespace: ocp
30+
resources:
31+
'*':
32+
limits:
33+
memory: 4Gi
34+
requests:
35+
cpu: 200m
36+
memory: 200Mi
37+
tag_specification:
38+
name: "4.5"
39+
namespace: ocp
40+
test_binary_build_commands: make openshift-ci-test-container
41+
tests:
42+
- as: fmt
43+
commands: make fmt
44+
container:
45+
from: test-bin
46+
- as: fmtcheck
47+
commands: make fmtcheck
48+
container:
49+
from: test-bin
50+
- as: vet
51+
commands: make vet
52+
container:
53+
from: test-bin
54+
- as: lint
55+
commands: make lint
56+
container:
57+
from: test-bin
58+
- as: test
59+
commands: make test
60+
container:
61+
from: test-bin
62+
- as: build
63+
commands: make build
64+
container:
65+
from: test-bin
66+
- as: operator-molecule-e2e
67+
commands: |
68+
echo "${USER:-default}:x:$(id -u):$(id -g):Default User:$HOME:/sbin/nologin" >> /etc/passwd
69+
cd operator
70+
molecule test -s cluster
71+
openshift_installer_src:
72+
cluster_profile: aws
73+
- as: operator-molecule-olm-e2e
74+
commands: |
75+
echo "${USER:-default}:x:$(id -u):$(id -g):Default User:$HOME:/sbin/nologin" >> /etc/passwd
76+
cd operator
77+
molecule test -s cluster-olm
78+
openshift_installer_src:
79+
cluster_profile: aws

ci-operator/config/openshift/api/openshift-api-release-4.4.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ build_root:
44
namespace: openshift
55
tag: golang-1.12
66
promotion:
7+
disabled: true
78
name: "4.4"
89
namespace: ocp
910
resources:
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
build_root:
2+
image_stream_tag:
3+
name: release
4+
namespace: openshift
5+
tag: golang-1.12
6+
promotion:
7+
name: "4.5"
8+
namespace: ocp
9+
resources:
10+
'*':
11+
limits:
12+
memory: 6Gi
13+
requests:
14+
cpu: 100m
15+
memory: 200Mi
16+
tag_specification:
17+
name: "4.5"
18+
namespace: ocp
19+
tests:
20+
- as: verify
21+
commands: go get golang.org/x/tools/imports; make build verify
22+
container:
23+
from: src
24+
- as: verify-client-go
25+
commands: |
26+
dir=$GOPATH/src/github.com/openshift/client-go
27+
git clone https://github.com/openshift/client-go $dir
28+
rm -rf $dir/vendor/github.com/openshift/api/*
29+
cp -Rf * $dir/vendor/github.com/openshift/api/
30+
rm -rf $dir/vendor/github.com/openshift/api/vendor
31+
cd $dir
32+
make generate
33+
go build ./...
34+
container:
35+
from: src

ci-operator/config/openshift/apiserver-library-go/openshift-apiserver-library-go-release-4.4.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ build_root:
1010
namespace: openshift
1111
tag: golang-1.12
1212
promotion:
13+
disabled: true
1314
name: "4.4"
1415
namespace: ocp
1516
resources:
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
base_images:
2+
os:
3+
name: centos
4+
namespace: openshift
5+
tag: "7"
6+
binary_build_commands: make build --warn-undefined-variables
7+
build_root:
8+
image_stream_tag:
9+
name: release
10+
namespace: openshift
11+
tag: golang-1.12
12+
promotion:
13+
name: "4.5"
14+
namespace: ocp
15+
resources:
16+
'*':
17+
limits:
18+
memory: 12Gi
19+
requests:
20+
cpu: "3"
21+
memory: 8Gi
22+
test_binary_build_commands: make build GOFLAGS='-race' --warn-undefined-variables
23+
tests:
24+
- as: verify
25+
commands: |
26+
make verify -k --warn-undefined-variables
27+
container:
28+
from: bin
29+
- as: verify-deps
30+
commands: |
31+
HOME=$( mktemp -d )
32+
make verify-deps -k --warn-undefined-variables
33+
container:
34+
from: src
35+
- artifact_dir: /tmp/artifacts
36+
as: unit
37+
commands: |
38+
mkdir -p /tmp/artifacts
39+
make test-unit JUNITFILE=/tmp/artifacts/unit_report.xml --warn-undefined-variables
40+
container:
41+
from: test-bin

ci-operator/config/openshift/aws-account-operator/openshift-aws-account-operator-release-4.4.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ images:
1313
from: base
1414
to: aws-account-operator
1515
promotion:
16+
disabled: true
1617
name: "4.4"
1718
namespace: ocp
1819
resources:
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
base_images:
2+
base:
3+
name: "4.5"
4+
namespace: ocp
5+
tag: base
6+
build_root:
7+
image_stream_tag:
8+
name: release
9+
namespace: openshift
10+
tag: golang-1.10
11+
images:
12+
- dockerfile_path: build/Dockerfile
13+
from: base
14+
to: aws-account-operator
15+
promotion:
16+
name: "4.5"
17+
namespace: ocp
18+
resources:
19+
'*':
20+
limits:
21+
memory: 4Gi
22+
requests:
23+
cpu: 100m
24+
memory: 200Mi
25+
tag_specification:
26+
name: "4.5"
27+
namespace: ocp

0 commit comments

Comments
 (0)