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 9 additions and 7 deletions
Showing only changes of commit 3d04e1497b - Show all commits

View file

@ -102,11 +102,14 @@ runs:
shell: bash
run: go mod tidy
- name: Crete service account file
- name: Ensure service account file exists
shell: bash
run: |
mkdir -p $(dirname "${{ inputs.service_account_json_file_path }}")
echo "${{ inputs.service_account_json }}" > "${{ inputs.service_account_json_file_path }}"
set -e
if [[ ! -f "${{ inputs.service_account_json_file_path }}" ]]; then
echo "unable to find service account file"
exit 1
fi
cat "${{ inputs.service_account_json_file_path }}"
- name: Run acceptance test file

View file

@ -18,9 +18,8 @@ jobs:
shell: bash
run: |
set -e
mkdir ~/.stackit
echo "${{ secrets.TF_ACC_SERVICE_ACCOUNT_JSON }}" >~/.stackit/credentials.json
cat ~/.stackit/credentials.json
echo "${{ secrets.TF_ACC_SERVICE_ACCOUNT_JSON }}" >~/service_account.json
cat ~/service_account.json
- name: Run Test
uses: ./.github/actions/acc_test
@ -34,4 +33,4 @@ jobs:
tf_acc_kek_key_ring_id: ${{ vars.TEST_KEK_KEY_RING_ID }}
tf_acc_kek_key_version: ${{ vars.TEST_KEK_KEY_VERSION }}
tf_acc_kek_service_account: ${{ vars.TEST_KEK_SERVICE_ACCOUNT }}
# service_account_json_file_path: ~/.stackit/credentials.json
service_account_json_file_path: ~/service_account.json