Disable armv7l builds and arm64 test builds

This commit is contained in:
Deon George 2023-02-04 23:38:08 +11:00
parent e266319386
commit 12431f6c2e
3 changed files with 15 additions and 15 deletions

View File

@ -31,6 +31,6 @@ before_script:
include: include:
- .gitlab-docker-x86_64.yml - .gitlab-docker-x86_64.yml
- .gitlab-docker-armv7l.yml # .gitlab-docker-armv7l.yml
- .gitlab-docker-arm64.yml - .gitlab-docker-arm64.yml
- .gitlab-docker-manifest.yml - .gitlab-docker-manifest.yml

View File

@ -14,15 +14,15 @@ arm64:build:
only: only:
- alpine - alpine
arm64:build-test: #arm64:build-test:
variables: # variables:
ARCH: arm64 # ARCH: arm64
stage: build-test # stage: build-test
script: # script:
- docker build --build-arg HTTP_PROXY=http://proxy.dege.lan:3128 --file Dockerfile.phptest -t ${CI_REGISTRY_IMAGE}:${VERSIONARCH}-test . # - docker build --build-arg HTTP_PROXY=http://proxy.dege.lan:3128 --file Dockerfile.phptest -t ${CI_REGISTRY_IMAGE}:${VERSIONARCH}-test .
- docker push ${CI_REGISTRY_IMAGE}:${VERSIONARCH}-test # - docker push ${CI_REGISTRY_IMAGE}:${VERSIONARCH}-test
tags: # tags:
- docker # - docker
- arm64 # - arm64
only: # only:
- alpine # - alpine

View File

@ -1,7 +1,7 @@
x86_64:build-manifest: x86_64:build-manifest:
stage: build-manifest stage: build-manifest
script: script:
- docker manifest create ${CI_REGISTRY_IMAGE}:${VERSION} ${CI_REGISTRY_IMAGE}:${VERSION}-armv7l ${CI_REGISTRY_IMAGE}:${VERSION}-x86_64 ${CI_REGISTRY_IMAGE}:${VERSION}-arm64 - docker manifest create ${CI_REGISTRY_IMAGE}:${VERSION} ${CI_REGISTRY_IMAGE}:${VERSION}-x86_64 ${CI_REGISTRY_IMAGE}:${VERSION}-arm64 #${CI_REGISTRY_IMAGE}:${VERSION}-armv7l
- docker manifest push --purge ${CI_REGISTRY_IMAGE}:${VERSION} - docker manifest push --purge ${CI_REGISTRY_IMAGE}:${VERSION}
- apk add --no-cache curl - apk add --no-cache curl
- echo curl -LX POST --post301 -F token=${TRIGGER_TOKEN} -F ref=pgsql ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/trigger/pipeline - echo curl -LX POST --post301 -F token=${TRIGGER_TOKEN} -F ref=pgsql ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/trigger/pipeline
@ -17,7 +17,7 @@ x86_64:build-manifest:
x86_64:build-manifest-test: x86_64:build-manifest-test:
stage: build-manifest-test stage: build-manifest-test
script: script:
- docker manifest create ${CI_REGISTRY_IMAGE}:${VERSION}-test ${CI_REGISTRY_IMAGE}:${VERSION}-armv7l-test ${CI_REGISTRY_IMAGE}:${VERSION}-x86_64-test ${CI_REGISTRY_IMAGE}:${VERSION}-arm64-test - docker manifest create ${CI_REGISTRY_IMAGE}:${VERSION}-test ${CI_REGISTRY_IMAGE}:${VERSION}-x86_64-test #${CI_REGISTRY_IMAGE}:${VERSION}-arm64-test #${CI_REGISTRY_IMAGE}:${VERSION}-armv7l-test
- docker manifest push --purge ${CI_REGISTRY_IMAGE}:${VERSION}-test - docker manifest push --purge ${CI_REGISTRY_IMAGE}:${VERSION}-test
tags: tags:
- docker - docker