.gitlab-ci.yml 1.37 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package:jessie:
  stage: build
  image: containers.ethitter.com:443/docker/images/debian:jessie
  before_script:
    # Relies on latest binary build artifact from https://git.ethitter.com/debian/nginx-build.
    - curl -o nginx-build "${NGINX_BINARY_JESSIE}"
    - chmod +x nginx-build
    - ./nginx-build -V
  script:
    - cd source
    - debuild -us -uc
  artifacts:
    paths:
      - nginx_${NGINX_VERSION_JESSIE}*
      - nginx-dbgsym_${NGINX_VERSION_JESSIE}*
Erick Hitter's avatar
Erick Hitter committed
16

17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
package:stretch:
  stage: build
  image: containers.ethitter.com:443/docker/images/debian:stretch
  before_script:
    # Relies on latest binary build artifact from https://git.ethitter.com/debian/nginx-build.
    - curl -o nginx-build "${NGINX_BINARY_STRETCH}"
    - chmod +x nginx-build
    - ./nginx-build -V
  script:
    - cd source
    - debuild -us -uc
  artifacts:
    paths:
      - nginx_${NGINX_VERSION_STRETCH}*
      - nginx-dbgsym_${NGINX_VERSION_STRETCH}*
Erick Hitter's avatar
Erick Hitter committed
32

33
package:buster:
Erick Hitter's avatar
Erick Hitter committed
34
  stage: build
35 36 37 38 39 40
  image: containers.ethitter.com:443/docker/images/debian:buster
  before_script:
    # Relies on latest binary build artifact from https://git.ethitter.com/debian/nginx-build.
    - curl -o nginx-build "${NGINX_BINARY_BUSTER}"
    - chmod +x nginx-build
    - ./nginx-build -V
Erick Hitter's avatar
Erick Hitter committed
41
  script:
Erick Hitter's avatar
Erick Hitter committed
42
    - cd source
Erick Hitter's avatar
Erick Hitter committed
43
    - debuild -us -uc
Erick Hitter's avatar
Erick Hitter committed
44 45
  artifacts:
    paths:
46 47
      - nginx_${NGINX_VERSION_BUSTER}*
      - nginx-dbgsym_${NGINX_VERSION_BUSTER}*