Skip to content

adapt test_ansible_lint_exception to different versions #3169

adapt test_ansible_lint_exception to different versions

adapt test_ansible_lint_exception to different versions #3169

Workflow file for this run

---
name: Standalone
on:
pull_request:
branches:
- '**'
push:
branches:
- '**'
workflow_dispatch:
jobs:
standalone_integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Update apt
run: sudo apt -y update
- name: Install LDAP requirements
run: sudo apt-get install -y libsasl2-dev python3 libldap2-dev libssl-dev build-essential
- name: Install python requirements required to run integration tests
run: pip install requests pyyaml
- uses: KengoTODA/actions-setup-docker-compose@v1
with:
version: '2.17.3'
- name: create the .compose.env file
run: rm -f .compose.env; cp .compose.env.example .compose.env
- name: workaround github worker permissions issues
run: sed -i.bak 's/PIP_EDITABLE_INSTALL=1/PIP_EDITABLE_INSTALL=0/' .compose.env
- name: workaround github worker permissions issues
run: sed -i.bak 's/WITH_DEV_INSTALL=1/WITH_DEV_INSTALL=0/' .compose.env
- name: build stack
run: make docker/all
- name: start the compose stack
run: ./compose up -d
- name: give stack some time to spin up
run: COMPOSE_INTERACTIVE_NO_CLI=1 python dev/common/poll.py
- name: set keyring on staging repo for signature upload
run: ./compose exec -T api ./entrypoint.sh manage set-repo-keyring --repository staging --keyring /etc/pulp/certs/galaxy.kbx -y
- name: run the integration tests
run: DUMP_LOGS=1 ./dev/standalone/RUN_INTEGRATION.sh