Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
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 @@ -38,22 +38,15 @@ images:
FROM src as rpms
RUN dnf install --setopt=tsflags=nodocs -y selinux-policy-devel
RUN make rpm && TARGET_ARCH=aarch64 make rpm
RUN tar cvf /rpms.tar -C _output/rpmbuild/RPMS/ .

FROM test-runtime
USER root
ENV HOME=/tmp/secret
ENV PAYLOAD_PATH=$HOME/payload
WORKDIR $PAYLOAD_PATH

COPY oc openshift-tests usr/bin/
RUN chmod 755 usr/bin/oc && ln -rs usr/bin/oc usr/bin/kubectl
COPY oc openshift-tests /usr/bin/
RUN ln -rs /usr/bin/oc /usr/bin/kubectl

COPY validate-microshift /tmp/validate-microshift
COPY busybox_running_check.sh configure-vm.sh usr/bin/
RUN chmod 755 usr/bin/configure-vm.sh usr/bin/busybox_running_check.sh

COPY --from=rpms /go/src/github.com/openshift/microshift/_output/rpmbuild/RPMS/*/*.rpm packages/
RUN tar -cvf payload.tar . && chmod -R a+rw "${HOME}"
COPY microshift /microshift
COPY --from=rpms /rpms.tar /rpms.tar
inputs:
cli:
paths:
Expand All @@ -64,12 +57,6 @@ images:
- src
paths:
- destination_dir: .
source_path: /go/src/github.com/openshift/microshift/scripts/devenv-builder/configure-vm.sh
- destination_dir: .
source_path: /go/src/github.com/openshift/microshift/validate-microshift
- destination_dir: .
source_path: /go/src/github.com/openshift/microshift/docs/config/busybox_running_check.sh
- destination_dir: ./microshift
source_path: /go/src/github.com/openshift/microshift
test-bin:
paths:
Expand Down Expand Up @@ -150,52 +137,16 @@ tests:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-arm64-v20230306
GOOGLE_COMPUTE_MACHINE_TYPE: t2a-standard-4
workflow: openshift-microshift-e2e-openshift-conformance-reduced
- as: e2e-reboot
cluster: build02
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-v20230203
workflow: openshift-microshift-e2e-reboot-tests
- as: e2e-reboot-arm
cluster: build02
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-arm64-v20230306
GOOGLE_COMPUTE_MACHINE_TYPE: t2a-standard-4
workflow: openshift-microshift-e2e-reboot-tests
- as: e2e-greenboot
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|scripts/.*|vendor/.*|go\.sum|go\.mod|Makefile)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-v20230203
workflow: openshift-microshift-e2e-greenboot
- as: e2e-greenboot-arm
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|scripts/.*|vendor/.*|go\.sum|go\.mod|Makefile)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-arm64-v20230306
GOOGLE_COMPUTE_MACHINE_TYPE: t2a-standard-4
workflow: openshift-microshift-e2e-greenboot
- as: e2e-router-smoke-test
- as: microshift-e2e
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile|.*\.sh)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-v20230203
workflow: openshift-microshift-e2e-router-smoke-test
- as: e2e-router-smoke-test-arm
workflow: openshift-microshift-e2e-microshift-tests
- as: microshift-e2e-arm
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile|.*\.sh)
Expand All @@ -204,30 +155,11 @@ tests:
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-arm64-v20230306
GOOGLE_COMPUTE_MACHINE_TYPE: t2a-standard-4
workflow: openshift-microshift-e2e-router-smoke-test
workflow: openshift-microshift-e2e-microshift-tests
- as: rebase-on-nightlies
cron: 0 5 * * 1-5
steps:
workflow: openshift-microshift-rebase
- as: e2e-loadbalancer-smoke-test
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile|.*\.sh)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-v20230203
workflow: openshift-microshift-e2e-loadbalancer-smoke-test
- as: e2e-loadbalancer-smoke-test-arm
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile|.*\.sh)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-arm64-v20230306
GOOGLE_COMPUTE_MACHINE_TYPE: t2a-standard-4
workflow: openshift-microshift-e2e-loadbalancer-smoke-test
zz_generated_metadata:
branch: main
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,15 @@ images:
FROM src as rpms
RUN dnf install --setopt=tsflags=nodocs -y selinux-policy-devel
RUN make rpm
RUN tar cvf /rpms.tar -C _output/rpmbuild/RPMS/ .

FROM test-runtime
USER root
ENV HOME=/tmp/secret
ENV PAYLOAD_PATH=$HOME/payload
WORKDIR $PAYLOAD_PATH

COPY oc openshift-tests usr/bin/
RUN chmod 755 usr/bin/oc && ln -rs usr/bin/oc usr/bin/kubectl
COPY oc openshift-tests /usr/bin/
RUN ln -rs /usr/bin/oc /usr/bin/kubectl

COPY validate-microshift /tmp/validate-microshift
COPY configure-vm.sh usr/bin/
RUN chmod 755 usr/bin/configure-vm.sh

COPY --from=rpms /go/src/github.com/openshift/microshift/_output/rpmbuild/RPMS/*/*.rpm packages/
RUN tar -cvf payload.tar . && chmod -R a+rw "${HOME}"
COPY microshift /microshift
COPY --from=rpms /rpms.tar /rpms.tar
inputs:
cli:
paths:
Expand All @@ -64,10 +57,6 @@ images:
- src
paths:
- destination_dir: .
source_path: /go/src/github.com/openshift/microshift/scripts/devenv-builder/configure-vm.sh
- destination_dir: .
source_path: /go/src/github.com/openshift/microshift/validate-microshift
- destination_dir: ./microshift
source_path: /go/src/github.com/openshift/microshift
test-bin:
paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,15 @@ images:
FROM src as rpms
RUN dnf install --setopt=tsflags=nodocs -y selinux-policy-devel
RUN make rpm && TARGET_ARCH=aarch64 make rpm
RUN tar cvf /rpms.tar -C _output/rpmbuild/RPMS/ .

