-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
build: | ||
stage: build | ||
script: | ||
- autoreconf -fvi | ||
- ./configure | ||
- make rpm | ||
artifacts: | ||
paths: | ||
- auks*rpm | ||
variables: | ||
GIT_SUBMODULE_STRATEGY: recursive | ||
|
||
default: | ||
before_script: | ||
- docker info | ||
- docker-compose version | ||
|
||
|
||
# run tests using the binary built before | ||
#test: | ||
# stage: test | ||
# script: | ||
# - ./test.sh | ||
test: | ||
script: | ||
- cd tests | ||
- docker-compose build --parallel | ||
- docker-compose up -d --force-recreate | ||
- docker-compose exec -ti auks_server useradd -M -u 2000 auks_admin | ||
- docker-compose exec -ti auks_server useradd -M -u 2001 auks_user | ||
- docker-compose exec -ti auks_server useradd -M -u 2002 auks_guest | ||
- docker-compose exec -ti auks_client bats /tests/bats/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters