Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noblogs-composer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
noblogs-composer
Commits
4458d510
Commit
4458d510
authored
1 year ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Try using the float-runner based container-test
parent
39e26c2c
No related branches found
Branches containing commit
No related tags found
1 merge request
!287
Build on apache2-php-base:bookworm and php 8.2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-14
7 additions, 14 deletions
.gitlab-ci.yml
with
7 additions
and
14 deletions
.gitlab-ci.yml
+
7
−
14
View file @
4458d510
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment