Created
August 15, 2022 07:44
-
-
Save patrikbraborec/52d9ef78e97204457cd018161d339e18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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