fix: builder and sdk changes #81

Merged
marcel.henselin merged 85 commits from chore/update_goreleaser into alpha 2026-03-11 13:13:46 +00:00
2 changed files with 7 additions and 5 deletions
Showing only changes of commit f783c566fb - Show all commits

View file

@ -36,10 +36,9 @@ inputs:
default: 'eu01'
required: true
service_account_json:
service_account_json_content:
description: "STACKIT service account JSON file contents"
required: true
default: ""
service_account_json_file_path:
description: "STACKIT service account JSON file contents"
@ -107,8 +106,11 @@ runs:
run: |
set -e
if [[ ! -f "${{ inputs.service_account_json_file_path }}" ]]; then
echo "unable to find service account file '${{ inputs.service_account_json_file_path }}'"
exit 1
if [[ -z "${{ inputs.service_account_json_file_content }}" ]]; then
echo "unable to find service account file '${{ inputs.service_account_json_file_path }}' \n and service_account_json_file_content is empty"
exit 1
fi
echo "${{ inputs.service_account_json_file_content }}" > "${{ inputs.service_account_json_file_path }}"
fi
cat "${{ inputs.service_account_json_file_path }}"

View file

@ -27,7 +27,7 @@ jobs:
go-version: ${{ env.GO_VERSION }}
project_id: ${{ vars.TEST_PROJECT_ID }}
region: 'eu01'
service_account_json: ${{ secrets.TF_ACC_SERVICE_ACCOUNT_JSON }}
service_account_json_content: "${{ secrets.TF_ACC_SERVICE_ACCOUNT_JSON }}"
project_user_email: ${{ vars.TEST_PROJECT_USER_EMAIL }}
tf_acc_kek_key_id: ${{ vars.TEST_KEK_KEY_ID }}
tf_acc_kek_key_ring_id: ${{ vars.TEST_KEK_KEY_RING_ID }}