Skip to content

Commit

Permalink
try to fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Sep 7, 2024
1 parent e354e53 commit 8d7ac70
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
steps:
# Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'
- uses: data-intuitive/reclaim-the-bytes@v2

- uses: actions/checkout@v4

- uses: viash-io/viash-actions/setup@v6
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
env:
s3_bucket: s3://openproblems-data/resources_test/
runs-on: ubuntu-latest

outputs:
component_matrix: ${{ steps.set_matrix.outputs.components }}
component_matrix: ${{ steps.set_matrix.outputs.matrix }}
cache_key: ${{ steps.cache.outputs.cache_key }}

steps:
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
publish_branch: release
full_commit_message: "Deploy for release ${{ github.event.inputs.version_tag }} from ${{ github.sha }}"

- id: ns_list_components
- id: ns_list
uses: viash-io/viash-actions/ns-list@v6
with:
platform: docker
Expand All @@ -57,13 +57,13 @@ jobs:

- id: set_matrix
run: |
echo "components=$(jq -c '[ .[] |
echo "matrix=$(jq -c '[ .[] |
{
"name": (.functionality.namespace + "/" + .functionality.name),
"config": .info.config,
"dir": .info.config | capture("^(?<dir>.*\/)").dir
}
]' ${{ steps.ns_list_components.outputs.output_file }} )" >> $GITHUB_OUTPUT
]' ${{ steps.ns_list.outputs.output_file }} )" >> $GITHUB_OUTPUT
# phase 2
build:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
src: ${{ matrix.component.dir }}
setup: push

###################################3
###################################
# phase 3
component_test:
needs: [ build, list ]
Expand Down
5 changes: 5 additions & 0 deletions scripts/sync_resources.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

set -e

viash run src/common/sync_test_resources/config.vsh.yaml

0 comments on commit 8d7ac70

Please sign in to comment.