Transfer constellation workspace through actions

This commit is contained in:
miampf 2025-02-13 14:05:31 +01:00
parent 6031b22fd8
commit 90c4bc3465
No known key found for this signature in database
GPG Key ID: EF039364B5B6886C
2 changed files with 7 additions and 0 deletions

View File

@ -73,6 +73,9 @@ outputs:
osImageUsed:
description: "The OS image used in the cluster."
value: ${{ steps.setImage.outputs.image }}
workspace:
description: "The constellation workspace."
value: ${{ steps.setImage.outputs.workspace }}
runs:
using: "composite"
@ -108,6 +111,7 @@ runs:
yq eval -i "(.image) = \"${imageInput}\"" constellation-conf.yaml
echo "image=${imageInput}" | tee -a "$GITHUB_OUTPUT"
echo "workspace=$(pwd)" | tee -a "$GITHUB_OUTPUT"
- name: Set marketplace image flag (AWS)
if: inputs.marketplaceImageVersion != '' && inputs.cloudProvider == 'aws'

View File

@ -448,3 +448,6 @@ runs:
- name: Run emergency ssh test
if: inputs.test == 'emergency ssh'
uses: ./.github/actions/e2e_emergency_ssh
with:
kubeconfig: ${{ steps.constellation-create.outputs.kubeconfig }}
workspace: ${{ steps.constellation-create.outputs.workspace }}