Skip to content
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

remove-keys-from-deb to remove CI lock contention #6499

Merged
merged 2 commits into from
Oct 24, 2020
Merged
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
7 changes: 6 additions & 1 deletion scripts/rebuild-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ mkdir -p "${BUILDDIR}/etc/coda/build_config"
cp ../src/config/"$DUNE_PROFILE".mlh "${BUILDDIR}/etc/coda/build_config/BUILD.mlh"
rsync -Huav ../src/config/* "${BUILDDIR}/etc/coda/build_config/."


# TODO: Find a way to package keys properly without blocking/locking in CI
# For now, deleting keys in /tmp/ so that the complicated logic below for moving them short-circuits and both packages are built without keys
rm -rf /tmp/s3_cache_dir /tmp/coda_cache_dir

# Keys
# Identify actual keys used in build
#NOTE: Moving the keys from /tmp because of storage constraints. This is OK
Expand Down Expand Up @@ -114,6 +119,7 @@ do
done
done

# Copy the genesis ledgers and proofs as these are fairly small and very valueable to have l
# Genesis Ledger/proof Copy
for f in /tmp/coda_cache_dir/genesis*; do
if [ -e "$f" ]; then
Expand All @@ -128,7 +134,6 @@ for f in /tmp/s3_cache_dir/genesis*; do
fi
done


#copy config.json
cp ../genesis_ledgers/phase_three/config.json "${BUILDDIR}/var/lib/coda/config_${GITHASH_CONFIG}.json"

Expand Down