Commit d19fa308 authored by ale's avatar ale

Switch to ai3/build-deb CI configuration

parent 96617757
Pipeline #4218 failed with stages
in 4 minutes and 59 seconds
stages:
- test
- build_src
- build_pkgsrc
- build_pkg
- upload
- upload_pkg
# Do not run tests on master, they are executed by the
# Debian package builder.
# TODO: currently broken
test:
stage: test
image: "ai/test:go"
image: "debian:stretch"
script:
- "./install_restic_for_tests.sh"
- "apt-get install -y liblz4-tool"
- "go-test-runner ."
- "apt-get install -y liblz4-tool golang"
- "go test -v ./..."
except:
- master
build:src:
stage: build_src
image: "ai/build:stretch"
script: "build-dsc"
build_pkgsrc:stretch:
stage: build_pkgsrc
image: "registry.git.autistici.org/ai3/build-deb:stretch-amd64"
script:
- build-dsc
artifacts:
paths:
- build-deb/
only:
- master
build:pkg:
build_pkg:stretch:amd64:
stage: build_pkg
image: "ai/build:stretch"
image: "registry.git.autistici.org/ai3/build-deb:stretch-amd64"
tags:
- amd64
script:
- "./install_restic_for_tests.sh"
- "build-deb"
- build-deb
dependencies:
- build:src
- build_pkgsrc:stretch
artifacts:
paths:
- output-deb/
build_pkg:stretch:arm64:
stage: build_pkg
image: "registry.git.autistici.org/ai3/build-deb:stretch-arm64"
tags:
- arm64
script:
- build-deb
dependencies:
- build_pkgsrc:stretch
artifacts:
paths:
- output-deb/
only:
- master
upload:pkg:
stage: upload
image: "ai/pkg:base"
script: "upload-packages -r ai3"
upload_pkg:
stage: upload_pkg
image: "registry.git.autistici.org/ai3/build-deb:stretch-amd64"
script:
- upload-packages
dependencies:
- build:pkg
- build_pkg:stretch:amd64
- build_pkg:stretch:arm64
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment