mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
Merge pull request #1 from ryanpetrello/shippable-ci
set up shippable ci
This commit is contained in:
commit
f495615435
21
shippable.yml
Normal file
21
shippable.yml
Normal file
@ -0,0 +1,21 @@
|
||||
language: python
|
||||
|
||||
python:
|
||||
- 2.7
|
||||
|
||||
env:
|
||||
- AWX_BUILD_TARGET=test
|
||||
- AWX_BUILD_TARGET=ui-test-ci
|
||||
- AWX_BUILD_TARGET="flake8 jshint"
|
||||
|
||||
build:
|
||||
pre_ci:
|
||||
- docker build -t ansible/awx_devel -f tools/docker-compose/Dockerfile .
|
||||
- docker tag ansible/awx_devel gcr.io/ansible-tower-engineering/awx_devel:${BASE_BRANCH:-latest}
|
||||
pre_ci_boot:
|
||||
options: "-v /awx_devel:/awx_devel"
|
||||
ci:
|
||||
- cp -R . /awx_devel
|
||||
- pip install -U docker-compose
|
||||
- docker-compose -f tools/docker-compose/unit-tests/docker-compose.yml build --build-arg TAG=${BASE_BRANCH:-latest} unit-tests
|
||||
- docker-compose -f tools/docker-compose/unit-tests/docker-compose.yml run -v /awx_devel:/awx_devel unit-tests "make ${AWX_BUILD_TARGET}"
|
Loading…
Reference in New Issue
Block a user