Skip to content

Commit

Permalink
LOG-6550: Add CI for vector v0.43.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jcantrill committed Jan 10, 2025
1 parent bd22d95 commit cb3592d
Show file tree
Hide file tree
Showing 3 changed files with 602 additions and 0 deletions.
179 changes: 179 additions & 0 deletions ci-operator/config/ViaQ/vector/ViaQ-vector-v0.43-1-rh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
base_images:
builder:
name: ubi
namespace: ocp
tag: "9"
cluster-logging-operator:
name: "6.1"
namespace: logging
tag: cluster-logging-operator
cluster-logging-operator-e2e:
name: "6.1"
namespace: logging
tag: cluster-logging-operator-e2e
cluster-logging-operator-registry:
name: "6.1"
namespace: logging
tag: cluster-logging-operator-registry
elasticsearch-operator:
name: "5.8"
namespace: logging
tag: elasticsearch-operator
elasticsearch-operator-registry:
name: "5.8"
namespace: logging
tag: elasticsearch-operator-registry
elasticsearch-proxy:
name: 5.y
namespace: logging
tag: elasticsearch-proxy
log-file-metric-exporter:
name: 6.y
namespace: logging
tag: log-file-metric-exporter
logging-elasticsearch6:
name: 5.y
namespace: logging
tag: logging-elasticsearch6
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: golang-1.18
images:
- dockerfile_path: Dockerfile
from: ubi9-minimal
to: vector
- dockerfile_path: Dockerfile.unit
from: builder
to: logging-vector-test-unit
promotion:
to:
- name: v0.43.1
namespace: logging
releases:
latest:
release:
channel: stable
version: "4.17"
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 --offline check
bans
container:
from: logging-vector-test-unit
- 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_ELASTICSEARCH_OPERATOR_REGISTRY
name: pipeline:elasticsearch-operator-registry
- env: IMAGE_ELASTICSEARCH_OPERATOR
name: pipeline:elasticsearch-operator
- env: IMAGE_OAUTH_PROXY
name: pipeline:oauth-proxy
- env: IMAGE_LOGGING_VECTOR
name: pipeline:vector
- env: IMAGE_ELASTICSEARCH_PROXY
name: pipeline:elasticsearch-proxy
- env: IMAGE_ELASTICSEARCH6
name: pipeline:logging-elasticsearch6
- 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_ELASTICSEARCH_OPERATOR
name: pipeline:elasticsearch-operator
- env: IMAGE_ELASTICSEARCH_PROXY
name: pipeline:elasticsearch-proxy
- env: IMAGE_ELASTICSEARCH6
name: pipeline:logging-elasticsearch6
- 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.43-1-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\.43-1-rh$
cluster: build03
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.43-1-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: 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

0 comments on commit cb3592d

Please sign in to comment.