Files
helm-gitea/scripts/init-containers/init/configure_gpg_environment.sh
justusbunsi a79fd31f7e Increase testability of shell scripts (#752)
This is a preparation for #724 (bash script testing) which would be too complex to review if done there.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/752
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2024-12-19 12:04:00 +00:00

5 lines
69 B
Bash

#!/usr/bin/env bash
set -eu
gpg --batch --import "$TMP_RAW_GPG_KEY"