Skip to content

Commit

Permalink
openshift-loki: Add ci config for branch upstream-v3.2.1 (#57972)
Browse files Browse the repository at this point in the history
  • Loading branch information
periklis authored Oct 18, 2024
1 parent 45e4291 commit d2f765e
Show file tree
Hide file tree
Showing 4 changed files with 247 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
base_images:
base:
name: builder
namespace: ocp
tag: rhel-9-openshift-enterprise-base-4.16.multi
ocp_builder_rhel-9-golang-1.22-builder-multi-openshift-4.17:
name: builder
namespace: ocp
tag: rhel-9-golang-1.22-builder-multi-openshift-4.17
build_root:
image_stream_tag:
name: builder
namespace: ocp
tag: rhel-9-golang-1.22-builder-multi-openshift-4.17
images:
- dockerfile_path: Dockerfile.ocp
from: base
inputs:
ocp_builder_rhel-9-golang-1.22-builder-multi-openshift-4.17:
as:
- registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17
multi_arch: true
to: loki
- dockerfile_path: Dockerfile.promtail.ocp
from: base
inputs:
ocp_builder_rhel-9-golang-1.22-builder-multi-openshift-4.17:
as:
- registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17
multi_arch: true
to: promtail
promotion:
to:
- name: v3.2.1
namespace: logging
releases:
latest:
release:
channel: stable
version: "4.16"
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
tests:
- as: test
steps:
test:
- as: unit
commands: GOFLAGS="" make test
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
zz_generated_metadata:
branch: upstream-v3.2.1
org: openshift
repo: loki
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
postsubmits:
openshift/loki:
- agent: kubernetes
always_run: true
branches:
- ^upstream-v3\.2\.1$
cluster: build10
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cluster: build10
ci-operator.openshift.io/is-promotion: "true"
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-openshift-loki-upstream-v3.2.1-images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson
- --promote
- --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/push-secret
name: push-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: push-secret
secret:
secretName: registry-push-credentials-ci-central
- name: result-aggregator
secret:
secretName: result-aggregator
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
presubmits:
openshift/loki:
- agent: kubernetes
always_run: true
branches:
- ^upstream-v3\.2\.1$
- ^upstream-v3\.2\.1-
cluster: build10
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cluster: build10
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-loki-upstream-v3.2.1-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.*)
- agent: kubernetes
always_run: true
branches:
- ^upstream-v3\.2\.1$
- ^upstream-v3\.2\.1-
cluster: build03
context: ci/prow/test
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-loki-upstream-v3.2.1-test
rerun_command: /test test
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=test
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( | .* )test,?($|\s.*)
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
registry.ci.openshift.org/logging/v3.2.0:loki quay.io/openshift-logging/loki:v3.2.0 quay.io/openshift-logging/loki:latest
registry.ci.openshift.org/logging/v3.2.0:promtail quay.io/openshift-logging/promtail:v3.2.0 quay.io/openshift-logging/promtail:latest
registry.ci.openshift.org/logging/v3.2.0:loki quay.io/openshift-logging/loki:v3.2.0
registry.ci.openshift.org/logging/v3.2.0:promtail quay.io/openshift-logging/promtail:v3.2.0
registry.ci.openshift.org/logging/v3.2.1:loki quay.io/openshift-logging/loki:v3.2.1 quay.io/openshift-logging/loki:latest
registry.ci.openshift.org/logging/v3.2.1:promtail quay.io/openshift-logging/promtail:v3.2.1 quay.io/openshift-logging/promtail:latest

0 comments on commit d2f765e

Please sign in to comment.