mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
only run shippable UI for devel and release branches
This commit is contained in:
committed by
Ryan Petrello
parent
f495615435
commit
c4a1dfc4e8
@@ -1,5 +1,4 @@
|
||||
ARG TAG=latest
|
||||
FROM gcr.io/ansible-tower-engineering/awx_devel:$TAG
|
||||
FROM gcr.io/ansible-tower-engineering/awx_devel:latest
|
||||
|
||||
# For UI tests
|
||||
RUN yum install -y bzip2 gcc-c++
|
||||
|
||||
14
tools/docker-compose/unit-tests/docker-compose-shippable.yml
Normal file
14
tools/docker-compose/unit-tests/docker-compose-shippable.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
version: '3'
|
||||
services:
|
||||
unit-tests:
|
||||
build:
|
||||
context: ../../../
|
||||
dockerfile: tools/docker-compose/unit-tests/Dockerfile
|
||||
image: gcr.io/ansible-tower-engineering/unit-test-runner:${GIT_BRANCH:-latest}
|
||||
environment:
|
||||
SWIG_FEATURES: "-cpperraswarn -includeall -I/usr/include/openssl"
|
||||
TEST_DIRS: awx/main/tests/functional awx/main/tests/unit awx/conf/tests awx/sso/tests
|
||||
command: ["make test"]
|
||||
volumes:
|
||||
- /awx_devel:/awx_devel
|
||||
Reference in New Issue
Block a user