mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-01-18 16:47:54 +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:
|
||||
- just integration
|
||||
environment:
|
||||
- ACME_API=https://acme.mock.directory
|
||||
- PAGES_DOMAIN=localhost.mock.directory
|
||||
- RAW_DOMAIN=raw.localhost.mock.directory
|
||||
- PORT=4430
|
||||
ACME_API: http://pebble_acme
|
||||
PAGES_DOMAIN: localhost.mock.directory
|
||||
RAW_DOMAIN: raw.localhost.mock.directory
|
||||
PORT: 4430
|
||||
when:
|
||||
- event: [pull_request]
|
||||
|
||||
|
@ -120,3 +120,26 @@ steps:
|
|||
from_secret: bot_token
|
||||
when:
|
||||
- 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