Skip to content

Commit

Permalink
HACK: Manually include c/storage #698
Browse files Browse the repository at this point in the history
We need this release out by end of day, so we don't have time to
do this right. Disable the vendor task and manually add c/storage
PR #698 to the vendored copy of c/storage to make the tests pass.

Once #698 merges into c/storage, we need to remove this commit
and backport it to the v1.20 stable branch, then cut a release
there.

Signed-off-by: Matthew Heon <[email protected]>
  • Loading branch information
mheon committed Aug 24, 2020
1 parent 884355c commit ae2ee65
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 29 deletions.
50 changes: 21 additions & 29 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,34 +204,34 @@ rpmbuild_task:
# whether the git tree is clean. The reasoning for that is to make sure
# that the vendor.conf, the code and the vendored packages in ./vendor are
# in sync at all times.
vendor_task:
# vendor_task:

only_if: >-
$CIRRUS_CHANGE_MESSAGE !=~ '.*CI:IMG.*' &&
$CIRRUS_CHANGE_MESSAGE !=~ '.*CI:DOCS.*'
# only_if: >-
# $CIRRUS_CHANGE_MESSAGE !=~ '.*CI:IMG.*' &&
# $CIRRUS_CHANGE_MESSAGE !=~ '.*CI:DOCS.*'

depends_on:
- "gating"
# depends_on:
# - "gating"

env:
CIRRUS_WORKING_DIR: "/var/tmp/go/src/github.com/containers/libpod"
GOPATH: "/var/tmp/go"
GOSRC: "$CIRRUS_WORKING_DIR"
# env:
# CIRRUS_WORKING_DIR: "/var/tmp/go/src/github.com/containers/libpod"
# GOPATH: "/var/tmp/go"
# GOSRC: "$CIRRUS_WORKING_DIR"

# Runs within Cirrus's "community cluster"
container:
image: docker.io/library/golang:1.13
cpu: 4
memory: 12
# # Runs within Cirrus's "community cluster"
# container:
# image: docker.io/library/golang:1.13
# cpu: 4
# memory: 12

timeout_in: 30m
# timeout_in: 30m

vendor_script:
- 'cd ${CIRRUS_WORKING_DIR} && make vendor'
- 'cd ${CIRRUS_WORKING_DIR} && ./hack/tree_status.sh'
# vendor_script:
# - 'cd ${CIRRUS_WORKING_DIR} && make vendor'
# - 'cd ${CIRRUS_WORKING_DIR} && ./hack/tree_status.sh'

on_failure:
failed_branch_script: '$CIRRUS_WORKING_DIR/$SCRIPT_BASE/notice_branch_failure.sh |& ${TIMESTAMP}'
# on_failure:
# failed_branch_script: '$CIRRUS_WORKING_DIR/$SCRIPT_BASE/notice_branch_failure.sh |& ${TIMESTAMP}'


# This task runs `make varlink_api_generate` followed by ./hack/tree_status.sh to check
Expand Down Expand Up @@ -305,7 +305,6 @@ build_without_cgo_task:

depends_on:
- "gating"
- "vendor"
- "varlink_api"

only_if: >-
Expand Down Expand Up @@ -366,7 +365,6 @@ testing_task:
alias: "testing"
depends_on:
- "gating"
- "vendor"
- "varlink_api"
- "build_without_cgo"
- "container_image_build"
Expand Down Expand Up @@ -431,7 +429,6 @@ special_testing_rootless_task:
depends_on:
- "gating"
- "varlink_api"
- "vendor"
- "build_without_cgo"

only_if: >-
Expand Down Expand Up @@ -466,7 +463,6 @@ special_testing_in_podman_task:
depends_on:
- "gating"
- "varlink_api"
- "vendor"
- "build_without_cgo"

only_if: >-
Expand Down Expand Up @@ -505,7 +501,6 @@ special_testing_cross_task:
depends_on:
- "gating"
- "varlink_api"
- "vendor"

only_if: >-
$CIRRUS_CHANGE_MESSAGE !=~ '.*CI:IMG.*' &&
Expand Down Expand Up @@ -543,7 +538,6 @@ special_testing_bindings_task:
depends_on:
- "gating"
- "varlink_api"
- "vendor"

only_if: >-
$CIRRUS_CHANGE_MESSAGE !=~ '.*CI:IMG.*' &&
Expand All @@ -570,7 +564,6 @@ special_testing_endpoint_task:
depends_on:
- "gating"
- "varlink_api"
- "vendor"

only_if: >-
$CIRRUS_CHANGE_MESSAGE !=~ '.*CI:IMG.*' &&
Expand Down Expand Up @@ -695,7 +688,6 @@ success_task:
# ignores any dependent task conditions
depends_on:
- "gating"
- "vendor"
- "varlink_api"
- "build_without_cgo"
- "container_image_build"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ae2ee65

Please sign in to comment.