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
@@ -0,0 +1,92 @@
base_images:
dev-scripts:
name: test
namespace: ocp-kni
tag: dev-scripts
build_root:
project_image:
dockerfile_path: Dockerfile.openshift-appliance-build
images:
items:
- dockerfile_literal: |
FROM ubi9-minimal
RUN rm -rf /etc/yum.repos.d/*
RUN curl http://base-4-20-rhel9.ocp.svc > /etc/yum.repos.d/base-4-20-rhel9.repo
to: ubi9-minimal-entitled
- dockerfile_path: Dockerfile.openshift-appliance
from: ubi9-minimal-entitled
to: agent-preinstall-image-builder
promotion:
to:
- excluded_images:
- ubi9-minimal-entitled
name: "5.0"
namespace: ocp
releases:
initial:
integration:
name: "5.0"
namespace: ocp
latest:
integration:
include_built_images: true
name: "5.0"
namespace: ocp
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
test_binary_build_commands: |
mkdir /.cache && chmod 775 -R /.cache ${GOPATH}
tests:
- as: lint
commands: |
make lint
container:
from: test-bin
- as: unit-test
commands: |
make unit-test
container:
from: test-bin
run_if_changed: ^(cmd/.*|data/.*|hack/.*|pkg/.*|Dockerfile\..*|Makefile|go\.mod|go\.sum)$
- as: publish
cron: '@daily'
steps:
dependencies:
SOURCE_IMAGE_REF: agent-preinstall-image-builder
env:
IMAGE_REPO: openshift-appliance
IMAGE_TAG: latest
test:
- ref: assisted-baremetal-images-publish
- as: e2e-compact-ipv4-static
capabilities:
- intranet
run_if_changed: ^(cmd/.*|data/.*|pkg/.*|Dockerfile\..*|Makefile|go\.mod|go\.sum)$
steps:
allow_skip_on_success: true
cluster_profile: packet-assisted
workflow: agent-e2e-appliance-ipv4
- always_run: false
as: e2e-sno-dualstack-dhcp
capabilities:
- intranet
optional: true
run_if_changed: ^(cmd/.*|data/.*|pkg/.*|Dockerfile\..*|Makefile|go\.mod|go\.sum)$
steps:
allow_skip_on_success: true
cluster_profile: packet-assisted
workflow: agent-e2e-appliance-dualstack
- as: e2e-sno-dualstack-dhcp-periodic
capabilities:
- intranet
cron: 00 00 */1 * 5
steps:
cluster_profile: packet-assisted
workflow: agent-e2e-appliance-dualstack
Comment thread
coderabbitai[bot] marked this conversation as resolved.
zz_generated_metadata:
branch: agent-preinstall-image-builder
org: openshift
repo: appliance
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ images:
to: ubi9-minimal-entitled
- dockerfile_path: Dockerfile.openshift-appliance
from: ubi9-minimal-entitled
to: agent-preinstall-image-builder
to: agent-release-iso-builder
promotion:
to:
- name: "5.0"
- excluded_images:
- ubi9-minimal-entitled
name: "5.0"
namespace: ocp
releases:
initial:
Expand Down Expand Up @@ -49,16 +51,6 @@ tests:
container:
from: test-bin
run_if_changed: ^(cmd/.*|data/.*|hack/.*|pkg/.*|Dockerfile\..*|Makefile|go\.mod|go\.sum)$
- as: publish
cron: '@daily'
steps:
dependencies:
SOURCE_IMAGE_REF: agent-preinstall-image-builder
env:
IMAGE_REPO: openshift-appliance
IMAGE_TAG: latest
test:
- ref: assisted-baremetal-images-publish
- always_run: false
as: e2e-agent-compact-ipv4-iso-no-registry
capabilities:
Expand All @@ -68,7 +60,7 @@ tests:
steps:
cluster_profile: equinix-ocp-metal
dependencies:
APPLIANCE_IMAGE: agent-preinstall-image-builder
APPLIANCE_IMAGE: agent-release-iso-builder
env:
AGENT_E2E_TEST_BOOT_MODE: ISO_NO_REGISTRY
DEVSCRIPTS_CONFIG: |
Expand All @@ -84,6 +76,8 @@ tests:
steps:
allow_skip_on_success: true
cluster_profile: packet-assisted
dependencies:
APPLIANCE_IMAGE: agent-release-iso-builder
workflow: agent-e2e-appliance-ipv4
- always_run: false
as: e2e-sno-dualstack-dhcp
Expand All @@ -95,14 +89,16 @@ tests:
allow_skip_on_success: true
cluster_profile: packet-assisted
dependencies:
APPLIANCE_IMAGE: agent-preinstall-image-builder
APPLIANCE_IMAGE: agent-release-iso-builder
workflow: agent-e2e-appliance-dualstack
- as: e2e-sno-dualstack-dhcp-periodic
capabilities:
- intranet
cron: 00 00 */1 * 5
steps:
cluster_profile: packet-assisted
dependencies:
APPLIANCE_IMAGE: agent-release-iso-builder
workflow: agent-e2e-appliance-dualstack
zz_generated_metadata:
branch: master
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ images:
to: agent-preinstall-image-builder
promotion:
to:
- name: "4.21"
- excluded_images:
- ubi9-minimal-entitled
name: "4.21"
namespace: ocp
releases:
initial:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ images:
to: agent-preinstall-image-builder
promotion:
to:
- name: "4.22"
- excluded_images:
- ubi9-minimal-entitled
name: "4.22"
namespace: ocp
releases:
initial:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ images:
to: ubi9-minimal-entitled
- dockerfile_path: Dockerfile.openshift-appliance
from: ubi9-minimal-entitled
to: agent-preinstall-image-builder
to: agent-release-iso-builder
promotion:
to:
- name: "4.23"
- excluded_images:
- ubi9-minimal-entitled
name: "4.23"
namespace: ocp
releases:
initial:
Expand Down Expand Up @@ -58,7 +60,7 @@ tests:
steps:
cluster_profile: equinix-ocp-metal
dependencies:
APPLIANCE_IMAGE: agent-preinstall-image-builder
APPLIANCE_IMAGE: agent-release-iso-builder
env:
AGENT_E2E_TEST_BOOT_MODE: ISO_NO_REGISTRY
DEVSCRIPTS_CONFIG: |
Expand All @@ -74,6 +76,8 @@ tests:
steps:
allow_skip_on_success: true
cluster_profile: packet-assisted
dependencies:
APPLIANCE_IMAGE: agent-release-iso-builder
workflow: agent-e2e-appliance-ipv4
- always_run: false
as: e2e-sno-dualstack-dhcp
Expand All @@ -85,7 +89,7 @@ tests:
allow_skip_on_success: true
cluster_profile: packet-assisted
dependencies:
APPLIANCE_IMAGE: agent-preinstall-image-builder
APPLIANCE_IMAGE: agent-release-iso-builder
workflow: agent-e2e-appliance-dualstack
zz_generated_metadata:
branch: release-4.23
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ images:
to: ubi9-minimal-entitled
- dockerfile_path: Dockerfile.openshift-appliance
from: ubi9-minimal-entitled
to: agent-preinstall-image-builder
to: agent-release-iso-builder
promotion:
to:
- disabled: true
excluded_images:
- ubi9-minimal-entitled
name: "5.0"
namespace: ocp
releases:
Expand Down Expand Up @@ -59,7 +61,7 @@ tests:
steps:
cluster_profile: equinix-ocp-metal
dependencies:
APPLIANCE_IMAGE: agent-preinstall-image-builder
APPLIANCE_IMAGE: agent-release-iso-builder
env:
AGENT_E2E_TEST_BOOT_MODE: ISO_NO_REGISTRY
DEVSCRIPTS_CONFIG: |
Expand All @@ -75,6 +77,8 @@ tests:
steps:
allow_skip_on_success: true
cluster_profile: packet-assisted
dependencies:
APPLIANCE_IMAGE: agent-release-iso-builder
workflow: agent-e2e-appliance-ipv4
- always_run: false
as: e2e-sno-dualstack-dhcp
Expand All @@ -86,7 +90,7 @@ tests:
allow_skip_on_success: true
cluster_profile: packet-assisted
dependencies:
APPLIANCE_IMAGE: agent-preinstall-image-builder
APPLIANCE_IMAGE: agent-release-iso-builder
workflow: agent-e2e-appliance-dualstack
zz_generated_metadata:
branch: release-5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ images:
to: ubi9-minimal-entitled
- dockerfile_path: Dockerfile.openshift-appliance
from: ubi9-minimal-entitled
to: agent-preinstall-image-builder
to: agent-release-iso-builder
promotion:
to:
- name: "5.1"
- excluded_images:
- ubi9-minimal-entitled
name: "5.1"
namespace: ocp
releases:
initial:
Expand Down Expand Up @@ -58,7 +60,7 @@ tests:
steps:
cluster_profile: equinix-ocp-metal
dependencies:
APPLIANCE_IMAGE: agent-preinstall-image-builder
APPLIANCE_IMAGE: agent-release-iso-builder
env:
AGENT_E2E_TEST_BOOT_MODE: ISO_NO_REGISTRY
DEVSCRIPTS_CONFIG: |
Expand All @@ -74,6 +76,8 @@ tests:
steps:
allow_skip_on_success: true
cluster_profile: packet-assisted
dependencies:
APPLIANCE_IMAGE: agent-release-iso-builder
workflow: agent-e2e-appliance-ipv4
- always_run: false
as: e2e-sno-dualstack-dhcp
Expand All @@ -85,7 +89,7 @@ tests:
allow_skip_on_success: true
cluster_profile: packet-assisted
dependencies:
APPLIANCE_IMAGE: agent-preinstall-image-builder
APPLIANCE_IMAGE: agent-release-iso-builder
workflow: agent-e2e-appliance-dualstack
zz_generated_metadata:
branch: release-5.1
Expand Down
Loading