KasmVNC/.gitlab-ci.yml

32 lines
784 B
YAML
Raw Normal View History

2021-01-18 20:12:23 +01:00
image: docker
services:
- docker:dind
variables:
GITLAB_SHARED_DIND_DIR: /builds/$CI_PROJECT_PATH/shared
2021-01-18 20:12:23 +01:00
stages:
- build
2021-01-18 20:12:23 +01:00
build:
stage: build
script:
2021-01-18 20:30:05 +01:00
- ls -l
- pwd
- apk add bash
- mkdir -p "$GITLAB_SHARED_DIND_DIR" && chmod 777 "$GITLAB_SHARED_DIND_DIR"
- echo "Build Ubuntu 18 on all branches"
- bash builder/build-distro ubuntu bionic
- if echo "$CI_COMMIT_BRANCH" | grep -Eq '(release|testing)'; then
echo "Build all distros";
bash builder/build-distro ubuntu focal;
bash builder/build-distro debian buster;
bash builder/build-distro debian bullseye;
bash builder/build-distro kali kali-rolling;
fi
2021-01-18 20:12:23 +01:00
- mkdir output
- cp -r builder/build/* output/
2021-01-18 20:12:23 +01:00
artifacts:
paths:
- output/