Skip to content

Commit

Permalink
Cirrus: Make almost all tasks optional
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Evich <[email protected]>
  • Loading branch information
cevich committed Feb 7, 2020
1 parent 8337cb3 commit 9a50c1c
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ gating_task:
GOPATH: "/go"
GOSRC: "/go/src/github.com/containers/libpod"

# TODO: Making this task not-required given the age of this branch
allow_failures: $CI == $CI

# Runs within Cirrus's "community cluster"
container:
image: "quay.io/libpod/gate:v1.4.2-stable"
Expand Down Expand Up @@ -131,7 +134,7 @@ vendor_task:
depends_on:
- "gating"

# Ignoring this task as 'make vendor' doesn't work properly on this branch
# TODO: Making this task not-required given the age of this branch
allow_failures: $CI == $CI

env:
Expand Down Expand Up @@ -165,6 +168,9 @@ varlink_api_task:
depends_on:
- "gating"

# TODO: Making this task not-required given the age of this branch
allow_failures: $CI == $CI

env:
CIRRUS_WORKING_DIR: "/usr/src/libpod"
GOPATH: "/go"
Expand Down Expand Up @@ -199,6 +205,9 @@ build_each_commit_task:
only_if: $CIRRUS_BRANCH != 'v1.4.2-stable' &&
$CIRRUS_CHANGE_MESSAGE !=~ '.*\*\*\*\s*CIRRUS:\s*TEST\s*IMAGES\s*\*\*\*.*'

# TODO: Making this task not-required given the age of this branch
allow_failures: $CI == $CI

gce_instance:
image_project: "libpod-218412"
zone: "us-central1-a" # Required by Cirrus for the time being
Expand Down Expand Up @@ -270,6 +279,9 @@ testing_task:

timeout_in: 120m

# TODO: Making this task not-required given the age of this branch
allow_failures: $CI == $CI

env:
matrix:
TEST_REMOTE_CLIENT: true
Expand Down Expand Up @@ -301,6 +313,9 @@ special_testing_rootless_task:

only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\*\*\*\s*CIRRUS:\s*TEST\s*IMAGES\s*\*\*\*.*'

# TODO: Making this task not-required given the age of this branch
allow_failures: $CI == $CI

env:
SPECIALMODE: 'rootless' # See docs

Expand Down Expand Up @@ -331,6 +346,9 @@ special_testing_in_podman_task:

only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\*\*\*\s*CIRRUS:\s*TEST\s*IMAGES\s*\*\*\*.*'

# TODO: Making this task not-required given the age of this branch
allow_failures: $CI == $CI

env:
SPECIALMODE: 'in_podman' # See docs

Expand Down Expand Up @@ -371,6 +389,9 @@ test_build_cache_images_task:
- compute
- devstorage.full_control

# TODO: Making this task not-required given the age of this branch
allow_failures: $CI == $CI

environment_script: '$SCRIPT_BASE/setup_environment.sh |& ${TIMESTAMP}'
build_vm_images_script: '$SCRIPT_BASE/build_vm_images.sh |& ${TIMESTAMP}'

Expand All @@ -395,6 +416,9 @@ verify_test_built_images_task:
image_name: "fedora-29${BUILT_IMAGE_SUFFIX}"
image_name: "ubuntu-18${BUILT_IMAGE_SUFFIX}"

# TODO: Making this task not-required given the age of this branch
allow_failures: $CI == $CI

env:
matrix:
TEST_REMOTE_CLIENT: true
Expand Down

0 comments on commit 9a50c1c

Please sign in to comment.