1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Merge pull request #2429 from ryanpetrello/more-shippable-cleanup

more shippable -> zuul cleanup

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2018-10-12 16:10:53 +00:00 committed by GitHub
commit fa18b94725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 46 deletions

View File

@ -1,32 +0,0 @@
#!/usr/bin/env python
import errno
import os
import shutil
def copy_if_exists(src, dst):
if os.path.isfile(src):
shutil.copy2(src, dst)
def ensure_directory_exists(path):
try:
os.makedirs(path)
except OSError as exc:
if exc.errno == errno.EEXIST and os.path.isdir(path):
pass
else:
raise
def run():
collection_path = 'shippable/testresults'
ensure_directory_exists(collection_path)
copy_if_exists('/awx_devel/awx/ui/test/spec/reports/results.spec.xml', collection_path)
copy_if_exists('/awx_devel/awx/ui/test/unit/reports/results.unit.xml', collection_path)
if __name__ == '__main__':
run()

View File

@ -1,14 +0,0 @@
---
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