Skip to content

Commit

Permalink
ci(samples): Run samples on staging
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Aug 20, 2024
1 parent 44c0003 commit 1cff234
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: set tag
id: set-tag
run: |
TAG=$(echo "${{ needs.deploy.outputs.tag }}" | sed 's/[[:space:]]//g')
echo "::set-output name=tag::$TAG"
- name: install python dependencies
run: pip install .
- name: deploy to staging
Expand Down Expand Up @@ -81,6 +86,14 @@ jobs:
echo $TAG
queenbee
pollination dsl push pollination-pmv-comfort-map --tag $TAG -e https://api.staging.pollination.cloud -src https://api.staging.pollination.cloud/registries --push-dependencies
- name: install python dependencies for samples
run: pip install -r samples/requirements.txt
- name: run on staging
run: python samples/run_jobs.py
env:
QB_POLLINATION_TOKEN: ${{ secrets.POLLINATION_STAGING_LADYBUGBOT_TOKEN }}
TAG: ${{ steps.set-tag.outputs.tag }}
HOST: https://api.staging.pollination.cloud


deploy-to-production:
Expand Down
5 changes: 0 additions & 5 deletions samples/inputs/inputs.json

This file was deleted.

0 comments on commit 1cff234

Please sign in to comment.