Skip to content

Commit

Permalink
fix(CI): missing env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-k0 committed May 7, 2024
1 parent 5364693 commit 10308fb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows-source/schedule-hourly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ env:
BAZEL_STARTUP_ARGS: "--output_base=/var/tmp/bazel-output/"
RUSTFLAGS: "--remap-path-prefix=${CI_PROJECT_DIR}=/ic"
AWS_SHARED_CREDENTIALS_CONTENT: ${{ secrets.AWS_SHARED_CREDENTIALS_FILE }}
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}

anchors:
image: &image
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
bazel clean
# rm -rf "${CI_PROJECT_DIR}/" # this doesn't work, TODO: figure out if and where data gets stored
bazel-test-darwin-x86-64:
name: Bazel Test Darwin X86-64
name: Bazel Test Darwin x86-64
timeout-minutes: 90
if: ${{ vars.RUN_CI == 'true' && github.event_name != 'pull_request' && github.event_name != 'merge_group' }} # disable until we have more macos runners
runs-on:
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
if which docker-bin 2>/dev/null; then
docker-bin login -u "$DOCKER_HUB_USER" -p "$DOCKER_HUB_PASSWORD_RO"
fi
- name: Run Bazel Test Darwin X86-64
- name: Run Bazel Test Darwin x86-64
id: bazel-test-darwin-x86-64
if: steps.filter.outputs.bazel-test-darwin-x86-64 != 'false'
uses: ./.github/actions/bazel-test-all/
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/schedule-hourly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ env:
BAZEL_STARTUP_ARGS: "--output_base=/var/tmp/bazel-output/"
RUSTFLAGS: "--remap-path-prefix=${CI_PROJECT_DIR}=/ic"
AWS_SHARED_CREDENTIALS_CONTENT: ${{ secrets.AWS_SHARED_CREDENTIALS_FILE }}
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
jobs:
bazel-build-all-no-cache:
name: Bazel Build All No Cache
Expand Down

0 comments on commit 10308fb

Please sign in to comment.