Skip to content

Commit

Permalink
clean matrix ..
Browse files Browse the repository at this point in the history
  • Loading branch information
ImreSamu committed Sep 5, 2022
1 parent 8d03a6a commit 12d0396
Showing 1 changed file with 12 additions and 31 deletions.
43 changes: 12 additions & 31 deletions .github/workflows/buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ jobs:
fail-fast: false
matrix:
#
platforms: ['linux/arm64','linux/arm/v7','linux/arm/v6','linux/386','linux/ppc64le','linux/mips64le','linux/s390x']
platforms: ['linux/arm64','linux/arm/v7','linux/arm/v6','linux/386','linux/ppc64le']
#
# platforms: ['linux/arm64','linux/arm/v7','linux/arm/v6','linux/386','linux/mips64le','linux/ppc64le','linux/s390x']
#
#platforms: ['linux/arm64','linux/arm/v7','linux/arm/v5','linux/386','linux/mips64le','linux/ppc64le','linux/s390x']
# comments:
# 'linux/arm/v7' - default/debian: Unable to locate package postgresql-14-postgis-3;
# 'linux/arm/v6' - default/debian: Unable to locate package postgresql-14-postgis-3;
# 'linux/s390x' alpine: failed test.
# 'linux/mips64le' alpine failed test.
#
postgres: [14]
postgis: ['3.2']
Expand All @@ -38,32 +42,6 @@ jobs:
variant: 'default'
platforms: 'linux/ppc64le'


# - postgres: 14
# postgis: '3.2'
# variant: 'alpine'
# platforms: 'linux/arm/v7'
# - postgres: 14
# postgis: '3.2'
# variant: 'alpine'
# platforms: 'linux/arm/v5'
# - postgres: 14
# postgis: '3.2'
# variant: 'alpine'
# platforms: 'linux/386'
# - postgres: 14
# postgis: '3.2'
# variant: 'alpine'
# platforms: 'linux/mips64le'
# - postgres: 14
# postgis: '3.2'
# variant: 'alpine'
# platforms: 'linux/ppc64le'
# - postgres: 14
# postgis: '3.2'
# variant: 'alpine'
# platforms: 'linux/s390x'

name: ${{ matrix.platforms }} ${{ matrix.postgres }}-${{ matrix.postgis }} ${{ matrix.variant }}
runs-on: ubuntu-latest

Expand All @@ -82,9 +60,11 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- run: docker buildx inspect --bootstrap
- name: "docker buildx inspect --bootstrap"
run: docker buildx inspect --bootstrap

- run: docker buildx ls
- name: "docker buildx ls"
run: docker buildx ls

- if: ${{ env.VARIANT == 'alpine' }}
run: docker pull --platform=${{ matrix.platforms }} postgres:${{ matrix.postgres }}-alpine3.16 && docker inspect postgres:${{ matrix.postgres }}-alpine3.16
Expand All @@ -100,7 +80,8 @@ jobs:
POSTGRES_TEST_TRIES: 42
POSTGRES_TEST_SLEEP: 2

- run: docker images
- name: "docker images"
run: docker images

- if: ${{ env.VARIANT == 'default' }}
run: docker inspect postgis/postgis:${{ env.VERSION }}
Expand Down

0 comments on commit 12d0396

Please sign in to comment.