Skip to content

Commit

Permalink
wip: Refactor CI to use GitHub actions and generic bash scripts (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Apr 11, 2024
1 parent 7943704 commit 9d1f379
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}
run: bash ./scripts/run_tests.sh -n ${{ matrix.node }} -m ${{ matrix.mongo }}

build_models:
build_model:
strategy:
fail-fast: false
matrix:
Expand All @@ -72,9 +72,9 @@ jobs:
- name: Build image
env:
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}
run: bash ./scripts/build.sh -m ${{ matrix.model }} -p -r ${{ github.job }}
run: bash ./scripts/build.sh -m ${{ matrix.model }} -p -r "${{ github.job }} ${{ matrix.model }}"

build_loaders:
build_loader:
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -104,4 +104,4 @@ jobs:
- name: Build image
env:
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}
run: bash ./scripts/build.sh -m ${{ matrix.model }} -l ${{ matrix.loader }} -p -r ${{ github.job }}
run: bash ./scripts/build.sh -m ${{ matrix.model }} -l ${{ matrix.loader }} -p -r "${{ github.job }} ${{ matrix.model }} ${{ matrix.loader }}"
4 changes: 2 additions & 2 deletions scripts/init_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ init_github_run_tests() {
install_reqs yq age sops nvm node16 node18 node20 mongo4 mongo5 mongo6 cc_test_reporter
}

init_github_build_models() {
init_github_build_model() {
install_reqs age sops nvm node16
}

init_github_build_loaders() {
init_github_build_loader() {
install_reqs age sops nvm node16
}

Expand Down

0 comments on commit 9d1f379

Please sign in to comment.