This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
libcl/.gitlab-ci.yml

39 lines
678 B
YAML
Raw Normal View History

2019-01-28 00:05:48 +00:00
stages:
- build
- deploy
variables:
VERSION: "3.4.4.1"
before_script:
- env|sort
- pwd
build:x86_64:
image: ${CI_REGISTRY}/leenooks/ci-apt:x86_64
stage: build
script:
- apt-get update
- cd libcl; dpkg-buildpackage -us -uc
- mkdir build
- ls -al ../
- mv ../${CI_PROJECT_NAME}*.deb build
tags:
- apt
- x86_64
only:
- debian
artifacts:
paths:
- build/*deb
expire_in: 1 week
deploy:x86_64:
stage: deploy
dependencies:
- build:x86_64
script:
- reprepro -b /apt includedeb $(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) build/${CI_PROJECT_NAME}_${VERSION}*.deb
tags:
- reprepro