Merge namecoin/ncdns#177: Cirrus: Add Debian functional tests

7cf7f1ab4b Cirrus: Fix missing "dig" dependency on Debian (Jeremy Rand)
acbea5b689 Cirrus: Add Debian functional tests (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: 6bb5bb21c4d5412c569af3dc65e3bebba6f1c7074d86fb9eea44bd66d7cfc9fede682760a69a07552f9bb54b6d15955c4cccffeca79326997b0a70c6ebaf5a22
pull/178/head
Jeremy Rand 1 year ago
commit 843b7d13e2
No known key found for this signature in database
GPG Key ID: EB03139A459DD06E

@ -168,19 +168,32 @@ task:
GOX_TAGS: "" GOX_TAGS: ""
task: task:
name: "Functional Tests Ubuntu Go $GO_VERSION$MODULES_NAME" name: "Functional Tests $CI_DISTRO Go $GO_VERSION$MODULES_NAME"
compute_engine_instance: alias: "Functional Tests"
image_project: cirrus-images matrix:
image: family/docker-builder - compute_engine_instance:
platform: linux image_project: debian-cloud
cpu: 1 image: family/debian-11
memory: 1G platform: linux
cpu: 1
memory: 1G
env:
CI_DISTRO: debian
- compute_engine_instance:
image_project: cirrus-images
image: family/docker-builder
platform: linux
cpu: 1
memory: 1G
env:
CI_DISTRO: ubuntu
bitcoind_cache: bitcoind_cache:
folder: /tmp/bitcoind folder: /tmp/bitcoind
populate_script: mkdir -p /tmp/bitcoind populate_script: mkdir -p /tmp/bitcoind
install_script: install_script:
- apt-get update - apt-get update
- apt-get install -y dnssec-trigger # bind9-dnsutils contains dig
- apt-get install -y dnssec-trigger bind9-dnsutils
# Namecoin Core # Namecoin Core
- BITCOIND_URL=$(curl https://www.namecoin.org/download/ | grep x86_64-linux-gnu.tar.gz | grep -v 0.13.99 | grep --only-matching https://.*.tar.gz) - BITCOIND_URL=$(curl https://www.namecoin.org/download/ | grep x86_64-linux-gnu.tar.gz | grep -v 0.13.99 | grep --only-matching https://.*.tar.gz)
- BITCOIND_FILENAME=$(echo $BITCOIND_URL | grep -E --only-matching 'namecoin-nc.*.tar.gz') - BITCOIND_FILENAME=$(echo $BITCOIND_URL | grep -E --only-matching 'namecoin-nc.*.tar.gz')
@ -300,7 +313,7 @@ task:
- ShellCheck - ShellCheck
- Unit Tests - Unit Tests
- Cross-Compile - Cross-Compile
- Functional Tests Ubuntu Go latest - Functional Tests
bin_cache: bin_cache:
folder: "idist" folder: "idist"
fingerprint_script: fingerprint_script:

Loading…
Cancel
Save