Skip to content

Commit

Permalink
add on-demand agent compact job (#49008)
Browse files Browse the repository at this point in the history
  • Loading branch information
andfasano committed Feb 22, 2024
1 parent 3885973 commit ba84143
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ tests:
steps:
cluster_profile: aws
workflow: openshift-e2e-aws-cidr-expansion
- always_run: false
as: e2e-agent-compact-ipv4
cluster: build05
optional: true
steps:
cluster_profile: equinix-ocp-metal
workflow: agent-e2e-compact-ipv4
timeout: 6h0m0s
- as: e2e-aws-ovn-local-gateway
steps:
cluster_profile: aws-2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,89 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )4.16-upgrade-from-stable-4.15-local-gateway-images,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build05
context: ci/prow/e2e-agent-compact-ipv4
decorate: true
decoration_config:
skip_cloning: true
timeout: 6h0m0s
labels:
ci-operator.openshift.io/cloud: equinix-ocp-metal
ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-metal
ci-operator.openshift.io/cluster: build05
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-ovn-kubernetes-master-e2e-agent-compact-ipv4
optional: true
rerun_command: /test e2e-agent-compact-ipv4
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
- --secret-dir=/usr/local/e2e-agent-compact-ipv4-cluster-profile
- --target=e2e-agent-compact-ipv4
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: /usr/local/e2e-agent-compact-ipv4-cluster-profile
name: cluster-profile
- 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: cluster-profile
secret:
secretName: cluster-secrets-equinix-ocp-metal
- 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-agent-compact-ipv4,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down

0 comments on commit ba84143

Please sign in to comment.