<commit_before>#!/bin/bash

set -ex
VERSION="$1"
GS="gs://builds.release.core-os.net/stable/boards/amd64-usr/$VERSION"

cd "${2:-.}"

gsutil cp \
    "${GS}/coreos_production_image.vmlinuz" \
    "${GS}/coreos_production_image.vmlinuz.sig" \
    "${GS}/coreos_production_update.bin.bz2" \
    "${GS}/coreos_production_update.bin.bz2.sig" \
    "${GS}/coreos_production_update.zip" \
    "${GS}/coreos_production_update.zip.sig" ./

gpg --verify "coreos_production_image.vmlinuz.sig"<commit_msg>offline_signing: add support for different boards<commit_after>#!/bin/bash

set -ex
BOARD="$1"
VERSION="$2"
GS="gs://builds.release.core-os.net/stable/boards/$BOARD/$VERSION"

cd "${3:-.}"

gsutil cp \
    "${GS}/coreos_production_image.vmlinuz" \
    "${GS}/coreos_production_image.vmlinuz.sig" \
    "${GS}/coreos_production_update.bin.bz2" \
    "${GS}/coreos_production_update.bin.bz2.sig" \
    "${GS}/coreos_production_update.zip" \
    "${GS}/coreos_production_update.zip.sig" ./

gpg --verify "coreos_production_image.vmlinuz.sig"
{'fraction_non_alphanumeric': 0.1928294573643411, 'fraction_numerical': 0.01065891472868217, 'mean_word_length': 4.165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3487350', 'n_tokens_mistral': 410, 'n_tokens_neox': 406, 'n_words': 41}