FROM test-runtime
USER root
ENV HOME=/tmp/secret
ENV PAYLOAD_PATH=$HOME/payload
WORKDIR $PAYLOAD_PATH

COPY oc openshift-tests usr/bin/
RUN chmod 755 usr/bin/oc && ln -rs usr/bin/oc usr/bin/kubectl
COPY oc openshift-tests /usr/bin/
RUN ln -rs /usr/bin/oc /usr/bin/kubectl

COPY validate-microshift /tmp/validate-microshift
COPY busybox_running_check.sh configure-vm.sh usr/bin/
RUN chmod 755 usr/bin/configure-vm.sh usr/bin/busybox_running_check.sh

COPY --from=rpms /go/src/github.com/openshift/microshift/_output/rpmbuild/RPMS/*/*.rpm packages/
RUN tar -cvf payload.tar . && chmod -R a+rw "${HOME}"
COPY microshift /microshift
COPY --from=rpms /rpms.tar /rpms.tar
inputs:
cli:
paths:
Expand All @@ -64,12 +57,6 @@ images:
- src
paths:
- destination_dir: .
source_path: /go/src/github.com/openshift/microshift/scripts/devenv-builder/configure-vm.sh
- destination_dir: .
source_path: /go/src/github.com/openshift/microshift/validate-microshift
- destination_dir: .
source_path: /go/src/github.com/openshift/microshift/docs/config/busybox_running_check.sh
- destination_dir: ./microshift
source_path: /go/src/github.com/openshift/microshift
test-bin:
paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,15 @@ images:
FROM src as rpms
RUN dnf install --setopt=tsflags=nodocs -y selinux-policy-devel
RUN make rpm && TARGET_ARCH=aarch64 make rpm
RUN tar cvf /rpms.tar -C _output/rpmbuild/RPMS/ .

FROM test-runtime
USER root
ENV HOME=/tmp/secret
ENV PAYLOAD_PATH=$HOME/payload
WORKDIR $PAYLOAD_PATH

COPY oc openshift-tests usr/bin/
RUN chmod 755 usr/bin/oc && ln -rs usr/bin/oc usr/bin/kubectl
COPY oc openshift-tests /usr/bin/
RUN ln -rs /usr/bin/oc /usr/bin/kubectl

COPY validate-microshift /tmp/validate-microshift
COPY busybox_running_check.sh configure-vm.sh usr/bin/
RUN chmod 755 usr/bin/configure-vm.sh usr/bin/busybox_running_check.sh

COPY --from=rpms /go/src/github.com/openshift/microshift/_output/rpmbuild/RPMS/*/*.rpm packages/
RUN tar -cvf payload.tar . && chmod -R a+rw "${HOME}"
COPY microshift /microshift
COPY --from=rpms /rpms.tar /rpms.tar
inputs:
cli:
paths:
Expand All @@ -64,12 +57,6 @@ images:
- src
paths:
- destination_dir: .
source_path: /go/src/github.com/openshift/microshift/scripts/devenv-builder/configure-vm.sh
- destination_dir: .
source_path: /go/src/github.com/openshift/microshift/validate-microshift
- destination_dir: .
source_path: /go/src/github.com/openshift/microshift/docs/config/busybox_running_check.sh
- destination_dir: ./microshift
source_path: /go/src/github.com/openshift/microshift
test-bin:
paths:
Expand Down Expand Up @@ -151,71 +138,16 @@ tests:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-arm64-v20230306
GOOGLE_COMPUTE_MACHINE_TYPE: t2a-standard-4
workflow: openshift-microshift-e2e-openshift-conformance-reduced
- as: e2e-reboot
cluster: build02
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-v20230203
workflow: openshift-microshift-e2e-reboot-tests
- as: e2e-reboot-arm
cluster: build02
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-arm64-v20230306
GOOGLE_COMPUTE_MACHINE_TYPE: t2a-standard-4
workflow: openshift-microshift-e2e-reboot-tests
- as: e2e-greenboot
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|scripts/.*|vendor/.*|go\.sum|go\.mod|Makefile)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-v20230203
workflow: openshift-microshift-e2e-greenboot
- as: e2e-greenboot-arm
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|scripts/.*|vendor/.*|go\.sum|go\.mod|Makefile)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-arm64-v20230306
GOOGLE_COMPUTE_MACHINE_TYPE: t2a-standard-4
workflow: openshift-microshift-e2e-greenboot
- as: e2e-router-smoke-test
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile|.*\.sh)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-v20230203
workflow: openshift-microshift-e2e-router-smoke-test
- as: e2e-router-smoke-test-arm
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile|.*\.sh)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-arm64-v20230306
GOOGLE_COMPUTE_MACHINE_TYPE: t2a-standard-4
workflow: openshift-microshift-e2e-router-smoke-test
- as: e2e-loadbalancer-smoke-test
- as: microshift-e2e
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile|.*\.sh)
steps:
cluster_profile: gcp
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-v20230203
workflow: openshift-microshift-e2e-loadbalancer-smoke-test
- as: e2e-loadbalancer-smoke-test-arm
workflow: openshift-microshift-e2e-microshift-tests
- as: microshift-e2e-arm
cluster: build02
optional: true
run_if_changed: ^(assets/.*|cmd/.*|etcd/.*|pkg/.*|packaging/.*|vendor/.*|go\.sum|go\.mod|Makefile|.*\.sh)
Expand All @@ -224,7 +156,7 @@ tests:
env:
GOOGLE_COMPUTE_IMAGE_NAME: rhel-9-arm64-v20230306
GOOGLE_COMPUTE_MACHINE_TYPE: t2a-standard-4
workflow: openshift-microshift-e2e-loadbalancer-smoke-test
workflow: openshift-microshift-e2e-microshift-tests
zz_generated_metadata:
branch: release-4.14
org: openshift
Expand Down
Loading