haproxy/.gitlab-ci.yml

56 lines
1.1 KiB
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:48:58 +05:30
- apt install -y --no-install-recommends -qq build-essential ca-certificates cmake curl libreadline-dev libsystemd-dev tar
2022-06-06 10:24:43 +05:30
lua:
<<: *build-job
stage: dependencies
2022-06-06 10:48:58 +05:30
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
2022-06-06 10:48:58 +05:30
script: make -C deps/pcre2
2022-06-06 10:24:43 +05:30
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
2022-06-06 10:40:10 +05:30
paths: [ "deps/quictls/dist", "deps/quictls/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:
- apt install -y --no-install-recommends -qq git
- make -C haproxy
2022-06-06 10:24:43 +05:30
needs:
- job: lua
artifacts: true
- job: pcre2
artifacts: true
- job: quictls
artifacts: true
artifacts:
expire_in: 14 days
2022-06-06 11:33:08 +05:30
paths: [ "haproxy/dist", "haproxy/haproxy-*-dist.tar.gz" ]