diff --git a/.cirrus.yml b/.cirrus.yml index 26f32c41..d0b80d47 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -6,7 +6,7 @@ env: #### Global variables used for all tasks #### # Name of the ultimate destination branch for this CI run, PR or post-merge. - DEST_BRANCH: "master" + DEST_BRANCH: "main" # Overrides default location (/tmp/cirrus) for repo clone GOPATH: &gopath "/var/tmp/go" GOBIN: "${GOPATH}/bin" @@ -46,7 +46,7 @@ env: # Default timeout for each task -timeout_in: 30m +timeout_in: 45m gcp_credentials: ENCRYPTED[52d9e807b531b37ab14e958cb5a72499460663f04c8d73e22ad608c027a31118420f1c80f0be0882fbdf96f49d8f9ac0] diff --git a/Dockerfile b/Dockerfile index 15ea9eee..8e97b88b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,7 @@ RUN dnf -y update && dnf install -y make git golang golang-github-cpuguy83-md2ma # both. This allows integration-cli tests to cover push/pull with both schema1 # and schema2 manifests. RUN set -x \ + && export GO111MODULE=off \ && REGISTRY_COMMIT_SCHEMA1=ec87e9b6971d831f0eff752ddb54fb64693e51cd \ && REGISTRY_COMMIT=47a064d4195a9b56133891bbb13620c3ac83a827 \ && export GOPATH="$(mktemp -d)" \ @@ -34,6 +35,7 @@ RUN set -x \ && rm -rf "$GOPATH" RUN set -x \ + && export GO111MODULE=off \ && export GOPATH=$(mktemp -d) \ && git clone --depth 1 -b v1.5.0-alpha.3 git://github.com/openshift/origin "$GOPATH/src/github.com/openshift/origin" \ # The sed edits out a "go < 1.5" check which works incorrectly with go ≥ 1.10. \ diff --git a/hack/make/.validate b/hack/make/.validate index dbe2c7eb..c72a5a4e 100644 --- a/hack/make/.validate +++ b/hack/make/.validate @@ -5,7 +5,7 @@ if [ -z "$VALIDATE_UPSTREAM" ]; then # are running more than one validate bundlescript VALIDATE_REPO='https://github.com/containers/skopeo.git' - VALIDATE_BRANCH='master' + VALIDATE_BRANCH='main' if [ "$TRAVIS" = 'true' -a "$TRAVIS_PULL_REQUEST" != 'false' ]; then VALIDATE_REPO="https://github.com/${TRAVIS_REPO_SLUG}.git"