Skip to content
Merged
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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e",
"image": "ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385",
"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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e
image: ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385
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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e
image: ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385
options: >-
-e NODE_NAME --mount type=tmpfs,target="/home/buildifier/.local/share/containers"
steps:
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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e
image: ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385
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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e
image: ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385
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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e
image: ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385
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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e
image: ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385
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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e
image: ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385
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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e
image: ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385
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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e
image: ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385
# 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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e
image: ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385
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:920b8aab4487ce7c192f92b8b9cafff8fe1c8db4fb8e905778206a8d09329d9e
image: ghcr.io/dfinity/ic-build@sha256:ce294087668498864c99d8c440975060c11927b0852791b7c8021e1d3bc0e385
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
20 changes: 0 additions & 20 deletions ci/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,33 +49,13 @@ RUN curl -fsSL https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/
echo "$bazelisk_sha /usr/bin/bazel" | sha256sum --check && \
chmod 777 /usr/bin/bazel

# Add cocogitto
ARG COCOGITTO_VERSION="5.4.0"
ARG COCOGITTO_BIN="/usr/local/bin/cog"
ARG COCOGITTO_OUT="cocogitto-${COCOGITTO_VERSION}-x86_64-unknown-linux-musl.tar.gz"
RUN curl -fsSL "https://github.com/cocogitto/cocogitto/releases/download/${COCOGITTO_VERSION}/cocogitto-${COCOGITTO_VERSION}-x86_64-unknown-linux-musl.tar.gz" | tar -xz -C "/usr/local/bin" && \
rm "/usr/local/bin/LICENSE" && \
echo "26a64a7ace621a0c8aabf9305987b91aa9e84c35db949e8809d4a97ae977fa34 ${COCOGITTO_BIN}" | shasum -a 256 -c -

# Add mold linker
ARG MOLD_BIN="/usr/local/bin/mold"
ARG MOLD_VERSION=2.37.1
RUN curl -sSL "https://github.com/rui314/mold/releases/download/v${MOLD_VERSION}/mold-${MOLD_VERSION}-$(uname -m)-linux.tar.gz" | tar -C /usr/local --strip-components=1 -xzf - && \
echo "98a45fcc651424551f56b8bc4f697ae7ae66930da59b1ef9dfeeaa4da64cb2c6 ${MOLD_BIN}" | shasum -a 256 -c - && \
ln -sf "${MOLD_BIN}" "$(realpath /usr/bin/ld)"

# Add IC SDK (dfx)
ARG sdk_version=0.25.1
ARG sdk_sha=1e2118e0463aa44fed3a5dee8d638144c67e7b6ee8e0beaf75cfd56687bdb7e7
RUN mkdir -p /tmp/sdk && curl -fsSL https://github.com/dfinity/sdk/releases/download/${sdk_version}/dfx-${sdk_version}-x86_64-linux.tar.gz -o /tmp/sdk/dfx.tar.gz && \
echo "$sdk_sha /tmp/sdk/dfx.tar.gz" | sha256sum --check && \
tar -zxf /tmp/sdk/dfx.tar.gz -C /usr/local/bin && \
chmod +x /usr/local/bin/dfx

# Add motoko compiler
ARG motoko_version=0.14.7
RUN curl -fsSL https://github.com/dfinity/motoko/releases/download/${motoko_version}/motoko-linux-x86_64-${motoko_version}.tar.gz | tar -xz -C /usr/local/bin && chmod +x /usr/local/bin/moc

# Create user groups needed for github actions runner
RUN groupadd -g 1001 buildifier && useradd -ms /bin/bash -u 1001 -g 1001 -G ubuntu buildifier && \
# CI before script requires sudo \
Expand Down
2 changes: 1 addition & 1 deletion ci/container/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4b58698d67987aa62a9d06a763897932595b429e617e27ded265bd0b7f1d514c
883c8019dfa7922fda5e45d470820d8dbdc19602357db42955fdfab5dfc612a2
Loading