Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into dsharifi/bump-rust-…
Browse files Browse the repository at this point in the history
…1.84
  • Loading branch information
DSharifi committed Jan 20, 2025
2 parents 6c51bad + 91e4183 commit 62f4b11
Show file tree
Hide file tree
Showing 50 changed files with 1,142 additions and 486 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ go_deps.bzl @dfinity/idx
/packages/ic-ledger-hash-of/ @dfinity/finint
/packages/pocket-ic/ @dfinity/pocket-ic
/packages/ic-ethereum-types/ @dfinity/cross-chain-team
/packages/ic-metrics-assert/ @dfinity/cross-chain-team
/packages/ic-sha3/ @dfinity/crypto-team
/packages/ic-signature-verification/ @dfinity/crypto-team
/packages/ic-vetkd-utils/ @dfinity/crypto-team
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows-source/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,12 @@ anchors:
container:
<<: *image
timeout-minutes: 30
docker-login: &docker-login
name: Login to Dockerhub
before-script: &before-script
name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
checkout: &checkout
name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -105,7 +104,7 @@ jobs:
RUN_ON_DIFF_ONLY: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'CI_ALL_BAZEL_TARGETS') }}
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Set BAZEL_EXTRA_ARGS
shell: bash
run: |
Expand Down Expand Up @@ -163,7 +162,7 @@ jobs:
if: ${{ contains(github.event.pull_request.labels.*.name, 'CI_BUILD_CHECK') }}
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Run bazel build --config=check //rs/...
id: bazel-build-config-check
uses: ./.github/actions/bazel-test-all/
Expand All @@ -190,7 +189,8 @@ jobs:
run: |
echo "/usr/local/bin" >> $GITHUB_PATH
echo "$HOME/.cargo/bin:" >> $GITHUB_PATH
- <<: *docker-login
# use llvm-clang instead of apple's
echo "CC=/usr/local/opt/llvm/bin/clang" >> "$GITHUB_ENV"
- name: Run Bazel Test Darwin x86-64
id: bazel-test-darwin-x86-64
uses: ./.github/actions/bazel-test-all/
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
if: ${{ github.event_name != 'merge_group' }}
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Run Build IC
id: build-ic
shell: bash
Expand Down
21 changes: 10 additions & 11 deletions .github/workflows-source/release-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,12 @@ anchors:
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
docker-login: &docker-login
name: Login to Dockerhub
before-script: &before-script
name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
bazel-bep: &bazel-bep
name: Upload bazel-bep
# runs only if previous step succeeded or failed;
Expand All @@ -73,7 +72,7 @@ jobs:
<<: *dind-large-setup
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Run Bazel System Test Nightly
id: bazel-test-all
uses: ./.github/actions/bazel-test-all/
Expand All @@ -90,7 +89,7 @@ jobs:
<<: *dind-large-setup
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Run Bazel System Test Staging
id: bazel-test-all
uses: ./.github/actions/bazel-test-all/
Expand All @@ -108,7 +107,7 @@ jobs:
timeout-minutes: 90
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Run Bazel Test All
id: bazel-test-all
uses: ./.github/actions/bazel-test-all/
Expand All @@ -135,7 +134,7 @@ jobs:
REPO_NAME: ${{ github.repository }}
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -182,7 +181,7 @@ jobs:
<<: *dind-large-setup
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Run qualification for version ${{ matrix.version }} from the tip of the branch
uses: ./.github/actions/bazel-test-all/
with:
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows-source/schedule-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ anchors:
checkout: &checkout
name: Checkout
uses: actions/checkout@v4
docker-login: &docker-login
name: Login to Dockerhub
before-script: &before-script
name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
bazel-bep: &bazel-bep
name: Upload bazel-bep
# runs only if previous step succeeded or failed;
Expand All @@ -64,7 +63,7 @@ jobs:
labels: dind-large
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Run Bazel Launch Bare Metal
shell: bash
run: |
Expand Down Expand Up @@ -108,7 +107,7 @@ jobs:
timeout-minutes: 720 # 12 hours
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Run FI Tests Nightly
id: bazel-test-all
uses: ./.github/actions/bazel-test-all/
Expand All @@ -127,7 +126,7 @@ jobs:
timeout-minutes: 20
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Run NNS Tests Nightly
id: bazel-test-all
uses: ./.github/actions/bazel-test-all/
Expand All @@ -146,7 +145,7 @@ jobs:
timeout-minutes: 480
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Set Benchmark Targets
shell: bash
run: |
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows-source/schedule-hourly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ anchors:
checkout: &checkout
name: Checkout
uses: actions/checkout@v4
docker-login: &docker-login
name: Login to Dockerhub
before-script: &before-script
name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
bazel-bep: &bazel-bep
name: Upload bazel-bep
# runs only if previous step succeeded or failed;
Expand All @@ -58,7 +57,7 @@ jobs:
<<: *dind-large-setup
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Run Bazel Build All No Cache
uses: ./.github/actions/bazel-test-all/
env:
Expand All @@ -77,7 +76,7 @@ jobs:
labels: dind-large
steps:
- <<: *checkout
- <<: *docker-login
- <<: *before-script
- name: Run Bazel System Test Hourly
id: bazel-test-all
uses: ./.github/actions/bazel-test-all/
Expand Down
35 changes: 14 additions & 21 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,11 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 256 || 0 }}
- name: Login to Dockerhub
- name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
- name: Set BAZEL_EXTRA_ARGS
shell: bash
run: |
Expand Down Expand Up @@ -138,12 +137,11 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 256 || 0 }}
- name: Login to Dockerhub
- name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
- name: Run bazel build --config=check //rs/...
id: bazel-build-config-check
uses: ./.github/actions/bazel-test-all/
Expand Down Expand Up @@ -183,12 +181,8 @@ jobs:
run: |
echo "/usr/local/bin" >> $GITHUB_PATH
echo "$HOME/.cargo/bin:" >> $GITHUB_PATH
- name: Login to Dockerhub
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
# use llvm-clang instead of apple's
echo "CC=/usr/local/opt/llvm/bin/clang" >> "$GITHUB_ENV"
- name: Run Bazel Test Darwin x86-64
id: bazel-test-darwin-x86-64
uses: ./.github/actions/bazel-test-all/
Expand Down Expand Up @@ -338,12 +332,11 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 256 || 0 }}
- name: Login to Dockerhub
- name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
- name: Run Build IC
id: build-ic
shell: bash
Expand Down
45 changes: 20 additions & 25 deletions .github/workflows/release-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
- name: Login to Dockerhub
- name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
- name: Run Bazel System Test Nightly
id: bazel-test-all
uses: ./.github/actions/bazel-test-all/
Expand Down Expand Up @@ -80,12 +79,11 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
- name: Login to Dockerhub
- name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
- name: Run Bazel System Test Staging
id: bazel-test-all
uses: ./.github/actions/bazel-test-all/
Expand Down Expand Up @@ -123,12 +121,11 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
- name: Login to Dockerhub
- name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
- name: Run Bazel Test All
id: bazel-test-all
uses: ./.github/actions/bazel-test-all/
Expand Down Expand Up @@ -175,12 +172,11 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
- name: Login to Dockerhub
- name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -242,12 +238,11 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
- name: Login to Dockerhub
- name: Before script
id: before-script
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
- name: Run qualification for version ${{ matrix.version }} from the tip of the branch
uses: ./.github/actions/bazel-test-all/
with:
Expand Down
Loading

0 comments on commit 62f4b11

Please sign in to comment.