Skip to content

Commit

Permalink
debug step
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke committed Apr 9, 2024
1 parent 03e8763 commit 8e31dba
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/deploy_recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy Recipes to Google Dataflow

env:
JOB_NAME: ${{ github.event.inputs.recipe_id }}-${{ github.run_id }}-${{ github.run_attempt }}

# Can we sanitize the job name here to remove special characters?

on:
workflow_dispatch:
Expand All @@ -28,17 +28,20 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pangeo-forge-runner
- name: "Deploy recipes"
- name: "Check if the workflows are there?"
run: |
pangeo-forge-runner bake \
--repo=${{ github.server_url }}/${{ github.repository }}.git \
--ref=${{ github.sha }} \
--feedstock-subdir='feedstock' \
--Bake.job_name=$JOB_NAME \
--Bake.recipe_id=${{ github.event.inputs.recipe_id }} \
-f configs/config_dataflow.py
env:
GOOGLE_APPLICATION_CREDENTIALS: "${{ steps.auth.outputs.credentials_file_path }}"
ls -la .github/workflows
# - name: "Deploy recipes"
# run: |
# pangeo-forge-runner bake \
# --repo=${{ github.server_url }}/${{ github.repository }}.git \
# --ref=${{ github.sha }} \
# --feedstock-subdir='feedstock' \
# --Bake.job_name=$JOB_NAME \
# --Bake.recipe_id=${{ github.event.inputs.recipe_id }} \
# -f configs/config_dataflow.py
# env:
# GOOGLE_APPLICATION_CREDENTIALS: "${{ steps.auth.outputs.credentials_file_path }}"
- name: Wait for job completion
uses: ./.github/workflows/check_dataflow_jobs.yaml
with:
Expand Down

0 comments on commit 8e31dba

Please sign in to comment.