mirror of https://github.com/containers/podman.git
cirrus: use fastvm for builds
Builds now take over 10 mins, given golang compilation is parallelized by default we can give more cores to speed it up. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
d512e44147
commit
39963cc984
14
.cirrus.yml
14
.cirrus.yml
|
|
@ -129,10 +129,10 @@ validate-source_task:
|
||||||
build_task:
|
build_task:
|
||||||
alias: 'build'
|
alias: 'build'
|
||||||
name: 'Build for $DISTRO_NV' # N/B: Referenced by URLencoded strings elsewhere
|
name: 'Build for $DISTRO_NV' # N/B: Referenced by URLencoded strings elsewhere
|
||||||
gce_instance: &standardvm
|
gce_instance: &fastvm
|
||||||
image_project: libpod-218412
|
image_project: libpod-218412
|
||||||
zone: "us-central1-a"
|
zone: "us-central1-a"
|
||||||
cpu: 2
|
cpu: 4
|
||||||
memory: "4Gb"
|
memory: "4Gb"
|
||||||
# Required to be 200gig, do not modify - has i/o performance impact
|
# Required to be 200gig, do not modify - has i/o performance impact
|
||||||
# according to gcloud CLI tool warning messages.
|
# according to gcloud CLI tool warning messages.
|
||||||
|
|
@ -232,7 +232,7 @@ alt_build_task:
|
||||||
env:
|
env:
|
||||||
<<: *stdenvars
|
<<: *stdenvars
|
||||||
TEST_FLAVOR: "altbuild"
|
TEST_FLAVOR: "altbuild"
|
||||||
gce_instance: *standardvm
|
gce_instance: *fastvm
|
||||||
matrix:
|
matrix:
|
||||||
- env:
|
- env:
|
||||||
ALT_NAME: 'Build Each Commit'
|
ALT_NAME: 'Build Each Commit'
|
||||||
|
|
@ -380,7 +380,9 @@ bindings_task:
|
||||||
(changesInclude('**/*.go', '**/*.c', '**/*.h') && !changesIncludeOnly('test/**', 'pkg/machine/e2e/**'))
|
(changesInclude('**/*.go', '**/*.c', '**/*.h') && !changesIncludeOnly('test/**', 'pkg/machine/e2e/**'))
|
||||||
depends_on: &build
|
depends_on: &build
|
||||||
- build_success
|
- build_success
|
||||||
gce_instance: *standardvm
|
gce_instance: &standardvm
|
||||||
|
<<: *fastvm
|
||||||
|
cpu: 2
|
||||||
env:
|
env:
|
||||||
<<: *stdenvars
|
<<: *stdenvars
|
||||||
TEST_FLAVOR: bindings
|
TEST_FLAVOR: bindings
|
||||||
|
|
@ -626,9 +628,7 @@ local_integration_test_task: &local_integration_test_task
|
||||||
matrix: *platform_axis
|
matrix: *platform_axis
|
||||||
# integration tests scale well with cpu as they are parallelized
|
# integration tests scale well with cpu as they are parallelized
|
||||||
# so we give these tests 4 cores to make them faster
|
# so we give these tests 4 cores to make them faster
|
||||||
gce_instance: &fastvm
|
gce_instance: *fastvm
|
||||||
<<: *standardvm
|
|
||||||
cpu: 4
|
|
||||||
env:
|
env:
|
||||||
TEST_FLAVOR: int
|
TEST_FLAVOR: int
|
||||||
clone_script: *get_gosrc
|
clone_script: *get_gosrc
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue