forked from redhat-cop/infra.aap_configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'redhat-cop:devel' into devel
- Loading branch information
Showing
414 changed files
with
6,249 additions
and
1,031 deletions.
There are no files selected for viewing
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
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
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
1 change: 0 additions & 1 deletion
1
.github/tests/collections/ansible_collections/redhat_cop/controller_configuration
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
.github/tests/templates/tasks/manage_execution_environments.yml
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
name: Test collection with AWX matrix | ||
on: | ||
push: | ||
branches: | ||
- '*_' | ||
- devel | ||
tags: | ||
- '*_' # ending underscore for trying things | ||
- 'v[0-9]+.[0-9]+.[0-9]+' # final version | ||
- 'v[0-9]+.[0-9]+.[0-9]+[abrc]+[0-9]+' # alpha, beta, release candidate (rc) | ||
- 'v[0-9]+.[0-9]+.[0-9]+.dev[0-9]+' # development versions | ||
pull_request: | ||
|
||
jobs: | ||
ci_standalone: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
awx_version: | ||
- devel | ||
- 21.13.0 | ||
- 21.12.0 | ||
- 21.11.0 | ||
# - 20.1.0 Diabled until working | ||
# - 19.5.1 Diabled until working | ||
uses: "./.github/workflows/ci_standalone_versioned.yml" | ||
with: | ||
awx_version: ${{ matrix.awx_version }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
name: Test collection with AWX | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
awx_version: | ||
description: The version to pull of awx | ||
required: true | ||
type: string | ||
env: | ||
# Run docker-compose up in the background | ||
COMPOSE_UP_OPTS: -d | ||
|
||
jobs: | ||
integration: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: "Checkout galaxy_ng" | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: ansible/awx | ||
path: awx | ||
ref: ${{ inputs.awx_version }} | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.8" | ||
|
||
- name: Update apt | ||
run: sudo apt -y update | ||
|
||
- name: Install requirements | ||
run: sudo apt-get install -y libsasl2-dev python3-dev libldap2-dev libssl-dev build-essential | ||
|
||
- name: Install docker-compose | ||
run: pip3 install --upgrade docker-compose | ||
|
||
- name: collect system info | ||
run: whoami; id; pwd; ls -al; uname -a ; df -h .; mount ; cat /etc/issue; docker --version ; ps aux | fgrep -i docker; ls -al /var/run/containerd/containerd.sock | ||
|
||
- name: set the awx password in the inventory | ||
run: echo "admin_password='password'" >> awx/tools/docker-compose/inventory | ||
|
||
- name: build images | ||
working-directory: awx | ||
run: make docker-compose-build | ||
|
||
- name: build stack | ||
working-directory: awx | ||
run: make docker-compose up | ||
continue-on-error: true | ||
|
||
- name: give some time to spin up | ||
run: sleep 30 | ||
|
||
- name: Display Versions | ||
run: which python && pip --version && ansible --version | ||
|
||
- name: "Install Galaxy dependencies" | ||
run: ansible-galaxy collection install -r .github/collections/requirements.yml | ||
|
||
- name: "Perform playbook tests" | ||
run: ansible-playbook tests/configure_controller.yml -e controller_hostname=localhost:8043 -v | ||
|
||
- name: "Perform export model playbook tests" | ||
run: ansible-playbook tests/configure_controller_export_model.yml -e controller_hostname=localhost:8043 -v | ||
... |
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
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
Oops, something went wrong.