Skip to content

Add secret for cluster-api in the powervs install step #58927

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ releases:
include_built_images: true
name: "4.20"
namespace: ocp
ppc64le-latest:
candidate:
architecture: ppc64le
product: ocp
stream: nightly
version: "4.18"
resources:
'*':
requests:
Expand Down Expand Up @@ -64,6 +70,25 @@ tests:
CHECK_MOD_LIST: "false"
test:
- ref: go-verify-deps
- as: e2e-powervs-capi-techpreview
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: powervs-5
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:ppc64le-latest
env:
ARCH: ppc64le
BRANCH: main
FEATURE_SET: TechPreviewNoUpgrade
test:
- as: test
commands: openshift/e2e-tests.sh
from: src
resources:
requests:
cpu: 200m
memory: 200Mi
workflow: openshift-e2e-powervs-ipi
zz_generated_metadata:
branch: main
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ releases:
include_built_images: true
name: "4.18"
namespace: ocp
ppc64le-latest:
candidate:
architecture: ppc64le
product: ocp
stream: nightly
version: "4.18"
resources:
'*':
requests:
Expand All @@ -53,6 +59,25 @@ tests:
commands: make generate
container:
from: src
- as: e2e-powervs-capi-techpreview
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: powervs-5
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:ppc64le-latest
env:
ARCH: ppc64le
BRANCH: "4.18"
FEATURE_SET: TechPreviewNoUpgrade
test:
- as: test
commands: openshift/e2e-tests.sh
from: src
resources:
requests:
cpu: 200m
memory: 200Mi
workflow: openshift-e2e-powervs-ipi
zz_generated_metadata:
branch: release-4.18
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ releases:
include_built_images: true
name: "4.19"
namespace: ocp
ppc64le-latest:
candidate:
architecture: ppc64le
product: ocp
stream: nightly
version: "4.19"
resources:
'*':
requests:
Expand Down Expand Up @@ -64,6 +70,25 @@ tests:
CHECK_MOD_LIST: "false"
test:
- ref: go-verify-deps
- as: e2e-powervs-capi-techpreview
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: powervs-5
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:ppc64le-latest
env:
ARCH: ppc64le
BRANCH: "4.19"
FEATURE_SET: TechPreviewNoUpgrade
test:
- as: test
commands: openshift/e2e-tests.sh
from: src
resources:
requests:
cpu: 200m
memory: 200Mi
workflow: openshift-e2e-powervs-ipi
zz_generated_metadata:
branch: release-4.19
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ releases:
include_built_images: true
name: "4.20"
namespace: ocp
ppc64le-latest:
candidate:
architecture: ppc64le
product: ocp
stream: nightly
version: "4.20"
resources:
'*':
requests:
Expand Down Expand Up @@ -65,6 +71,24 @@ tests:
CHECK_MOD_LIST: "false"
test:
- ref: go-verify-deps
- as: e2e-powervs-capi-techpreview
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: powervs-5
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:ppc64le-latest
env:
ARCH: ppc64le
BRANCH: "4.20"
test:
- as: test
commands: openshift/e2e-tests.sh
from: src
resources:
requests:
cpu: 200m
memory: 200Mi
workflow: openshift-e2e-powervs-ipi
zz_generated_metadata:
branch: release-4.20
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ releases:
include_built_images: true
name: "4.21"
namespace: ocp
ppc64le-latest:
candidate:
architecture: ppc64le
product: ocp
stream: nightly
version: "4.21"
resources:
'*':
requests:
Expand Down Expand Up @@ -64,6 +70,24 @@ tests:
CHECK_MOD_LIST: "false"
test:
- ref: go-verify-deps
- as: e2e-powervs-capi-techpreview
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: powervs-5
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:ppc64le-latest
env:
ARCH: ppc64le
BRANCH: "4.21"
test:
- as: test
commands: openshift/e2e-tests.sh
from: src
resources:
requests:
cpu: 200m
memory: 200Mi
workflow: openshift-e2e-powervs-ipi
zz_generated_metadata:
branch: release-4.21
org: openshift
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,79 @@
presubmits:
openshift/cluster-api-provider-ibmcloud:
- agent: kubernetes
always_run: false
branches:
- ^main$
- ^main-
cluster: build11
context: ci/prow/e2e-powervs-capi-techpreview
decorate: true
labels:
ci-operator.openshift.io/cloud: powervs-5
ci-operator.openshift.io/cloud-cluster-profile: powervs-5
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-cluster-api-provider-ibmcloud-main-e2e-powervs-capi-techpreview
path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud
rerun_command: /test e2e-powervs-capi-techpreview
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=e2e-powervs-capi-techpreview
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-powervs-capi-techpreview,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,79 @@
presubmits:
openshift/cluster-api-provider-ibmcloud:
- agent: kubernetes
always_run: false
branches:
- ^release-4\.18$
- ^release-4\.18-
cluster: build09
context: ci/prow/e2e-powervs-capi-techpreview
decorate: true
labels:
ci-operator.openshift.io/cloud: powervs-5
ci-operator.openshift.io/cloud-cluster-profile: powervs-5
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-cluster-api-provider-ibmcloud-release-4.18-e2e-powervs-capi-techpreview
path_alias: sigs.k8s.io/cluster-api-provider-ibmcloud
rerun_command: /test e2e-powervs-capi-techpreview
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=e2e-powervs-capi-techpreview
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-powervs-capi-techpreview,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down
Loading