Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added NHC release-0.8 branch #51847

Merged
merged 1 commit into from
May 20, 2024
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,84 @@
base_images:
base:
name: ubi
namespace: ocp
tag: "9"
operator-sdk:
name: "4.13"
namespace: origin
tag: operator-sdk
binary_build_commands: make manager
build_root:
from_repository: true
images:
- dockerfile_path: Dockerfile
from: base
to: node-healthcheck-operator
operator:
bundles:
- as: my-bundle
dockerfile_path: bundle.ci.Dockerfile
skip_building_index: true
substitutions:
- pullspec: quay.io/medik8s/node-healthcheck-operator:.*
with: pipeline:node-healthcheck-operator
releases:
latest:
candidate:
architecture: amd64
product: ocp
stream: nightly
version: "4.12"
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: test
commands: make test
container:
from: src
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
- as: openshift-e2e
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: medik8s-aws
env:
BASE_DOMAIN: medik8s-ci.projects.ecosystem.sysdeseng.com
INSTALL_NAMESPACE: nhc-install
test:
- as: e2e-install
cli: latest
commands: |
oc create namespace "$INSTALL_NAMESPACE"
operator-sdk run bundle -n "$INSTALL_NAMESPACE" quay.io/medik8s/self-node-remediation-operator-bundle:latest
operator-sdk run bundle -n "$INSTALL_NAMESPACE" "$OO_BUNDLE"
oc wait --for condition=Available -n "$INSTALL_NAMESPACE" deployment node-healthcheck-controller-manager
dependencies:
- env: OO_BUNDLE
name: my-bundle
env:
- name: INSTALL_NAMESPACE
from: operator-sdk
resources:
requests:
cpu: 100m
memory: 200Mi
- as: e2e-test
commands: export OPERATOR_NS="$INSTALL_NAMESPACE" && make test-e2e
env:
- name: INSTALL_NAMESPACE
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: ipi-aws
zz_generated_metadata:
branch: release-0.8
org: medik8s
repo: node-healthcheck-operator
variant: "4.12"
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
base_images:
base:
name: ubi
namespace: ocp
tag: "9"
operator-sdk:
name: "4.13"
namespace: origin
tag: operator-sdk
binary_build_commands: make manager
build_root:
from_repository: true
images:
- dockerfile_path: Dockerfile
from: base
to: node-healthcheck-operator
operator:
bundles:
- as: my-bundle
dockerfile_path: bundle.ci.Dockerfile
skip_building_index: true
substitutions:
- pullspec: quay.io/medik8s/node-healthcheck-operator:.*
with: pipeline:node-healthcheck-operator
releases:
latest:
candidate:
architecture: amd64
product: ocp
stream: nightly
version: "4.13"
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: test
commands: make test
container:
from: src
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
- as: openshift-e2e
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: medik8s-aws
env:
BASE_DOMAIN: medik8s-ci.projects.ecosystem.sysdeseng.com
INSTALL_NAMESPACE: nhc-install
test:
- as: e2e-install
cli: latest
commands: |
oc create namespace "$INSTALL_NAMESPACE"
operator-sdk run bundle -n "$INSTALL_NAMESPACE" quay.io/medik8s/self-node-remediation-operator-bundle:latest
operator-sdk run bundle -n "$INSTALL_NAMESPACE" "$OO_BUNDLE"
oc wait --for condition=Available -n "$INSTALL_NAMESPACE" deployment node-healthcheck-controller-manager
dependencies:
- env: OO_BUNDLE
name: my-bundle
env:
- name: INSTALL_NAMESPACE
from: operator-sdk
resources:
requests:
cpu: 100m
memory: 200Mi
- as: e2e-test
commands: export OPERATOR_NS="$INSTALL_NAMESPACE" && make test-e2e
env:
- name: INSTALL_NAMESPACE
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: ipi-aws
zz_generated_metadata:
branch: release-0.8
org: medik8s
repo: node-healthcheck-operator
variant: "4.13"
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
base_images:
base:
name: ubi
namespace: ocp
tag: "9"
operator-sdk:
name: "4.14"
namespace: origin
tag: operator-sdk
binary_build_commands: make manager
build_root:
from_repository: true
images:
- dockerfile_path: Dockerfile
from: base
to: node-healthcheck-operator
operator:
bundles:
- as: my-bundle
dockerfile_path: bundle.ci.Dockerfile
skip_building_index: true
substitutions:
- pullspec: quay.io/medik8s/node-healthcheck-operator:.*
with: pipeline:node-healthcheck-operator
releases:
latest:
candidate:
architecture: amd64
product: ocp
stream: nightly
version: "4.14"
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: test
commands: make test
container:
from: src
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
- as: openshift-e2e
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: medik8s-aws
env:
BASE_DOMAIN: medik8s-ci.projects.ecosystem.sysdeseng.com
INSTALL_NAMESPACE: nhc-install
test:
- as: e2e-install
cli: latest
commands: |
oc create namespace "$INSTALL_NAMESPACE"

