Skip to content
Open
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
Expand Up @@ -6,8 +6,12 @@

approvers:
- anandkuma77
- bharath-b-rh
- mytreya-rh
- sarthakpurohit
options: {}
reviewers:
- anandkuma77
- bharath-b-rh
- mytreya-rh
- sarthakpurohit
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
base_images:
base-rhel9:
name: "4.21"
namespace: ocp
tag: base-rhel9
golang:
name: builder
namespace: ocp
tag: rhel-9-golang-1.23-openshift-4.19
tag: rhel-9-golang-1.23-openshift-4.21
operator-sdk:
name: "4.21"
namespace: origin
tag: operator-sdk
binary_build_commands: cd operator && make build
build_root:
image_stream_tag:
name: console-plugin-test-cypress
Expand All @@ -11,7 +20,27 @@ build_root:
images:
items:
- dockerfile_path: Dockerfile
to: ocp-secrets-management-console
to: ocp-secrets-management
- dockerfile_path: operator/images/ci/Dockerfile
from: base-rhel9
to: ocp-secrets-management-operator
operator:
bundles:
- as: ocp-secrets-management-operator-bundle
dockerfile_path: operator/bundle.Dockerfile
skip_building_index: true
substitutions:
- pullspec: openshift.io/ocp-secrets-management-operator:.*
with: pipeline:ocp-secrets-management-operator
- pullspec: openshift.io/ocp-secrets-management:.*
with: pipeline:ocp-secrets-management
releases:
latest:
candidate:
architecture: multi
product: ocp
stream: nightly
version: "4.21"
resources:
'*':
limits:
Expand All @@ -30,6 +59,63 @@ tests:
unset GOFLAGS && cd operator && make test
container:
from: golang
- as: verify
commands: |
yarn install && LANG=en_US.UTF-8 yarn lint
container:
from: src
- as: fips-image-scan-plugin
steps:
dependencies:
SCAN_IMAGE: ocp-secrets-management
test:
- ref: fips-check-image-scan
- as: fips-image-scan-operator
steps:
dependencies:
SCAN_IMAGE: ocp-secrets-management-operator
test:
- ref: fips-check-image-scan
- as: e2e-operator
cluster_claim:
architecture: amd64
cloud: aws
owner: openshift-ci
product: ocp
timeout: 2h0m0s
version: "4.21"
skip_if_only_changed: ^(docs/|scripts/)|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|LICENSE)$
steps:
test:
- as: install
cli: latest
commands: |
oc create namespace openshift-secrets-management
operator-sdk run bundle --timeout=10m --security-context-config=restricted --install-mode=AllNamespaces -n openshift-secrets-management "$OO_BUNDLE" --verbose
oc wait --for condition=Available -n openshift-secrets-management deployment secrets-management-operator --timeout=10m
dependencies:
- env: OO_BUNDLE
name: ocp-secrets-management-operator-bundle
from: operator-sdk
resources:
requests:
cpu: 100m
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- as: test
cli: latest
commands: |
# Create SecretsManagementConfig CR
oc apply -f operator/config/samples/secrets-management_v1alpha1_secretsmanagementconfig.yaml
# Wait for plugin deployment
oc wait --for condition=Available -n openshift-secrets-management deployment ocp-secrets-management-plugin --timeout=5m
# Verify plugin pods are running
oc get pods -n openshift-secrets-management -l app.kubernetes.io/name=ocp-secrets-management
# Verify ConsolePlugin resource exists
oc get consoleplugin ocp-secrets-management
from: src
resources:
requests:
cpu: 100m
workflow: generic-claim
zz_generated_metadata:
branch: main
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@

approvers:
- anandkuma77
- bharath-b-rh
- mytreya-rh
- sarthakpurohit
options: {}
reviewers:
- anandkuma77
- bharath-b-rh
- mytreya-rh
- sarthakpurohit
Loading