-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
features: installer artifacts build paralleled, do not build up-to-date images #39
base: main
Are you sure you want to change the base?
Changes from all commits
c11dcb2
4744734
325f5d7
780a2dc
03ec707
0572ad6
8e5d3d3
a121892
893de12
887234e
f1d2604
055af53
29e322d
85db2bb
9dd07ac
a457014
550aeee
7c42356
9ad962d
f545ee2
3dba42c
0b1f1c2
5d9c23e
1fa4dcb
ec0f41b
61b37c1
68344c0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,8 +43,7 @@ spec: | |
- name: ARCHITECTURES | ||
value: "" | ||
- name: MAKE_ARGS | ||
value: >- | ||
-e --warn-undefined-variables | ||
value: -e --warn-undefined-variables | ||
- name: INSTALL_PKGS | ||
value: "krb5-devel" | ||
- name: INSTALL_PKGS_RUNTIME | ||
|
@@ -57,6 +56,7 @@ spec: | |
value: > | ||
OpenShift is a platform for developing, | ||
building, and deploying containerized applications. | ||
# are these tag really necessary here? | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If I remember correctly these are replaced later with the okd ones and are needed for some specific code to be considered for OKD vs OCP vs OKD/SCOS. I'm not sure if this is needed for the cli too though, @vrutkovs ? |
||
- name: TAGS | ||
value: openshift,cli | ||
- name: VERSIONS | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ spec: | |
imageOptimizationPolicy: SkipLayers | ||
dockerfilePath: images/baremetal/Dockerfile.centos9 | ||
buildArgs: | ||
# are these tag really necessary here? | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes |
||
- name: "TAGS" | ||
value: "baremetal libvirt okd" | ||
from: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: build.openshift.io/v1 | ||
kind: BuildConfig | ||
metadata: | ||
name: installer-artifact-amd64-lnx | ||
labels: | ||
part-of-artifacts: installer | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure this is ideal at this time. Deviating from the prow builds definitions may be a future step. However, the maintenance of the repo might become harder including these changes.. |
||
spec: | ||
source: | ||
type: Git | ||
git: | ||
uri: 'https://github.com/openshift/installer' | ||
ref: release-4.12 | ||
images: [] | ||
strategy: | ||
type: Docker | ||
dockerStrategy: | ||
buildArgs: | ||
- name: "TARGET_ARCH" | ||
value: "amd64" | ||
- name: "TARGET_OS" | ||
value: "linux" | ||
output: | ||
to: | ||
name: 'artifacts:installer-amd64-lnx' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: build.openshift.io/v1 | ||
kind: BuildConfig | ||
metadata: | ||
name: installer-artifact-amd64-mac | ||
labels: | ||
part-of-artifacts: installer | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
uri: 'https://github.com/openshift/installer' | ||
ref: release-4.12 | ||
images: [] | ||
strategy: | ||
type: Docker | ||
dockerStrategy: | ||
buildArgs: | ||
- name: "TARGET_ARCH" | ||
value: "amd64" | ||
- name: "TARGET_OS" | ||
value: "darwin" | ||
output: | ||
to: | ||
name: 'artifacts:installer-amd64-mac' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: build.openshift.io/v1 | ||
kind: BuildConfig | ||
metadata: | ||
name: installer-artifact-arm64-lnx | ||
labels: | ||
part-of-artifacts: installer | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
uri: 'https://github.com/openshift/installer' | ||
ref: release-4.12 | ||
images: [] | ||
strategy: | ||
type: Docker | ||
dockerStrategy: | ||
buildArgs: | ||
- name: "TARGET_ARCH" | ||
value: "arm64" | ||
- name: "TARGET_OS" | ||
value: "linux" | ||
output: | ||
to: | ||
name: 'artifacts:installer-arm64-lnx' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: build.openshift.io/v1 | ||
kind: BuildConfig | ||
metadata: | ||
name: installer-artifact-arm64-mac | ||
labels: | ||
part-of-artifacts: installer | ||
spec: | ||
source: | ||
type: Git | ||
git: | ||
uri: 'https://github.com/openshift/installer' | ||
ref: release-4.12 | ||
images: [] | ||
strategy: | ||
type: Docker | ||
dockerStrategy: | ||
buildArgs: | ||
- name: "TARGET_ARCH" | ||
value: "arm64" | ||
- name: "TARGET_OS" | ||
value: "darwin" | ||
output: | ||
to: | ||
name: 'artifacts:installer-arm64-mac' |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,11 @@ spec: | |
ref: release-4.12 | ||
contextDir: . | ||
images: | ||
- from: | ||
kind: ImageStreamTag | ||
name: 'tools:fedora36' | ||
as: | ||
- 'fedora:35' | ||
# - from: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Either delete or update, I'd avoid commenting. I'd prefer updating as per the previous comment. |
||
# kind: ImageStreamTag | ||
# name: 'tools:fedora36' | ||
# as: | ||
# - 'fedora:35' | ||
- from: | ||
kind: ImageStreamTag | ||
name: 'tools:centos9' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd add the
fedora:3[78]
ISTags.