# workaround for OLM pod not running with restricted PSA
oc label --overwrite ns "$INSTALL_NAMESPACE" security.openshift.io/scc.podSecurityLabelSync=false
oc label --overwrite ns "$INSTALL_NAMESPACE" pod-security.kubernetes.io/enforce=privileged

operator-sdk run bundle -n "$INSTALL_NAMESPACE" quay.io/medik8s/self-node-remediation-operator-bundle:latest
operator-sdk run bundle -n "$INSTALL_NAMESPACE" "$OO_BUNDLE"
oc wait --for condition=Available -n "$INSTALL_NAMESPACE" deployment node-healthcheck-controller-manager
dependencies:
- env: OO_BUNDLE
name: my-bundle
env:
- name: INSTALL_NAMESPACE
from: operator-sdk
resources:
requests:
cpu: 100m
memory: 200Mi
- as: e2e-test
cli: latest
commands: export OPERATOR_NS="$INSTALL_NAMESPACE" && make test-e2e
env:
- name: INSTALL_NAMESPACE
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: ipi-aws
zz_generated_metadata:
branch: release-0.8
org: medik8s
repo: node-healthcheck-operator
variant: "4.14"
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
base_images:
base:
name: ubi
namespace: ocp
tag: "9"
operator-sdk:
name: "4.14"
namespace: origin
tag: operator-sdk
binary_build_commands: make manager
build_root:
from_repository: true
images:
- dockerfile_path: Dockerfile
from: base
to: node-healthcheck-operator
operator:
bundles:
- as: my-bundle
dockerfile_path: bundle.ci.Dockerfile
skip_building_index: true
substitutions:
- pullspec: quay.io/medik8s/node-healthcheck-operator:.*
with: pipeline:node-healthcheck-operator
releases:
latest:
candidate:
architecture: amd64
product: ocp
stream: nightly
version: "4.15"
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: test
commands: make test
container:
from: src
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
- as: openshift-e2e
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: medik8s-aws
env:
BASE_DOMAIN: medik8s-ci.projects.ecosystem.sysdeseng.com
INSTALL_NAMESPACE: nhc-install
test:
- as: e2e-install
cli: latest
commands: |
oc create namespace "$INSTALL_NAMESPACE"

# workaround for OLM pod not running with restricted PSA
oc label --overwrite ns "$INSTALL_NAMESPACE" security.openshift.io/scc.podSecurityLabelSync=false
oc label --overwrite ns "$INSTALL_NAMESPACE" pod-security.kubernetes.io/enforce=privileged

operator-sdk run bundle -n "$INSTALL_NAMESPACE" quay.io/medik8s/self-node-remediation-operator-bundle:latest
operator-sdk run bundle -n "$INSTALL_NAMESPACE" "$OO_BUNDLE"
oc wait --for condition=Available -n "$INSTALL_NAMESPACE" deployment node-healthcheck-controller-manager
dependencies:
- env: OO_BUNDLE
name: my-bundle
env:
- name: INSTALL_NAMESPACE
from: operator-sdk
resources:
requests:
cpu: 100m
memory: 200Mi
- as: e2e-test
cli: latest
commands: export OPERATOR_NS="$INSTALL_NAMESPACE" && make test-e2e
env:
- name: INSTALL_NAMESPACE
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: ipi-aws
zz_generated_metadata:
branch: release-0.8
org: medik8s
repo: node-healthcheck-operator
variant: "4.15"
Loading