Skip to content

Commit 7f94ae0

Browse files
authored
Merge pull request #17540 from MinaProtocol/dkijania/add_suffix_to_archive_docker_tag
add case for mina-archive to receive docker suffix tag
2 parents 8fb6eec + 8795775 commit 7f94ae0

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

buildkite/scripts/release/manager.sh

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,10 @@ function verify(){
12821282
for network in "${__networks_arr[@]}"; do
12831283
local __artifact_full_name
12841284
__artifact_full_name=$(get_artifact_with_suffix $artifact $network)
1285-
1285+
1286+
local __docker_suffix_combined
1287+
__docker_suffix_combined=$(combine_docker_suffixes "$network" "$__docker_suffix")
1288+
12861289
if [[ $__only_dockers == 0 ]]; then
12871290
echo " 📋 Verifying: $artifact debian on $__channel channel with $__version version for $__codename codename"
12881291

@@ -1299,18 +1302,13 @@ function verify(){
12991302

13001303
if [[ $__only_debians == 0 ]]; then
13011304

1302-
local __suffix_arg=""
1303-
if [[ -n "$__docker_suffix" ]]; then
1304-
__suffix_arg="-s -$__docker_suffix"
1305-
fi
1306-
1307-
echo " 📋 Verifying: $artifact docker on $(calculate_docker_tag "$__docker_io" $__artifact_full_name $__version $__codename "")"
1305+
echo " 📋 Verifying: $artifact docker on $(calculate_docker_tag "$__docker_io" $artifact $__version $__codename "$network")"
13081306

13091307
prefix_cmd "$SUBCOMMAND_TAB" $SCRIPTPATH/../../../scripts/docker/verify.sh \
13101308
-p "$artifact" \
13111309
-v $__version \
13121310
-c "$__codename" \
1313-
${__suffix_arg} \
1311+
-s "$__docker_suffix_combined" \
13141312
-r "$__repo"
13151313

13161314
echo ""

buildkite/scripts/run-test-executive-local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cleanup
2727
TEST_NAME="$1"
2828

2929
MINA_IMAGE="gcr.io/o1labs-192920/mina-daemon:$MINA_DOCKER_TAG-berkeley"
30-
ARCHIVE_IMAGE="gcr.io/o1labs-192920/mina-archive:$MINA_DOCKER_TAG"
30+
ARCHIVE_IMAGE="gcr.io/o1labs-192920/mina-archive:$MINA_DOCKER_TAG-berkeley"
3131

3232
if [[ "${TEST_NAME:0:15}" == "block-prod-prio" ]] && [[ "$RUN_OPT_TESTS" == "" ]]; then
3333
echo "Skipping $TEST_NAME"

scripts/docker/helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function export_base_image () {
2121

2222
function export_version () {
2323
case "${SERVICE}" in
24-
mina-daemon|mina-batch-txn|mina-rosetta|mina-daemon-hardfork) export VERSION="${VERSION}-${NETWORK##*=}" ;;
24+
mina-daemon|mina-archive|mina-batch-txn|mina-rosetta|mina-daemon-hardfork) export VERSION="${VERSION}-${NETWORK##*=}" ;;
2525
*) ;;
2626
esac
2727
}

0 commit comments

Comments
 (0)