Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"image": "ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54",
"image": "ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a",
"remoteUser": "ubuntu",
"privileged": true,
"runArgs": [
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: &dind-large-setup
labels: dind-large
container: &container-setup
image: ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54
image: ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a
options: >-
-e NODE_NAME --privileged --cgroupns host --mount type=tmpfs,target="/home/buildifier/.local/share/containers"
timeout-minutes: 90
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-pr-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: &dind-small-setup
labels: dind-small
container: &container-setup
image: ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54
image: ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a
options: >-
-e NODE_NAME --mount type=tmpfs,target="/home/buildifier/.local/share/containers"
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/container-base-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ jobs:
shell: bash
run: |
set -xeuo pipefail
sudo apt-get update && sudo apt-get install -y rsync
find artifacts
rsync -rv artifacts/ .
rm -rf artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pocket-ic-tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
bazel-build-pocket-ic:
name: Bazel Build PocketIC
container:
image: ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54
image: ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a
options: >-
-e NODE_NAME --privileged --cgroupns host --mount type=tmpfs,target="/home/buildifier/.local/share/containers"
timeout-minutes: 90
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rate-limits-backend-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
labels: dind-large

container:
image: ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54
image: ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a
options: >-
-e NODE_NAME --privileged --cgroupns host -v /var/tmp:/var/tmp -v /ceph-s3-info:/ceph-s3-info --mount type=tmpfs,target="/home/buildifier/.local/share/containers"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: &dind-large-setup
labels: dind-large
container: &container-setup
image: ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54
image: ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a
options: >-
-e NODE_NAME --privileged --cgroupns host --mount type=tmpfs,target="/home/buildifier/.local/share/containers"
timeout-minutes: 180
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rosetta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on:
labels: dind-large
container:
image: ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54
image: ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a
options: >-
-e NODE_NAME --privileged --cgroupns host --mount type=tmpfs,target="/home/buildifier/.local/share/containers"
environment: DockerHub
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/salt-sharing-canister-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
labels: dind-large

container:
image: ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54
image: ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a
options: >-
-e NODE_NAME --privileged --cgroupns host -v /var/tmp:/var/tmp -v /ceph-s3-info:/ceph-s3-info --mount type=tmpfs,target="/home/buildifier/.local/share/containers"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schedule-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: &dind-large-setup
labels: dind-large
container: &container-setup
image: ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54
image: ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a
options: >-
-e NODE_NAME --privileged --cgroupns host --mount type=tmpfs,target="/home/buildifier/.local/share/containers"
timeout-minutes: 720 # 12 hours
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schedule-rust-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# see linux-x86-64 runner group
labels: rust-benchmarks
container:
image: ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54
image: ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a
# running on bare metal machine using ubuntu user
options: --user ubuntu --mount type=tmpfs,target="/home/ubuntu/.local/share/containers"
timeout-minutes: 720 # 12 hours
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schedule-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on:
labels: dind-large
container:
image: ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54
image: ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a
options: >-
-e NODE_NAME --mount type=tmpfs,target="/home/buildifier/.local/share/containers"
timeout-minutes: 60 # 1 hour
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-mainnet-canister-revisions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
labels: dind-small
environment: CREATE_PR
container:
image: ghcr.io/dfinity/ic-build@sha256:d7480d9e753f83ef8900edca2d45903d3f2215d2fba3367325c8bc6fc8f0de54
image: ghcr.io/dfinity/ic-build@sha256:ca256c678300a63897eaf2574c2d0044391fd1137b7a5e9b0f4224f9cd81d00a
options: >-
-e NODE_NAME --privileged --cgroupns host -v /var/tmp:/var/tmp -v /ceph-s3-info:/ceph-s3-info --mount type=tmpfs,target="/home/buildifier/.local/share/containers"
env:
Expand Down
2 changes: 1 addition & 1 deletion ci/container/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bac8d29032c99be57073c524f7f4c4cd9b91db27e796fc0a30792f1bd8f3160c
f2f8e49dc06e75a1c684d9c5647fee0d0ef3084400bd45c4f268fad51a98252d
4 changes: 1 addition & 3 deletions ci/container/files/packages.common
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ sudo
jq
rclone
time
podman # rosetta-release.yml
rsync # container-base-images.yml
lcov # used for bazel coverage

# RUST
gcc
Expand Down Expand Up @@ -64,6 +61,7 @@ libsystemd-dev
libvirt-dev
mtools # used for mcopy and mmd
nasm # to build OVMF
podman
zstd

# Unknown
Expand Down
6 changes: 6 additions & 0 deletions ci/scripts/bazel-coverage.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#!/usr/bin/env bash
set -eEuo pipefail

# Ensure lcov is installed
if ! command -v lcov >/dev/null 2>&1; then
echo "lcov not found, installing..."
sudo apt-get update && sudo apt-get install -y lcov
fi

bazel query --universe_scope=//... \
"kind(test, //rs/...) except kind(test, allrdeps(attr('tags', 'canister', //rs/...)))" \
>cov_targets.txt
Expand Down
Loading