Skip to content

Commit

Permalink
fix dependency in workflow and path renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke committed Apr 9, 2024
1 parent 7a374a0 commit 1d77dd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy_recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
sleep 20
done
follow-up-task:
needs: deploy-recipes
runs-on: ubuntu-latest
steps:
- name: just a dummy for now
Expand Down
6 changes: 3 additions & 3 deletions feedstock/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def expand(self, pcoll: beam.PCollection) -> beam.PCollection:
dataset_url = 'https://zenodo.org/record/7761881/files'
with open('global_config.json') as f:
global_config = json.load(f)
latest_store_prefix = global_config['latest_store_prefix']
latest_data_store_prefix = global_config['latest_data_store_prefix']

# Set up injection attributes
# This is for demonstration purposes only and should be discussed with the broader LEAP/PGF community
Expand Down Expand Up @@ -118,7 +118,7 @@ def expand(self, pcoll: beam.PCollection) -> beam.PCollection:
|InjectAttrs(injection_attrs)
|ConsolidateDimensionCoordinates()
|ConsolidateMetadata()
|Copy(target_prefix=latest_store_prefix)
|Copy(target_prefix=latest_data_store_prefix)
)

proto_b = (
Expand All @@ -132,5 +132,5 @@ def expand(self, pcoll: beam.PCollection) -> beam.PCollection:
|InjectAttrs(injection_attrs)
|ConsolidateDimensionCoordinates()
|ConsolidateMetadata()
|Copy(target_prefix=latest_store_prefix)
|Copy(target_prefix=latest_data_store_prefix)
)

0 comments on commit 1d77dd8

Please sign in to comment.