mirror of
https://github.com/containers/skopeo.git
synced 2025-08-09 18:38:06 +00:00
Cirrus: Rename cross -> osx task, add cross task.
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
846ea33b40
commit
97eaace7db
27
.cirrus.yml
27
.cirrus.yml
@ -66,8 +66,10 @@ validate_task:
|
|||||||
make vendor && hack/tree_status.sh
|
make vendor && hack/tree_status.sh
|
||||||
|
|
||||||
|
|
||||||
cross_task:
|
osx_task:
|
||||||
only_if: ¬_docs $CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*'
|
only_if: ¬_docs $CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*'
|
||||||
|
depends_on:
|
||||||
|
- validate
|
||||||
macos_instance:
|
macos_instance:
|
||||||
image: catalina-xcode
|
image: catalina-xcode
|
||||||
setup_script: |
|
setup_script: |
|
||||||
@ -84,6 +86,28 @@ cross_task:
|
|||||||
/usr/local/bin/skopeo -v
|
/usr/local/bin/skopeo -v
|
||||||
|
|
||||||
|
|
||||||
|
cross_task:
|
||||||
|
alias: cross
|
||||||
|
only_if: *not_docs
|
||||||
|
depends_on:
|
||||||
|
- validate
|
||||||
|
gce_instance:
|
||||||
|
image_project: libpod-218412
|
||||||
|
zone: "us-central1-f"
|
||||||
|
cpu: 2
|
||||||
|
memory: "4Gb"
|
||||||
|
# Required to be 200gig, do not modify - has i/o performance impact
|
||||||
|
# according to gcloud CLI tool warning messages.
|
||||||
|
disk: 200
|
||||||
|
image_name: ${FEDORA_CACHE_IMAGE_NAME}
|
||||||
|
env:
|
||||||
|
BUILDTAGS: 'btrfs_noversion libdm_no_deferred_remove containers_image_openpgp'
|
||||||
|
setup_script: >-
|
||||||
|
"${GOSRC}/${SCRIPT_BASE}/runner.sh" setup
|
||||||
|
cross_script: >-
|
||||||
|
"${GOSRC}/${SCRIPT_BASE}/runner.sh" cross
|
||||||
|
|
||||||
|
|
||||||
#####
|
#####
|
||||||
##### NOTE: This task is subtantially duplicated in the containers/image
|
##### NOTE: This task is subtantially duplicated in the containers/image
|
||||||
##### repository's `.cirrus.yml`. Changes made here should be fully merged
|
##### repository's `.cirrus.yml`. Changes made here should be fully merged
|
||||||
@ -161,6 +185,7 @@ success_task:
|
|||||||
# N/B: ALL tasks must be listed here, minus their '_task' suffix.
|
# N/B: ALL tasks must be listed here, minus their '_task' suffix.
|
||||||
depends_on:
|
depends_on:
|
||||||
- validate
|
- validate
|
||||||
|
- osx
|
||||||
- cross
|
- cross
|
||||||
- test_skopeo
|
- test_skopeo
|
||||||
- meta
|
- meta
|
||||||
|
@ -57,6 +57,10 @@ _run_build() {
|
|||||||
podmanmake bin/skopeo BUILDTAGS="$BUILDTAGS"
|
podmanmake bin/skopeo BUILDTAGS="$BUILDTAGS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_run_cross() {
|
||||||
|
podmanmake local-cross BUILDTAGS="$BUILDTAGS"
|
||||||
|
}
|
||||||
|
|
||||||
_run_validate() {
|
_run_validate() {
|
||||||
podmanmake validate-local BUILDTAGS="$BUILDTAGS"
|
podmanmake validate-local BUILDTAGS="$BUILDTAGS"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user