Skip to content
Merged
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,38 @@
build_root:
image_stream_tag:
name: builder
namespace: stolostron
tag: go1.25-linux
images:
items:
- additional_architectures:
- arm64
dockerfile_path: Dockerfile.fleetshift
to: fleetshift
run_if_changed: ^Dockerfile\.fleetshift$
Comment thread
coderabbitai[bot] marked this conversation as resolved.
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
tests:
- as: republish-latest
capabilities:
- arm64
cron: 30 4,10,16,22 * * *
retry:
attempts: 3
interval: 1h
steps:
dependencies:
SOURCE_IMAGE_REF: fleetshift
env:
IMAGE_REPO: fleetshift
IMAGE_TAG: latest
REGISTRY_ORG: stolostron
workflow: fleetshift-ci-image-mirror
zz_generated_metadata:
branch: main
org: fleetshift
repo: fleetshift-poc
variant: fleetshift
Original file line number Diff line number Diff line change
@@ -1,4 +1,84 @@
periodics:
- agent: kubernetes
cluster: build01
cron: 30 4,10,16,22 * * *
decorate: true
decoration_config:
sparse_checkout_files:
- Dockerfile.fleetshift
extra_refs:
- base_ref: main
org: fleetshift
repo: fleetshift-poc
sparse_checkout_files:
- Dockerfile.fleetshift
labels:
capability/arm64: arm64
ci-operator.openshift.io/variant: fleetshift
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-fleetshift-fleetshift-poc-main-fleetshift-republish-latest
retry:
attempts: 3
interval: 1h
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
- --target=republish-latest
- --variant=fleetshift
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
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: 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
- agent: kubernetes
cluster: build01
cron: 30 2,8,14,20 * * *
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,65 @@
presubmits:
fleetshift/fleetshift-poc:
- agent: kubernetes
always_run: false
branches:
- ^main$
- ^main-
cluster: build03
context: ci/prow/fleetshift-images
decorate: true
decoration_config:
sparse_checkout_files:
- Dockerfile.fleetshift
labels:
capability/arm64: arm64
ci-operator.openshift.io/variant: fleetshift
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-fleetshift-fleetshift-poc-main-fleetshift-images
rerun_command: /test fleetshift-images
run_if_changed: ^Dockerfile\.fleetshift$
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]
- --variant=fleetshift
command:
- ci-operator
image: quay-proxy.ci.openshift.org/openshift/ci:ci_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( | .* )fleetshift-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down