Skip to content

Instantly share code, notes, and snippets.

@patrikbraborec
Created August 15, 2022 07:44
Show Gist options
  • Save patrikbraborec/52d9ef78e97204457cd018161d339e18 to your computer and use it in GitHub Desktop.
Save patrikbraborec/52d9ef78e97204457cd018161d339e18 to your computer and use it in GitHub Desktop.
extract_load:
stage: extract_load
image: python:latest
script:
- cd "$CI_PROJECT_DIR/extract_load"
- pip install -r requirements.txt
- ./extract.py
- ./load.py
rules:
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
changes:
- extract_load/**/*
- if: '$CI_PIPELINE_SOURCE == "schedule" && $RUN_ETL == "true"'
- if: '$RUN_ALL_JOBS == "true"'
when: manual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment