ci: fix clone auth with codeberg_token secret
This commit is contained in:
parent
6304cca556
commit
57deaaaf8f
2 changed files with 24 additions and 0 deletions
|
|
@ -5,6 +5,18 @@ name: build-and-test
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
|
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
depth: 50
|
||||||
|
environment:
|
||||||
|
GIT_TERMINAL_PROMPT: "0"
|
||||||
|
CI_NETRC_MACHINE: codeberg.org
|
||||||
|
CI_NETRC_USERNAME: johba
|
||||||
|
CI_NETRC_PASSWORD:
|
||||||
|
from_secret: codeberg_token
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: bootstrap-deps
|
- name: bootstrap-deps
|
||||||
image: registry.niovi.voyage/harb/node-ci:latest
|
image: registry.niovi.voyage/harb/node-ci:latest
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,18 @@ name: e2e
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
|
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
depth: 50
|
||||||
|
environment:
|
||||||
|
GIT_TERMINAL_PROMPT: "0"
|
||||||
|
CI_NETRC_MACHINE: codeberg.org
|
||||||
|
CI_NETRC_USERNAME: johba
|
||||||
|
CI_NETRC_PASSWORD:
|
||||||
|
from_secret: codeberg_token
|
||||||
|
|
||||||
# All background services - services get proper DNS resolution in Woodpecker
|
# All background services - services get proper DNS resolution in Woodpecker
|
||||||
# Note: Services can't depend on steps, so they wait internally for contracts.env
|
# Note: Services can't depend on steps, so they wait internally for contracts.env
|
||||||
services:
|
services:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue