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
2a91a6a4
Commit
2a91a6a4
authored
2 months ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Run ssl-reverse-proxy inline and not as a CI service
parent
fce70ead
No related branches found
Branches containing commit
No related tags found
1 merge request
!469
Run ci-test with actual data
Pipeline
#85537
failed
2 months ago
Stage: build
Stage: container-test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-5
1 addition, 5 deletions
.gitlab-ci.yml
docker/test.sh
+3
-0
3 additions, 0 deletions
docker/test.sh
with
4 additions
and
5 deletions
.gitlab-ci.yml
+
1
−
5
View file @
2a91a6a4
...
...
@@ -16,17 +16,13 @@ test:
alias
:
memcache
-
name
:
docker.io/library/mysql:latest
alias
:
mysql
-
name
:
registry.git.autistici.org/pipelines/images/test/ssl-reverse-proxy:main
alias
:
sslproxy
tags
:
[
podman
]
variables
:
APACHE_PORT
:
8080
TARGET_URL
:
"
https://noblogs.org"
TARGET_ADDR
:
"
sslproxy
:8443"
TARGET_ADDR
:
"
localhost
:8443"
MYSQL_DATABASE
:
noblogs
MYSQL_ROOT_PASSWORD
:
rootpass
PROXY_DOMAIN
:
"
noblogs.org"
PROXY_BACKEND_ADDR
:
"
host.containers.internal:8080"
before_script
:
-
echo -n "$CI_JOB_TOKEN" | podman login -u gitlab-ci-token --password-stdin $CI_REGISTRY
script
:
...
...
This diff is collapsed.
Click to expand it.
docker/test.sh
+
3
−
0
View file @
2a91a6a4
...
...
@@ -2,6 +2,9 @@
TESTSUITE_IMAGE
=
"registry.git.autistici.org/noblogs/testsuite:main"
# Run a ssl-reverse-proxy in the background.
podman run
-d
--expose
8443:8443
--rm
--env
PROXY_DOMAIN
=
noblogs.org
--env
PROXY_BACKEND_ADDR
=
localhost:8080
--network
=
host registry.git.autistici.org/pipelines/images/test/ssl-reverse-proxy:main
# Run the test suite using Podman, in the foreground.
podman run
--rm
--pull
=
always
--env
TARGET_URL
=
${
TARGET_URL
}
--env
TARGET_ADDR
=
${
TARGET_ADDR
}
--network
=
host
${
TESTSUITE_IMAGE
}
rc
=
$?
...
...
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