Compare commits

...

14 Commits

3 changed files with 21 additions and 0 deletions

View File

@ -6,6 +6,7 @@ include:
- local: 'apps/cic-notify/.gitlab-ci.yml'
- local: 'apps/cic-meta/.gitlab-ci.yml'
- local: 'apps/cic-cache/.gitlab-ci.yml'
- local: 'apps/contract-migration/scripts/.gitlab-ci.yml'
stages:
- build

View File

@ -0,0 +1,14 @@
.scripts_variables:
variables:
APP_DIR: contract-migrations
APP_NAME: scripts
DOCKERFILE_PATH: $APP_DIR/$APP_NAME/docker/Dockerfile
.scripts_changes_target:
rules:
- changes:
- $CONTEXT/$APP_DIR/$APP_NAME
build-mr-scripts:
script:
- python create_import_users.py -v -c config --gift-threshold 10000 100

View File

@ -0,0 +1,6 @@
FROM python:3.8.5-slim-buster
RUN apt-get update
RUN apt-get install -y --no-install-recommends git gcc g++ libpq-dev gawk jq telnet wget openssl iputils-ping gnupg socat bash procps make python2 cargo
RUN pip install pip
RUN pip install --extra-index-url https://pip.grassrootseconomics.net:8433 -r requirements.txt