remove test monitor #45
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: Apply monitors.yaml configuration to Datafold app | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- 'monitors.yaml' | |
jobs: | |
apply: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.12 | |
- name: Install dependencies | |
run: | | |
echo "setuptools<72" > constraints.txt | |
export PIP_CONSTRAINT=constraints.txt | |
pip install --upgrade pip | |
python -m pip install --upgrade pip | |
pip install datafold-sdk | |
- name: Update monitors | |
run: | | |
datafold monitors provision monitors.yaml --dangling-monitors-strategy delete | |
env: | |
DATAFOLD_HOST: https://app.datafold.com | |
DATAFOLD_API_KEY: ${{ secrets.DATAFOLD_APIKEY }} |