Skip to content

test: wip #4779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
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 .github/workflows-source/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ jobs:

# this checks that all lines in the first argument (subset) are identical
# in the second argument (set)
difference=$(comm -23 <(sort shasums-nocache/SHA256SUMS | uniq) <(sort shasums-cache/SHA256SUMS | uniq))
difference=$(comm -12 <(sort shasums-nocache/SHA256SUMS | uniq) <(sort shasums-cache/SHA256SUMS | uniq))
if [ -n "$difference" ]; then
echo "Build Determinism Check Failed! Please contact IDX."
echo "The following artifacts were different:"
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 @@ -350,7 +350,7 @@ jobs:

# this checks that all lines in the first argument (subset) are identical
# in the second argument (set)
difference=$(comm -23 <(sort shasums-nocache/SHA256SUMS | uniq) <(sort shasums-cache/SHA256SUMS | uniq))
difference=$(comm -12 <(sort shasums-nocache/SHA256SUMS | uniq) <(sort shasums-cache/SHA256SUMS | uniq))
if [ -n "$difference" ]; then
echo "Build Determinism Check Failed! Please contact IDX."
echo "The following artifacts were different:"
Expand Down
10 changes: 5 additions & 5 deletions ic-os/boundary-guestos/context/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ WORKDIR /tmp

# Download and verify ic-gateway
RUN \
curl -L -O https://github.com/dfinity/ic-gateway/releases/download/v0.2.0/ic-gateway_0.2.0_amd64.deb && \
echo "0eb9e2b896bbad89ba2fd568cffe260ebe0d037179cbb4bfd064a2085f4be972 ic-gateway_0.2.0_amd64.deb" | sha256sum -c
curl -L -O https://github.com/dfinity/ic-gateway/releases/download/v0.2.3/ic-gateway_0.2.3_amd64.deb && \
echo "0be2bdcd4de85f1c130bc48dc5eadfd7444751e50c29194f53ef4f6bb1fde77d ic-gateway_0.2.3_amd64.deb" | sha256sum -c

#
# Second build stage:
Expand Down Expand Up @@ -56,9 +56,9 @@ FROM image-${BUILD_TYPE}

USER root:root

COPY --from=download /tmp/ic-gateway_0.2.0_amd64.deb /tmp/ic-gateway_0.2.0_amd64.deb
RUN dpkg -i --force-confold /tmp/ic-gateway_0.2.0_amd64.deb && \
rm /tmp/ic-gateway_0.2.0_amd64.deb
COPY --from=download /tmp/ic-gateway_0.2.3_amd64.deb /tmp/ic-gateway_0.2.3_amd64.deb
RUN dpkg -i --force-confold /tmp/ic-gateway_0.2.3_amd64.deb && \
rm /tmp/ic-gateway_0.2.3_amd64.deb

RUN mkdir -p /boot/config \
/boot/efi \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2006,7 +2006,7 @@ pub fn cors_headers_test(env: TestEnv) {
("Access-Control-Allow-Origin", "*"),
("Access-Control-Allow-Methods", &allowed_methods),
("Access-Control-Allow-Headers", "DNT,User-Agent,X-Requested-With,If-None-Match,If-Modified-Since,Cache-Control,Content-Type,Range,Cookie,X-Ic-Canister-Id"),
("Access-Control-Max-Age", "600"),
("Access-Control-Max-Age", "7200"),
] {
let hdr = res
.headers()
Expand Down
Loading