Skip to content

Commit

Permalink
[PR #514/e2aa655 backport][stable-1] Fix issues and documentation wit…
Browse files Browse the repository at this point in the history
…h integration tests after merge of #490 (#520)

* Fix issues and documentation with integration tests after merge of #490. (#514)

* Fix explanation about containers images
* Add definitive URI to the containers images
* Document that new images must be set as public
* Document makefile options possible values
* Document that any mysql and mariadb tag can be used
* 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

(cherry picked from commit e2aa655)

* Add changelog fragment
* Cut tests for MariaDB 10.5 and 10.6 that never worked with stable-1
  • Loading branch information
laurent-indermuehle authored Mar 30, 2023
1 parent 54efe0b commit 3e975ca
Show file tree
Hide file tree
Showing 42 changed files with 653 additions and 547 deletions.
439 changes: 200 additions & 239 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 3e975ca

Please sign in to comment.