haproxy/.gitlab-ci.yml

54 lines
1012 B
YAML
Raw Normal View History

2022-06-05 10:01:53 +05:30
stages:
2022-06-06 10:24:43 +05:30
- dependencies
- haproxy
2022-06-06 10:24:43 +05:30
variables:
TZ: "UTC"
GIT_DEPTH: "1"
2022-06-06 10:24:43 +05:30
.build-job: &build-job
image: docker.io/library/debian:bullseye
needs: [ ]
before_script:
- apt -qq update
2022-06-06 10:24:43 +05:30
- apt install -y --no-install-recommends -qq build-essential ca-certificates curl git tar
lua:
<<: *build-job
stage: dependencies
script: make -C deps/lua
artifacts:
expire_in: 14 days
2022-06-06 10:24:43 +05:30
paths: [ "deps/lua/dist" ]
2022-06-05 10:01:53 +05:30
2022-06-06 10:24:43 +05:30
pcre2:
<<: *build-job
stage: dependencies
script: make -C deps/pcre2
artifacts:
expire_in: 14 days
paths: [ "deps/pcre2/dist" ]
2022-06-05 10:01:53 +05:30
2022-06-06 10:24:43 +05:30
quictls:
<<: *build-job
stage: dependencies
script: make -C deps/quictls
artifacts:
expire_in: 14 days
paths: [ "deps/quictls/dist", "quictls-*-dist.tar.gz" ]
2022-06-05 10:01:53 +05:30
2022-06-06 10:24:43 +05:30
haproxy:
<<: *build-job
stage: haproxy
script: make -C haproxy
needs:
- job: lua
artifacts: true
- job: pcre2
artifacts: true
- job: quictls
artifacts: true
artifacts:
expire_in: 14 days
paths: [ "haproxy/dist" ]