.cirrus.yml: refactor
Required by the following commit.
This commit is contained in:
parent
26a53f0d59
commit
d3c8d7bd6f
26
.cirrus.yml
26
.cirrus.yml
@ -1,22 +1,21 @@
|
|||||||
container:
|
task:
|
||||||
|
environment:
|
||||||
|
CACHIX_SIGNING_KEY: ENCRYPTED[!cec502ed813cbcd0237697d2031f750186ff20eed5815b1ad950ad2f2d701702ae6ba2f0cb4cb1985687a696c8ee492c!]
|
||||||
|
# Save some traffic by excluding the full git history
|
||||||
|
CIRRUS_CLONE_DEPTH: 1
|
||||||
|
|
||||||
|
# Use the maximum timeout. Needed when rebuilding packages on a channel update.
|
||||||
|
timeout_in: 120m
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
- name: modules_test
|
||||||
|
container:
|
||||||
image: nixos/nix
|
image: nixos/nix
|
||||||
# Besides virtualization, this also enables privileged containers which are required for
|
# Besides virtualization, this also enables privileged containers which are required for
|
||||||
# sandboxed builds
|
# sandboxed builds
|
||||||
kvm: true
|
kvm: true
|
||||||
# Needed for package builds
|
# Needed for package builds
|
||||||
memory: 8G
|
memory: 8G
|
||||||
|
|
||||||
environment:
|
|
||||||
CACHIX_SIGNING_KEY: ENCRYPTED[!cec502ed813cbcd0237697d2031f750186ff20eed5815b1ad950ad2f2d701702ae6ba2f0cb4cb1985687a696c8ee492c!]
|
|
||||||
# Save some traffic by excluding the full git history
|
|
||||||
CIRRUS_CLONE_DEPTH: 1
|
|
||||||
|
|
||||||
task:
|
|
||||||
# Use the maximum timeout. Needed when rebuilding packages on a channel update.
|
|
||||||
timeout_in: 120m
|
|
||||||
|
|
||||||
name: modules_test
|
|
||||||
container:
|
|
||||||
# A maximum of 16 CPUs is shared among all concurrent tasks.
|
# A maximum of 16 CPUs is shared among all concurrent tasks.
|
||||||
# https://cirrus-ci.org/faq/#are-there-any-limits
|
# https://cirrus-ci.org/faq/#are-there-any-limits
|
||||||
cpu: 4
|
cpu: 4
|
||||||
@ -25,7 +24,6 @@ task:
|
|||||||
- scenario: default
|
- scenario: default
|
||||||
- scenario: netns
|
- scenario: netns
|
||||||
- scenario: netnsRegtest
|
- scenario: netnsRegtest
|
||||||
|
|
||||||
# This script is run as root
|
# This script is run as root
|
||||||
build_script:
|
build_script:
|
||||||
- echo "sandbox = true" >> /etc/nix/nix.conf
|
- echo "sandbox = true" >> /etc/nix/nix.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user