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
158 changes: 158 additions & 0 deletions ci-operator/config/ViaQ/vector/ViaQ-vector-v0.54.0-rh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
base_images:
builder:
name: ubi
namespace: ocp
tag: "9"
cluster-logging-operator:
name: 6.y
namespace: logging
tag: cluster-logging-operator
cluster-logging-operator-e2e:
name: 6.y
namespace: logging
tag: cluster-logging-operator-e2e
cluster-logging-operator-registry:
name: 6.y
namespace: logging
tag: cluster-logging-operator-registry
log-file-metric-exporter:
name: 6.y
namespace: logging
tag: log-file-metric-exporter
logging-eventrouter:
name: 5.y
namespace: logging
tag: logging-eventrouter
oauth-proxy:
name: "4.14"
namespace: ocp
tag: oauth-proxy
ubi9-minimal:
name: ubi-minimal
namespace: ocp
tag: "9"
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: rhel-9-release-golang-1.23-openshift-4.20
images:
- dockerfile_path: Dockerfile
from: ubi9-minimal
to: vector
- dockerfile_path: Dockerfile.unit
from: builder
to: logging-vector-test-unit
promotion:
to:
- namespace: logging
tag: v0.54.0
releases:
latest:
release:
channel: stable
version: "4.18"
resources:
'*':
limits:
memory: 20Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: unit
commands: make test
container:
from: logging-vector-test-unit
- as: cargo-deny-check-bans
commands: cargo deny --no-default-features --features ocp-logging check bans
container:
from: logging-vector-test-unit
- as: cargo-clippy-check
commands: cargo clippy --workspace --all-targets -- -D warnings
container:
from: logging-vector-test-unit
optional: true
- as: cargo-fmt-check
commands: cargo fmt --check
container:
from: logging-vector-test-unit
optional: true
- as: ldd-openssl
commands: ldd /usr/bin/vector | grep -E 'libcrypto|libssl'
container:
from: vector
- as: cluster-logging-operator-e2e
cluster_claim:
architecture: amd64
cloud: aws
labels:
region: us-east-1
owner: obs-logging
product: ocp
timeout: 1h0m0s
version: "4.18"
steps:
test:
- as: test
cli: latest
commands: FAKE_HOME_DIR=/tmp/home LOG_DIR=${ARTIFACT_DIR}/logging-logs ARTIFACT_DIR=${ARTIFACT_DIR}/logging-artifacts
make test-e2e
dependencies:
- env: IMAGE_CLUSTER_LOGGING_OPERATOR_REGISTRY
name: pipeline:cluster-logging-operator-registry
- env: IMAGE_CLUSTER_LOGGING_OPERATOR
name: pipeline:cluster-logging-operator
- env: IMAGE_OAUTH_PROXY
name: pipeline:oauth-proxy
- env: IMAGE_LOGGING_VECTOR
name: pipeline:vector
- env: IMAGE_LOGGING_EVENTROUTER
name: pipeline:logging-eventrouter
- env: IMAGE_LOG_FILE_METRIC_EXPORTER
name: pipeline:log-file-metric-exporter
from: pipeline:cluster-logging-operator-e2e
resources:
requests:
cpu: 100m
timeout: 3h0m0s
workflow: generic-claim
timeout: 5h0m0s
- as: clo-functional
cluster_claim:
architecture: amd64
cloud: aws
labels:
region: us-east-1
owner: obs-logging
product: ocp
timeout: 1h0m0s
version: "4.18"
steps:
test:
- as: test
cli: latest
commands: FAKE_HOME_DIR=/tmp/home LOG_DIR=${ARTIFACT_DIR}/logging-logs ARTIFACT_DIR=${ARTIFACT_DIR}/logging-artifacts
make test-functional
dependencies:
- env: IMAGE_CLUSTER_LOGGING_OPERATOR_REGISTRY
name: pipeline:cluster-logging-operator-registry
- env: IMAGE_CLUSTER_LOGGING_OPERATOR
name: pipeline:cluster-logging-operator
- env: IMAGE_OAUTH_PROXY
name: pipeline:oauth-proxy
- env: IMAGE_LOGGING_VECTOR
name: pipeline:vector
- env: IMAGE_LOGGING_EVENTROUTER
name: pipeline:logging-eventrouter
- env: IMAGE_LOG_FILE_METRIC_EXPORTER
name: pipeline:log-file-metric-exporter
from: pipeline:cluster-logging-operator-e2e
resources:
requests:
cpu: 100m
workflow: generic-claim
zz_generated_metadata:
branch: v0.54.0-rh
org: ViaQ
repo: vector
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
postsubmits:
ViaQ/vector:
- agent: kubernetes
always_run: true
branches:
- ^v0\.54\.0-rh$
cluster: build01
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/is-promotion: "true"
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-ViaQ-vector-v0.54.0-rh-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: 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/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
Loading