Automated updated of i18n strings on 2023-07-01 (#1787) #2029
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Insights | |
on: | |
pull_request: | |
branches: | |
- '**' | |
paths-ignore: | |
- 'docs/**' | |
- 'mkdocs.yml' | |
- 'CHANGES/**' | |
push: | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
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 docker-compose | |
run: pip3 install --upgrade docker-compose | |
- name: create the .compose.env file | |
run: rm -f .compose.env; cp .compose.env.example .compose.env | |
- name: set the compose profile | |
run: sed -i.bak 's/COMPOSE_PROFILE=standalone/COMPOSE_PROFILE=insights/' .compose.env | |
- name: workaround github worker permissions issues - disable editable installs | |
run: sed -i.bak 's/PIP_EDITABLE_INSTALL=1/PIP_EDITABLE_INSTALL=0/' .compose.env | |
- name: workaround github worker permissions issues - disable dev installs | |
run: sed -i.bak 's/WITH_DEV_INSTALL=1/WITH_DEV_INSTALL=0/' .compose.env | |
- name: require approval | |
run: sed -i.bak 's/# PULP_GALAXY_REQUIRE_CONTENT_APPROVAL=false/PULP_GALAXY_REQUIRE_CONTENT_APPROVAL=true/' .compose.env | |
- name: disable signing | |
run: sed -i.bak 's/ENABLE_SIGNING=1/ENABLE_SIGNING=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 http://localhost:8080/api/automation-hub/pulp/api/v3/status/ | |
run: sleep 120 | |
- name: run the integration tests | |
run: ./dev/insights/RUN_INTEGRATION.sh |