Another attempt at running ci for scripts
This commit is contained in:
parent
334c63b1e6
commit
3a63d0505f
@ -1,4 +1,16 @@
|
||||
.contract_migration_scripts_variables:
|
||||
variables:
|
||||
APP_DIR: contract-migrations
|
||||
APP_NAME: scripts
|
||||
DOCKERFILE_PATH: $APP_NAME/scripts/docker/Dockerfile
|
||||
|
||||
.contract_migration_scripts_changes_target:
|
||||
rules:
|
||||
- changes:
|
||||
- $CONTEXT/$APP_DIR/$APP_NAME
|
||||
|
||||
|
||||
|
||||
build-mr-import-scripts:
|
||||
script:
|
||||
- pip install --extra-index-url https://pip.grassrootseconomics.net:8433 -r requirements.txt
|
||||
- python create_import_users.py -v -c config --gift-threshold 10000 100
|
||||
|
6
apps/contract-migration/scripts/docker/Dockerfile
Normal file
6
apps/contract-migration/scripts/docker/Dockerfile
Normal 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
|
Loading…
Reference in New Issue
Block a user