Merge pull request #5184 from shanemcd/remove-dead-code

Deleting unused unit-tests directory

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-10-30 22:38:00 +00:00 committed by GitHub
commit f2b4d87152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 67 deletions

View File

@ -1,17 +0,0 @@
FROM gcr.io/ansible-tower-engineering/awx_devel:latest
# For UI tests
RUN yum install -y pango libXcomposite libXcursor libXdamage \
libXext libXi libXtst cups-libs libXScrnSaver libXrandr GConf2 alsa-lib atk \
gtk3 ipa-gothic-fonts xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi \
xorg-x11-utils xorg-x11-fonts-cyrillic xorg-x11-fonts-Type1 \
xorg-x11-fonts-misc
RUN npm set progress=false
WORKDIR "/awx_devel"
ADD tools/docker-compose/unit-tests/entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@ -1,22 +0,0 @@
Run from the root of the repo:
```shell
$ docker-compose -f tools/docker-compose/unit-tests/docker-compose.yml run unit-tests
```
This will start the container, install the dependencies, and run the unit tests.
To rebuild:
```shell
$ docker-compose -f tools/docker-compose/unit-tests/docker-compose.yml build
```
If you just want to pop into a shell and poke around, run:
```shell
$ docker-compose -f tools/docker-compose/unit-tests/docker-compose.yml run unit-tests bash
```
If you run into any weirdness, it's probably a good idea to just give up and `make clean`.

View File

@ -1,18 +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
RABBITMQ_HOST: rabbitmq
RABBITMQ_USER: guest
RABBITMQ_PASS: guest
RABBITMQ_VHOST: /
command: ["make test"]
volumes:
- ../../../:/awx_devel

View File

@ -1,10 +0,0 @@
#!/bin/bash
# Code duplicated from start_development.sh
cp -R /tmp/awx.egg-info /awx_devel/ || true
sed -i "s/placeholder/$(cat /awx_devel/VERSION)/" /awx_devel/awx.egg-info/PKG-INFO
cp /tmp/awx.egg-link /venv/awx/lib/python3.6/site-packages/awx.egg-link
cp -f awx/settings/local_settings.py.docker_compose awx/settings/local_settings.py
/bin/bash -c "$@"