docker-perl/.woodpecker/.build-perls.yml
Automation Pipeline 3616175f35
Some checks failed
ci/woodpecker/push/generate-perl Pipeline was successful
ci/woodpecker/push/base-os Pipeline was successful
ci/woodpecker/push/build-perls Pipeline failed
try this combo?
2023-10-08 14:22:17 -04:00

73 lines
2.2 KiB
YAML

depends_on:
- "base-os"
- "generate-perl"
# matrix:
# DEBIAN_VERSION:
# - bookworm-backports
# - bullseye-backports
# PERL_VERSION:
# - 5.020.003
# - 5.022.004
# - 5.024.004
# - 5.026.003
# - 5.028.003
# - 5.030.003
# - 5.032.001
# - 5.034.000
# - 5.034.001
# - 5.036.000
# # TODO upgrade things to latest minor versions and also include 5.38
# PERL_OPTIONS:
# - "main"
# - "main-threaded"
# - "main-longdouble"
# - "main-quadmath"
# - "main-debugging"
# - "main-longdouble-threaded"
# - "main-quadmath-threaded"
# - "main-debugging-threaded"
# - "main-debugging-longdouble-threaded"
# - "main-debugging-quadmath-threaded"
# - "main-debugging-longdouble"
# - "main-debugging-quadmath"
steps:
fetch:
image: perl:stable
commands:
- wget https://docker-perl-artifacts.minio.voots.org/generated/output.tar.xz
- tar -xvJf output.tar.xz
# - find output/
dockerd:
image: docker:dind
volumes:
- /tmp/run/:/var/run/
detach: true
build:
image: gitea.simcop2387.info/simcop2387/docker-perl-dind:latest
commands:
- sleep 15
- docker ps
- perl build.pl
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# image: woodpeckerci/plugin-docker-buildx:2
# # image: gitea.simcop2387.info/simcop2387/test_env:latest
# environment:
# IMAGE_VERSION: "${DEBIAN_VERSION}"
# settings:
# debug: "true"
# repo: "gitea.simcop2387.info/simcop2387/perl-container"
# dockerfile: "output/perls/${PERL_VERSION}-${PERL_OPTIONS}-${DEBIAN_VERSION}/Dockerfile"
# context: "output/perls/${PERL_VERSION}-${PERL_OPTIONS}-${DEBIAN_VERSION}"
# auto_tag: "false"
# tags:
# - "${DEBIAN_VERSION}-${PERL_VERSION}${PERL_OPTIONS}-${CI_PIPELINE_CREATED}"
# - "${DEBIAN_VERSION}-${PERL_VERSION}${PERL_OPTIONS}"
# logins:
# - registry: https://gitea.simcop2387.info/
# username: simcop2387
# password:
# from_secret: gitea_docker_token