Update docker-compose.yml, apps/cic-eth/.gitlab-ci.yml, ci_templates/.cic-template.yml files

This commit is contained in:
Blair Vanderlugt 2021-07-06 17:30:12 +00:00
parent 068d1112d2
commit f72d577b8c
3 changed files with 11 additions and 10 deletions

View File

@ -1,7 +1,8 @@
.cic_eth_variables:
variables:
APP_NAME: cic-eth
DOCKERFILE_PATH: $APP_NAME/docker/Dockerfile_ci
DOCKERFILE_PATH: docker/Dockerfile_ci
CONTEXT: $CI_PROJECT_DIR/apps/$APP_NAME
.cic_eth_changes_target:
rules:

View File

@ -4,13 +4,13 @@ image:
variables:
KANIKO_CACHE_ARGS: "--cache=false --cache-copy-layers=true --cache-ttl=24h"
CONTEXT: $CI_PROJECT_DIR/apps/
.py_build_merge_request:
stage: build
variables:
CI_DEBUG_TRACE: "true"
IMAGE_TAG: $CI_REGISTRY_IMAGE/mergerequest/$APP_NAME:$CI_COMMIT_SHORT_SHA
CONTEXT: $CI_PROJECT_DIR/apps/
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > "/kaniko/.docker/config.json"

View File

@ -228,8 +228,8 @@ services:
cic-eth-tasker:
# image: grassrootseconomics:cic-eth-service
build:
context: apps/
dockerfile: cic-eth/docker/Dockerfile
context: apps/cic-eth
dockerfile: docker/Dockerfile
environment:
CIC_REGISTRY_ADDRESS: $CIC_REGISTRY_ADDRESS
ETH_GAS_PROVIDER_ADDRESS: $DEV_ETH_ACCOUNT_GAS_PROVIDER
@ -277,8 +277,8 @@ services:
cic-eth-tracker:
build:
context: apps/
dockerfile: cic-eth/docker/Dockerfile
context: apps/cic-eth
dockerfile: docker/Dockerfile
environment:
ETH_PROVIDER: http://eth:8545
DATABASE_USER: ${DATABASE_USER:-grassroots}
@ -315,8 +315,8 @@ services:
cic-eth-dispatcher:
build:
context: apps/
dockerfile: cic-eth/docker/Dockerfile
context: apps/cic-eth
dockerfile: docker/Dockerfile
environment:
ETH_PROVIDER: http://eth:8545
DATABASE_USER: ${DATABASE_USER:-grassroots}
@ -355,8 +355,8 @@ services:
cic-eth-retrier:
build:
context: apps/
dockerfile: cic-eth/docker/Dockerfile
context: apps/cic-eth
dockerfile: docker/Dockerfile
environment:
ETH_PROVIDER: http://eth:8545
DATABASE_USER: ${DATABASE_USER:-grassroots}