Fix gitpod prebuild (#1237)

Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
Lukas 2022-10-08 00:13:19 +02:00 committed by GitHub
parent 3130a1c523
commit 5da5580cba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"