mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-01-19 00:57:53 +00:00
draft
This commit is contained in:
parent
e079ce4cf4
commit
13a8ccab1f
1 changed files with 27 additions and 4 deletions
|
@ -53,10 +53,10 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- just integration
|
- just integration
|
||||||
environment:
|
environment:
|
||||||
- ACME_API=https://acme.mock.directory
|
ACME_API: http://pebble_acme
|
||||||
- PAGES_DOMAIN=localhost.mock.directory
|
PAGES_DOMAIN: localhost.mock.directory
|
||||||
- RAW_DOMAIN=raw.localhost.mock.directory
|
RAW_DOMAIN: raw.localhost.mock.directory
|
||||||
- PORT=4430
|
PORT: 4430
|
||||||
when:
|
when:
|
||||||
- event: [pull_request]
|
- event: [pull_request]
|
||||||
|
|
||||||
|
@ -120,3 +120,26 @@ steps:
|
||||||
from_secret: bot_token
|
from_secret: bot_token
|
||||||
when:
|
when:
|
||||||
- event: [tag]
|
- event: [tag]
|
||||||
|
|
||||||
|
services:
|
||||||
|
pebble_acme:
|
||||||
|
image: letsencrypt/pebble
|
||||||
|
commands:
|
||||||
|
- |
|
||||||
|
echo '{
|
||||||
|
"pebble": {
|
||||||
|
"listenAddress": "0.0.0.0:80",
|
||||||
|
"managementListenAddress": "0.0.0.0:8080",
|
||||||
|
"certificate": "test/certs/localhost/cert.pem",
|
||||||
|
"privateKey": "test/certs/localhost/key.pem",
|
||||||
|
"httpPort": 80,
|
||||||
|
"tlsPort": 443,
|
||||||
|
"ocspResponderURL": "",
|
||||||
|
"externalAccountBindingRequired": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'
|
||||||
|
- pebble -config /pebble.json
|
||||||
|
environment:
|
||||||
|
PEBBLE_VA_NOSLEEP: "1"
|
||||||
|
PEBBLE_VA_ALWAYS_VALID: "1"
|
||||||
|
|
Loading…
Reference in a new issue