Skip to content
Snippets Groups Projects
Commit 4458d510 authored by ale's avatar ale
Browse files

Try using the float-runner based container-test

parent 39e26c2c
No related branches found
No related tags found
1 merge request!287Build on apache2-php-base:bookworm and php 8.2
......@@ -3,20 +3,13 @@ include: "https://git.autistici.org/pipelines/containers/raw/master/common.yml"
# test the newly built container before releasing it.
test:
stage: container-test
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/debian:stable
tags: [docker-in-docker]
services:
- name: ${IMAGE_TAG}
alias: noblogs
- name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/mysql:latest
alias: mysql
image: registry.git.autistici.org/pipelines/images/test/float-podman-runner:master
tags: [podman]
variables:
APACHE_PORT: 8080
SITE_URL: "http://noblogs:8080"
MYSQL_DATABASE: noblogstest
MYSQL_ROOT_PASSWORD: changeme
PHP_FPM_USER: www-data
SITE_URL: "http://localhost:8080"
before_script:
- echo -n "$CI_JOB_TOKEN" | podman login -u gitlab-ci-token --password-stdin $CI_REGISTRY
script:
- apt -q update
- env DEBIAN_FRONTEND=noninteractive apt -y --no-install-recommends install curl
- "curl -H 'Host: noblogs.org' -v ${SITE_URL}"
- with-container --expose=8080 $IMAGE_TAG ./docker/test.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment