Skip to content

Commit

Permalink
DNM
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebon committed Dec 19, 2024
1 parent f9e3adc commit 5ee2f1e
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions ci-operator/config/openshift/os/openshift-os-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,27 @@ images:
- build_args:
- name: OPENSHIFT_CI
value: "1"
dockerfile_path: Containerfile
# dockerfile_path: Containerfile
dockerfile_literal: |
FROM quay.io/openshift-release-dev/ocp-v4.0-art-dev:c9s-coreos
ARG OPENSHIFT_CI=0
# Avoid shipping modified .pyc files. Due to https://github.com/ostreedev/ostree/issues/1469,
# any Python apps that run (e.g. dnf) will cause pyc creation.
RUN --mount=type=bind,target=/run/src \
find /usr -name '*.pyc' -exec mv {} {}.bak \; && \
curl -Lo /run/get-ocp-repo.sh https://raw.githubusercontent.com/jlebon/os/refs/heads/pr/get-ocp-repo-tweaks/ci/get-ocp-repo.sh && \
if [ "${OPENSHIFT_CI}" != 0 ]; then bash /run/get-ocp-repo.sh --ocp-layer /run/src/packages-openshift.yaml --output-dir /run/yum.repos.d; fi && \
/run/src/scripts/apply-manifest /run/src/packages-openshift.yaml && \
find /usr -name '*.pyc.bak' -exec sh -c 'mv $1 ${1%.bak}' _ {} \; && \
ostree container commit
from: rhel-coreos-base
to: node
to: rhel-coreos
promotion:
to:
- excluded_images:
- build-image
# we don't promote for now, but we do test with it
- rhel-coreos
name: "4.19"
namespace: ocp
releases:
Expand Down Expand Up @@ -165,6 +179,11 @@ tests:
from: build-image
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
timeout: 3h0m0s
- as: e2e-aws-ovn
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: aws
workflow: openshift-e2e-aws
zz_generated_metadata:
branch: master
org: openshift
Expand Down

0 comments on commit 5ee2f1e

Please sign in to comment.