-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
24 lines (24 loc) · 865 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
stages:
- test
before_script:
- export COMPOSE_PROJECT_NAME=buildpipeline${CI_PIPELINE_ID}
- export BUILD_ROJ_VERSION=$(qq)
after_script:
- export COMPOSE_PROJECT_NAME=buildpipeline${CI_PIPELINE_ID}
- docker-compose down -v
test:
stage: test
script:
- docker-compose build
- docker-compose run --rm roj
- docker-compose run --rm roj pwd
- docker-compose run --rm roj docker-machine ls
# do not fail, since there's no active docker connection in testing
- docker-compose run --rm roj docker version || exit 0
- docker-compose run --rm roj help.sh
- docker-compose run --rm roj boilr template
#- docker-compose run --rm roj boilr version
- docker-compose run --rm roj ctop -v
- docker-compose run --rm roj make
- docker-compose run --rm roj aws --version
- docker-compose run --rm roj gcloud --version