Docker Compose refactoring
This commit is contained in:
parent
7a2a667aaf
commit
a53a26f4c0
36 changed files with 411 additions and 524 deletions
2
packages/hapi-nextauth/.gitignore
vendored
2
packages/hapi-nextauth/.gitignore
vendored
|
|
@ -8,6 +8,4 @@ coverage
|
|||
*.log
|
||||
package-lock.json
|
||||
.npmrc
|
||||
.yalc
|
||||
yalc.lock
|
||||
junit.xml
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@
|
|||
Makefile
|
||||
.gitlab-ci.yml
|
||||
coverage
|
||||
.yarnrc*
|
||||
jest*
|
||||
tsconfig*
|
||||
*.log
|
||||
test*
|
||||
.yalc
|
||||
yalc.lock
|
||||
|
|
|
|||
|
|
@ -1,39 +0,0 @@
|
|||
test: build
|
||||
mkdir -p coverage
|
||||
yarn test
|
||||
|
||||
.PHONY: build
|
||||
build: node_modules/
|
||||
yarn build
|
||||
|
||||
lint:
|
||||
yarn test:lint
|
||||
|
||||
fmt:
|
||||
yarn fix:prettier
|
||||
yarn fix:lint
|
||||
|
||||
doc:
|
||||
yarn doc
|
||||
|
||||
publish: test
|
||||
npm publish
|
||||
|
||||
# always run yarn when we are in the CI
|
||||
node_modules/: .npmrc
|
||||
@(test -d node_modules && test -z "${CI_JOB_TOKEN}") || yarn
|
||||
|
||||
.npmrc:
|
||||
ifdef CI_JOB_TOKEN
|
||||
echo '@guardianproject-ops:registry=https://gitlab.com/api/v4/packages/npm/' > .npmrc
|
||||
echo '@digiresilience:registry=https://gitlab.com/api/v4/packages/npm/' > .npmrc
|
||||
echo '//gitlab.com/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN}' >> .npmrc
|
||||
echo '//gitlab.com/api/v4/projects/:_authToken=${CI_JOB_TOKEN}' >> .npmrc
|
||||
echo '//gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}' >> .npmrc
|
||||
endif
|
||||
|
||||
clean:
|
||||
rm -rf build tmp coverage yarn-error.log
|
||||
|
||||
distclean: clean
|
||||
rm -rf node_modules
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
version: "3.1"
|
||||
services:
|
||||
db_test:
|
||||
image: postgres:13
|
||||
environment:
|
||||
POSTGRES_PASSWORD: amigo
|
||||
POSTGRES_USER: postgres
|
||||
ports:
|
||||
- "127.0.0.1:5436:5432"
|
||||
Loading…
Add table
Add a link
Reference in a new issue