Skip to content

Commit

Permalink
Revert HostOS MR due to CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
martina-dfinity committed Apr 19, 2022
1 parent 709f9ca commit 0d75caa
Show file tree
Hide file tree
Showing 157 changed files with 12 additions and 10,540 deletions.
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,13 @@ dist-newstyle
test_report.xml

# IC-OS disk images
*-os.iso
*-img.tar.gz
ic-os.img.tar
ic-os.img

# Various build artifacts
/artifacts/
**/build
**/build-tmp
**/build-out
**/boot/version.txt
**/bin/canister_sandbox
**/bin/ic-btc-adapter
Expand All @@ -86,7 +85,7 @@ test_report.xml
**/bin/replica
**/bin/state-tool
**/bin/vsock_agent
**/bin/sandbox_launcher
**/bin/canister_sandbox
**/bin/boundary-node-prober

# Boundary node control plane binary
Expand Down
1 change: 0 additions & 1 deletion Capsule.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ input = [
"artifacts/canisters/xnet-test-canister.wasm.gz",
# IC-OS Build scripts
"ic-os/guestos/scripts/*",
"ic-os/scripts/*",
"gitlab-ci/src/job_scripts/*",
"ic-os/guestos/bootloader/*",
"ic-os/guestos/rootfs/**/*",
Expand Down
4 changes: 0 additions & 4 deletions gitlab-ci/config/00--child-pipeline-root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ include:
- local: /gitlab-ci/config/47--guest-os-test--guest-os-e2e-test.yml
- local: /gitlab-ci/config/47--guest-os-test--e2e-scalability.yml
- local: /gitlab-ci/config/48--determinism-test.yml
- local: /gitlab-ci/config/52--host-os-build--build-host-img.yml
- local: /gitlab-ci/config/52--host-os-build--build-update-img.yml
- local: /gitlab-ci/config/53--host-os-build--build-iso-img.yml
- local: /gitlab-ci/config/54--host-os-test--host-os-upgrade-test.yml

.cargo-build-docker-protected:
needs: [] # don't wait on other jobs by default
Expand Down
4 changes: 1 addition & 3 deletions gitlab-ci/config/00--common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ stages: # Files from the given stage should be prefixed with:
- guest-os-test # 47--
- build-determinism-test # 48--
- e2e-tests # 50--
- host-os-build # 52--
- host-os-test # 54--
- prod-tests # 60--
# Shard prod tests into 5 groups, because there are 5 'cdnightly' testnet environments.
# The stages are purely for visual convenience when rendering the pipeline in the GitLab UI.
Expand Down Expand Up @@ -223,7 +221,7 @@ after_script:
# - Build results are stored in non-persisted /cargo_target
# - The container is destroyed and all non-persisted data is dropped, including /cargo_target
image:
name: "registry.gitlab.com/dfinity-lab/core/docker/ic-build-nix:2022-03-29-0bd5868e7-680ce9a5065742d97e268e3889118eaf21a26a4a"
name: "registry.gitlab.com/dfinity-lab/core/docker/ic-build-nix:2022-03-29-09b55cf44-d94121860c64b161888521097e591ee2e25c0637"
tags:
# Build on runners that have following tags
- dfinity
Expand Down
6 changes: 3 additions & 3 deletions gitlab-ci/config/30--cargo-build--child-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ cargo-build-release-linux-native:
- .rules-parent-pipeline-autorun-on-trigger
image:
# Use the docker image without nix-shell
name: "registry.gitlab.com/dfinity-lab/core/docker/ic-build:2022-03-29-0bd5868e7-29457eb1fba2642d9df5cdc0022655acfea974cc"
name: "registry.gitlab.com/dfinity-lab/core/docker/ic-build:2022-03-29-09b55cf44-be6eecb8e51ffc7fc98bb891a45bc77bde931b58"
variables:
ARTIFACT_EXT: ""
artifacts:
Expand All @@ -67,7 +67,7 @@ cargo-build-canisters:
ARTIFACT_EXT: ""
image:
# Use the docker image without nix-shell
name: "registry.gitlab.com/dfinity-lab/core/docker/ic-build:2022-03-29-0bd5868e7-29457eb1fba2642d9df5cdc0022655acfea974cc"
name: "registry.gitlab.com/dfinity-lab/core/docker/ic-build:2022-03-29-09b55cf44-be6eecb8e51ffc7fc98bb891a45bc77bde931b58"
artifacts:
paths:
- "artifacts/canisters${ARTIFACT_EXT}/*"
Expand All @@ -92,7 +92,7 @@ dfx-build-release-linux:
- artifacts/sdk-release/*
image:
# Use the docker image without nix-shell
name: "registry.gitlab.com/dfinity-lab/core/docker/ic-build:2022-03-29-0bd5868e7-29457eb1fba2642d9df5cdc0022655acfea974cc"
name: "registry.gitlab.com/dfinity-lab/core/docker/ic-build:2022-03-29-09b55cf44-be6eecb8e51ffc7fc98bb891a45bc77bde931b58"
variables:
BUILD_COMMAND: ""
CARGO_BUILD_TARGET: x86_64-unknown-linux-gnu
Expand Down
33 changes: 0 additions & 33 deletions gitlab-ci/config/52--host-os-build--build-base-img.yml

This file was deleted.

41 changes: 0 additions & 41 deletions gitlab-ci/config/52--host-os-build--build-host-img.yml

This file was deleted.

50 changes: 0 additions & 50 deletions gitlab-ci/config/52--host-os-build--build-update-img.yml

This file was deleted.

33 changes: 0 additions & 33 deletions gitlab-ci/config/53--host-os-build--build-iso-img.yml

This file was deleted.

35 changes: 0 additions & 35 deletions gitlab-ci/config/54--host-os-test--host-os-upgrade-test.yml

This file was deleted.

3 changes: 1 addition & 2 deletions gitlab-ci/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone &
zip unzip rclone rsync bc csmith gcc lld lld-10 libc++-10-dev libcsmith-dev sqlite3 libsqlite3-dev libselinux-dev libunwind-dev \
qemu-system-x86 ovmf iproute2 dosfstools mtools fakeroot faketime android-sdk-ext4-utils \
policycoreutils python3 python3-requests python3-pip python3-gflags python3-cbor pipenv shellcheck bazel-5.0.0 \
sudo docker-ce-cli ripgrep patchelf asciidoctor plantuml graphviz cpio nodejs npm gosu pigz \
ca-certificates curl git isolinux p7zip-full syslinux xorriso && \
sudo docker-ce-cli ripgrep patchelf asciidoctor plantuml graphviz cpio nodejs npm gosu pigz && \
gem install asciidoctor-diagram rouge && \
ln -s $(which bazel-5.0.0) /usr/bin/bazel

Expand Down
2 changes: 1 addition & 1 deletion gitlab-ci/docker/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-03-29-0bd5868e7
2022-03-29-09b55cf44
44 changes: 0 additions & 44 deletions gitlab-ci/src/job_scripts/lib/host-os-diskimg.sh

This file was deleted.

28 changes: 0 additions & 28 deletions gitlab-ci/src/job_scripts/lib/host-os-updateimg.sh

This file was deleted.

6 changes: 0 additions & 6 deletions gitlab-ci/tools/build-ic
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ if [ "$BUILD_IMAGES" == "true" ]; then
fi
echo -e "\n${HEADER_ICOS}\n"
gitlab-ci/src/job_scripts/lib/guest-os-updateimg.sh "${DISK_DIR}"
# XXX FIXME: Avoid building host-os update image until artifact limit has been increased.
# gitlab-ci/src/job_scripts/lib/host-os-updateimg.sh "${DISK_DIR}"
fi

echo
Expand All @@ -178,8 +176,6 @@ if [ "$BUILD_IMAGES" == "true" ] && [ "$BUILD_BINARIES" == "true" ] && [ "$BUILD
echo IC-OS Image
cd "$DISK_DIR"
ls -1 update-img.tar.gz | xargs -n1 sha256sum | tee /tmp/update-img.txt
# XXX FIXME: Avoid building host-os update image until artifact limit has been increased.
# ls -1 host-update-img.tar.gz | xargs -n1 sha256sum | tee /tmp/host-update-img.txt
echo
fi

Expand All @@ -193,7 +189,5 @@ if [ "$BUILD_CANISTERS" == "true" ]; then
fi
if [ "$BUILD_IMAGES" == "true" ] && [ "$BUILD_BINARIES" == "true" ] && [ "$BUILD_CANISTERS" == "true" ]; then
sha256sum update-img.txt
# XXX FIXME: Avoid building host-os update image until artifact limit has been increased.
# sha256sum host-update-img.txt
fi
echo
Loading

0 comments on commit 0d75caa

Please sign in to comment.