File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -52,22 +52,19 @@ for i in "${debs[@]}"; do
5252 debs_with_version+=(" ${i} =${MINA_DEB_VERSION} " )
5353done
5454
55- # Install aptly
56- $SUDO apt-get update
57- $SUDO apt-get install -y aptly
58-
5955# Start aptly
6056source ./scripts/debian/aptly.sh start --codename $MINA_DEB_CODENAME --debians $LOCAL_DEB_FOLDER --component unstable --clean --background
6157
6258# Install debians
6359echo " Installing mina packages: $DEBS "
6460echo " deb [trusted=yes] http://localhost:8080 $MINA_DEB_CODENAME unstable" | $SUDO tee /etc/apt/sources.list.d/mina.list
6561
66- $SUDO apt-get update --yes
62+ # Update apt packages for the new repo, preserving all others
63+ $SUDO apt-get update --yes -o Dir::Etc::sourcelist=" sources.list.d/mina.list" -o Dir::Etc::sourceparts=" -" -o APT::Get::List-Cleanup=" 0"
6764$SUDO apt-get remove --yes " ${debs[@]} "
6865$SUDO apt-get install --yes --allow-downgrades " ${debs_with_version[@]} "
6966
7067
7168
7269# Cleaning up
73- source ./scripts/debian/aptly.sh stop --clean
70+ source ./scripts/debian/aptly.sh stop --clean
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export DEBIAN_FRONTEND=noninteractive
4040rm -f /etc/apt/sources.list.d/hashicorp.list
4141
4242apt-get update
43- apt-get install -y git apt-transport-https ca-certificates tzdata curl
43+ apt-get install -y git apt-transport-https ca-certificates aptly tzdata curl
4444
4545TESTNET_NAME=" berkeley"
4646
Original file line number Diff line number Diff line change 44-- NOTE: minaToolchainBookworm is also used for building Ubuntu Jammy packages in CI
55{ toolchainBase = " codaprotocol/ci-toolchain-base:v3"
66, minaToolchainBullseye =
7- " gcr.io/o1labs-192920/mina-toolchain@sha256:7e1ee3c956dc2ae149994139702fa46970b17ad68890d8c6c2d358b2700d2623 "
7+ " gcr.io/o1labs-192920/mina-toolchain@sha256:b1816fd48deb3a67368b52597a391c60df882f4755f0d7075f02acf88b7bdf90 "
88, minaToolchainBookworm =
9- " gcr.io/o1labs-192920/mina-toolchain@sha256:7e1ee3c956dc2ae149994139702fa46970b17ad68890d8c6c2d358b2700d2623 "
9+ " gcr.io/o1labs-192920/mina-toolchain@sha256:b1816fd48deb3a67368b52597a391c60df882f4755f0d7075f02acf88b7bdf90 "
1010, minaToolchain =
11- " gcr.io/o1labs-192920/mina-toolchain@sha256:7e1ee3c956dc2ae149994139702fa46970b17ad68890d8c6c2d358b2700d2623 "
11+ " gcr.io/o1labs-192920/mina-toolchain@sha256:b1816fd48deb3a67368b52597a391c60df882f4755f0d7075f02acf88b7bdf90 "
1212, elixirToolchain = " elixir:1.10-alpine"
1313, nodeToolchain = " node:14.13.1-stretch-slim"
1414, ubuntu2004 = " ubuntu:20.04"
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ USER root
1919# afaict this is the last python dependency of any kind in CI
2020RUN apt-get update --yes \
2121 && apt-get install --yes \
22+ aptly \
2223 apt-transport-https \
2324 apt-utils \
2425 awscli \
You can’t perform that action at this time.
0 commit comments