Skip to content

Commit

Permalink
Fix issues and documentation with integration tests after merge of an…
Browse files Browse the repository at this point in the history
…sible-collections#490. (ansible-collections#514)

* Fix explanation about containers images
* Add definitive URI to the containers images
* Document that new images must be set as public
* Add makefile options possible values
* Document that any mysql and mariadb tag can be use
* Add computation of docker_image path
* Refactor pre-command to separate commands for cleaner GHA output
* Refactor to use GHA test matrix
* Cut docker_image from documentation since it's now automatic
* Document how to use run_all_test.py to display the test matrix
* Temp: Add path to images in my fork to validate integrations tests
  • Loading branch information
laurent-indermuehle authored Mar 24, 2023
1 parent 6970aef commit e2aa655
Show file tree
Hide file tree
Showing 41 changed files with 647 additions and 544 deletions.
433 changes: 197 additions & 236 deletions .github/workflows/ansible-test-plugins.yml

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions .github/workflows/docker-image-mariadb-py310-mysqlclient211.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Docker Image CI mariadb-py310-mysqlclient211

on:
push:
paths:
- 'test-containers/mariadb-py310-mysqlclient211/**'
- '.github/workflows/docker-image-mariadb-py310-mysqlclient211.yml'
- '.github/workflows/build-docker-image.yml'

jobs:

call-workflow-passing-data:
uses: ./.github/workflows/build-docker-image.yml
secrets: inherit
with:
registry: ghcr.io
image_name: test-container-mariadb-py310-mysqlclient211
context: test-containers/mariadb-py310-mysqlclient211
19 changes: 19 additions & 0 deletions .github/workflows/docker-image-mariadb-py310-pymysql102.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Docker Image CI mariadb-py310-pymysql102

on:
push:
paths:
- 'test-containers/mariadb-py310-pymysql102/**'
- '.github/workflows/docker-image-mariadb-py310-pymysql102.yml'
- '.github/workflows/build-docker-image.yml'

jobs:

call-workflow-passing-data:
uses: ./.github/workflows/build-docker-image.yml
secrets: inherit
with:
registry: ghcr.io
image_name: test-container-mariadb-py310-pymysql102
context: test-containers/mariadb-py310-pymysql102
19 changes: 19 additions & 0 deletions .github/workflows/docker-image-mariadb-py38-mysqlclient201.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Docker Image CI mariadb-py38-mysqlclient201

on:
push:
paths:
- 'test-containers/mariadb-py38-mysqlclient201/**'
- '.github/workflows/docker-image-mariadb-py38-mysqlclient201.yml'
- '.github/workflows/build-docker-image.yml'

jobs:

call-workflow-passing-data:
uses: ./.github/workflows/build-docker-image.yml
secrets: inherit
with:
registry: ghcr.io
image_name: test-container-mariadb-py38-mysqlclient201
context: test-containers/mariadb-py38-mysqlclient201
19 changes: 19 additions & 0 deletions .github/workflows/docker-image-mariadb-py38-pymysql093.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Docker Image CI mariadb-py38-pymysql093

on:
push:
paths:
- 'test-containers/mariadb-py38-pymysql093/**'
- '.github/workflows/docker-image-mariadb-py38-pymysql093.yml'
- '.github/workflows/build-docker-image.yml'

jobs:

call-workflow-passing-data:
uses: ./.github/workflows/build-docker-image.yml
secrets: inherit
with:
registry: ghcr.io
image_name: test-container-mariadb-py38-pymysql093
context: test-containers/mariadb-py38-pymysql093
19 changes: 19 additions & 0 deletions .github/workflows/docker-image-mariadb-py39-mysqlclient203.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Docker Image CI mariadb-py39-mysqlclient203

on:
push:
paths:
- 'test-containers/mariadb-py39-mysqlclient203/**'
- '.github/workflows/docker-image-mariadb-py39-mysqlclient203.yml'
- '.github/workflows/build-docker-image.yml'

jobs:

call-workflow-passing-data:
uses: ./.github/workflows/build-docker-image.yml
secrets: inherit
with:
registry: ghcr.io
image_name: test-container-mariadb-py39-mysqlclient203
context: test-containers/mariadb-py39-mysqlclient203
19 changes: 19 additions & 0 deletions .github/workflows/docker-image-mariadb-py39-pymysql093.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Docker Image CI mariadb-py39-pymysql093

on:
push:
paths:
- 'test-containers/mariadb-py39-pymysql093/**'
- '.github/workflows/docker-image-mariadb-py39-pymysql093.yml'
- '.github/workflows/build-docker-image.yml'

jobs:

call-workflow-passing-data:
uses: ./.github/workflows/build-docker-image.yml
secrets: inherit
with:
registry: ghcr.io
image_name: test-container-mariadb-py39-pymysql093
context: test-containers/mariadb-py39-pymysql093
19 changes: 0 additions & 19 deletions .github/workflows/docker-image-mariadb103-py38-mysqlclient201.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/docker-image-mariadb103-py38-pymysql093.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/docker-image-mariadb103-py39-mysqlclient203.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/docker-image-mariadb103-py39-pymysql093.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/docker-image-mariadb106-py310-mysqlclient211.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/docker-image-mariadb106-py310-pymysql102.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/docker-image-my80-py310-mysqlclient211.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/docker-image-my80-py310-pymysql102.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/docker-image-my80-py38-mysqlclient201.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/docker-image-my80-py38-pymysql093.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/docker-image-my80-py39-mysqlclient203.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/docker-image-my80-py39-pymysql093.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/docker-image-mysql-py310-mysqlclient211.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Docker Image CI mysql-py310-mysqlclient211

on:
push:
paths:
- 'test-containers/mysql-py310-mysqlclient211/**'
- '.github/workflows/docker-image-mysql-py310-mysqlclient211.yml'
- '.github/workflows/build-docker-image.yml'

jobs:

call-workflow-passing-data:
uses: ./.github/workflows/build-docker-image.yml
secrets: inherit
with:
registry: ghcr.io
image_name: test-container-mysql-py310-mysqlclient211
context: test-containers/mysql-py310-mysqlclient211
19 changes: 19 additions & 0 deletions .github/workflows/docker-image-mysql-py310-pymysql102.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Docker Image CI mysql-py310-pymysql102

on:
push:
paths:
- 'test-containers/mysql-py310-pymysql102/**'
- '.github/workflows/docker-image-mysql-py310-pymysql102.yml'
- '.github/workflows/build-docker-image.yml'

jobs:

call-workflow-passing-data:
uses: ./.github/workflows/build-docker-image.yml
secrets: inherit
with:
registry: ghcr.io
image_name: test-container-mysql-py310-pymysql102
context: test-containers/mysql-py310-pymysql102
Loading

0 comments on commit e2aa655

Please sign in to comment.