Daily Iris Feature Pipeline #96
This file contains 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
name: Daily Iris Feature Pipeline | |
on: | |
schedule: | |
# At 15 past every hour | |
# - cron: '10 * * * *' | |
# At 00:00 UTC every day | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
run-pipeline: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r ./src/iris/requirements.txt | |
- name: Run Iris Feature Pipeline | |
env: | |
HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }} | |
run: python ./src/iris/iris-feature-pipeline-daily.py |