From 98e3a9d8100a78193b3f38922decc97cfb966b7b Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Mon, 19 Dec 2022 12:43:13 +0530 Subject: [PATCH] fix: switch to global env vars --- .woodpecker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 59d827f..d9867f9 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,7 +2,7 @@ pipeline: backend: image: rust environment: - - PG_DATABASE_URL=postgres://postgres:password@database:5432/postgres + - DATABASE_URL=postgres://postgres:password@database:5432/postgres commands: - curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\ - apt update && apt-get -y --no-install-recommends install nodejs @@ -12,9 +12,9 @@ pipeline: - sed -i 's%url = "http:\/\/localhost:5000"%url = "http:\/\/librepages-conductor:5000"%' config/default.toml - make dev-env - make build - - DATABASE_URL=PG_DATABASE_URL make migrate + - make migrate - make lint - - DATABASE_URL=PG_DATABASE_URL make test + - make test build_docker_img: image: plugins/docker