Merge pull request #5131 from openshift-cherrypick-robot/cherry-pick-5120-to-release-1.26
[release-1.26] run the cross-compile test on M1 MacOS, not Intel
This commit is contained in:
commit
ca5131d0f1
|
|
@ -137,7 +137,7 @@ cross_build_task:
|
|||
only_if: ¬_docs $CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*'
|
||||
|
||||
osx_instance:
|
||||
image: 'big-sur-base'
|
||||
image: ghcr.io/cirruslabs/macos-ventura-base:latest
|
||||
|
||||
script:
|
||||
- brew update
|
||||
|
|
@ -185,7 +185,7 @@ conformance_task:
|
|||
gce_instance:
|
||||
image_name: "${UBUNTU_CACHE_IMAGE_NAME}"
|
||||
|
||||
timeout_in: 25m
|
||||
timeout_in: 45m
|
||||
|
||||
matrix:
|
||||
- env:
|
||||
|
|
|
|||
|
|
@ -323,7 +323,7 @@ cat /etc/containers/registries.conf
|
|||
# and 'registries.block'.
|
||||
|
||||
[registries.search]
|
||||
registries = ['docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.access.redhat.com', 'registry.centos.org']
|
||||
registries = ['docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.access.redhat.com']
|
||||
|
||||
# If you need to access insecure registries, add the registry's fully-qualified name.
|
||||
# An insecure registry is one that does not have a valid SSL certificate or only does HTTP.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM registry.centos.org/centos/centos:centos7 AS base
|
||||
FROM docker.io/library/centos:centos7 AS base
|
||||
RUN touch -t 201701261659.13 /1
|
||||
ENV LOCAL=/1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
FROM registry.centos.org/centos/centos:centos7
|
||||
FROM docker.io/library/centos:centos7
|
||||
SHELL ["/bin/bash", "-xc"]
|
||||
RUN env
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
FROM registry.centos.org/centos/centos:centos7
|
||||
FROM docker.io/library/centos:centos7
|
||||
COPY script /usr/bin
|
||||
RUN ls -al /usr/bin/script
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
FROM registry.centos.org/centos/centos:centos7
|
||||
FROM docker.io/library/centos:centos7
|
||||
COPY dir /dir
|
||||
RUN ls -al /dir/file
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
FROM registry.centos.org/centos/centos:centos7
|
||||
FROM docker.io/library/centos:centos7
|
||||
COPY file1 /usr/bin/file2
|
||||
RUN ls -al /usr/bin/file2 && ! ls -al /usr/bin/file1
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
FROM registry.centos.org/centos/centos:centos7
|
||||
FROM docker.io/library/centos:centos7
|
||||
COPY file-link.tar.gz /
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
FROM registry.centos.org/centos/centos:centos7
|
||||
FROM docker.io/library/centos:centos7
|
||||
COPY file.tar.gz /
|
||||
RUN ln -s file.tar.gz file-link.tar.gz
|
||||
RUN ls -l /file-link.tar.gz
|
||||
FROM registry.centos.org/centos/centos:centos7
|
||||
FROM docker.io/library/centos:centos7
|
||||
COPY --from=0 /file-link.tar.gz /
|
||||
RUN ls -l /file-link.tar.gz
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ load helpers
|
|||
skip_if_no_runtime
|
||||
|
||||
# Build a container to use for building the binaries.
|
||||
image=registry.centos.org/centos/centos:centos7
|
||||
image=docker.io/library/centos:centos7
|
||||
cid=$(buildah from --pull --signature-policy ${TEST_SOURCES}/policy.json $image)
|
||||
root=$(buildah mount $cid)
|
||||
commit=$(git log --format=%H -n 1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue