Skip to content
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

add acs-fleet-manager e2e job using acs clusters #54055

Closed
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
@@ -0,0 +1,82 @@
base_images:
ocp-4:
name: automation-flavors
namespace: stackrox
tag: openshift-4-0.10.0
openshift_release_golang-1.21:
name: release
namespace: openshift
tag: golang-1.21
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.21
use_build_cache: true
images:
- dockerfile_path: Dockerfile
inputs:
src:
paths:
- destination_dir: ./
source_path: /go/src/github.com/stackrox/acs-fleet-manager/.
to: acs-fleet-manager
- context_dir: dp-terraform/helm
dockerfile_path: Dockerfile
to: acs-fleetshard-operator
- dockerfile_path: .openshift-ci/e2e-runtime/Dockerfile
inputs:
openshift_release_golang-1.21:
as:
- registry.ci.openshift.org/openshift/release:golang-1.21
src:
paths:
- destination_dir: ./
source_path: /go/src/github.com/stackrox/acs-fleet-manager/.
to: e2e-runtime
releases:
latest:
release:
channel: fast
version: "4.14"
resources:
'*':
requests:
cpu: 2000m
memory: 6000Mi
test_binary_build_commands: echo placeholder
tests:
- always_run: false
as: e2e-infra
optional: true
steps:
env:
OCP_VERSION: ocp/fast-4.14
test:
- ref: ipi-install-rbac
- as: test
commands: |
if [ -x ".openshift-ci/tests/e2e.sh" ]; then
./.openshift-ci/tests/e2e.sh
else
echo "No e2e configured, skipping."
fi
credentials:
- mount_path: /var/run/rhacs-ms-e2e-tests
name: rhacs-ms-e2e-tests
namespace: test-credentials
dependencies:
- env: FLEET_MANAGER_IMAGE
name: acs-fleet-manager
- env: FLEETSHARD_OPERATOR_IMAGE
name: acs-fleetshard-operator
from: e2e-runtime
resources:
requests:
cpu: 2000m
memory: 6000Mi
workflow: stackrox-automation-flavors-ocp-4-e2e
zz_generated_metadata:
branch: osci-move-to-infra
org: stackrox
repo: acs-fleet-manager
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
presubmits:
stackrox/acs-fleet-manager:
- agent: kubernetes
always_run: false
branches:
- ^osci-move-to-infra$
- ^osci-move-to-infra-
cluster: build03
context: ci/prow/e2e-infra
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-stackrox-acs-fleet-manager-osci-move-to-infra-e2e-infra
optional: true
rerun_command: /test e2e-infra
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=e2e-infra
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- 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: 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-infra,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^osci-move-to-infra$
- ^osci-move-to-infra-
cluster: build03
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-stackrox-acs-fleet-manager-osci-move-to-infra-images
rerun_command: /test images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- 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: 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( | .* )images,?($|\s.*)