mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +00:00
parent
3130a1c523
commit
5da5580cba
1 changed files with 4 additions and 3 deletions
|
@ -12,20 +12,21 @@ tasks:
|
|||
go mod tidy
|
||||
mkdir -p web/dist
|
||||
touch web/dist/index.html
|
||||
command: |
|
||||
echo WOODPECKER_GITEA_URL=https://3000-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST} >> .env
|
||||
echo WOODPECKER_DEV_OAUTH_HOST=https://8000-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST} >> .env
|
||||
gp sync-await gitea
|
||||
gp sync-done woodpecker-server
|
||||
command: go run github.com/woodpecker-ci/woodpecker/cmd/server
|
||||
go run github.com/woodpecker-ci/woodpecker/cmd/server
|
||||
- name: Agent
|
||||
env:
|
||||
WOODPECKER_SERVER: localhost:9000
|
||||
WOODPECKER_SECRET: "1234"
|
||||
WOODPECKER_MAX_PROCS: 1
|
||||
WOODPECKER_HEALTHCHECK: false
|
||||
init: |
|
||||
command: |
|
||||
gp sync-await woodpecker-server
|
||||
command: go run github.com/woodpecker-ci/woodpecker/cmd/agent
|
||||
go run github.com/woodpecker-ci/woodpecker/cmd/agent
|
||||
- name: Gitea
|
||||
command: |
|
||||
export DOCKER_COMPOSE_CMD="docker-compose -f docker-compose.gitpod.yml -p woodpecker"
|
||||
|
|
Loading…
Reference in a new issue