Skip to content
Snippets Groups Projects
Commit 68ed4c09 authored by ale's avatar ale
Browse files

Use new CI templatess

parent 438a767b
No related branches found
No related tags found
1 merge request!14Build a Debian package
Pipeline #57325 failed
include:
- "https://git.autistici.org/ai3/build-deb/raw/master/ci-common.yml"
- "https://git.autistici.org/pipelines/debian/raw/master/common.yml"
- "https://git.autistici.org/pipelines/images/test/golang/raw/master/ci.yml"
test:
stage: test
image: registry.git.autistici.org/ai3/docker/test/golang:master
script:
- run-go-test ./...
artifacts:
when: always
reports:
coverage_report:
coverage_format: cobertura
path: cover.xml
junit: report.xml
#pkg_test:
# image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/debian:bookworm-slim
# stage: build
# needs: ["build_pkg:bookworm:amd64"]
# variables:
# PACKAGES_DIR: "output-deb"
# script:
# - apt-get update
# - dpkg -R --unpack ${PACKAGES_DIR} || true
# - apt-get -y install replds2
# - systemctl enable replds-server
# - systemctl start replds-server
pkg_test:
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/debian:bookworm-slim
stage: build
needs: ["build_pkg:bookworm:amd64"]
variables:
PACKAGES_DIR: "output-deb"
script:
- apt-get update
- dpkg -R --unpack ${PACKAGES_DIR} || true
- apt-get -y install replds2
- systemctl enable replds-server
- systemctl start replds-server
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment