Run side tracking #576
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: Run side tracking | |
on: | |
schedule: | |
# every 6 hours | |
- cron: '0 */6 * * *' | |
push: | |
tags: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
package: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.9"] | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install -e . | |
- name: Run side tracking | |
env: | |
DBHUB_API_KEY: ${{ secrets.DBHUB_API_KEY }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
CODE_OCEAN_API_TOKEN: ${{ secrets.CODE_OCEAN_API_TOKEN }} | |
CODE_OCEAN_DOMAIN: ${{ secrets.CODE_OCEAN_DOMAIN }} | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
REDIS_DEFAULT_USER_PASSWORD: ${{ secrets.REDIS_DEFAULT_USER_PASSWORD }} | |
run: | | |
run_queue --capsule_or_pipeline_id facff99f-d3aa-4ecd-8ef8-a343c38197aa --process_name dlc_side |