File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 7373 autoLoadPod="${AUTO_LOAD_POD:-${{ inputs.auto-load-pod }}}"
7474 extensionAutoInstall="${EXTENSION_AUTO_INSTALL:-${{ inputs.extension-auto-install }}}"
7575 lifetime="${{ inputs.lifetime }}"
76- configuration=' ${{ inputs.configuration }}'
77-
76+ configuration=" ${{ inputs.configuration }}"
77+ echo "Creating preview environment with configuration: $configuration"
7878 # Convert configuration to JSON format
7979 IFS=',' read -r -a configArray <<< "$configuration"
8080 envVarsJson=$(jq -n '{}')
8484 value=${kv[1]// /}
8585 envVarsJson=$(echo $envVarsJson | jq --arg key "$key" --arg value "$value" '. + {($key): $value}')
8686 done
87+ echo "Configuration JSON: $envVarsJson"
8788
8889 envVarsJson=$(echo $envVarsJson | jq --arg autoLoadPod "$autoLoadPod" --arg extensionAutoInstall "$extensionAutoInstall" '. + {AUTO_LOAD_POD: $autoLoadPod, EXTENSION_AUTO_INSTALL: $extensionAutoInstall}')
89-
90+ echo "*** Configuration ***"
91+ echo $envVarsJson
9092 list_response=$(curl -X GET \
9193 -H "ls-api-key: ${LOCALSTACK_API_KEY:-${{ inputs.localstack-api-key }}}" \
9294 -H "content-type: application/json" \
You can’t perform that action at this time.
0 commit comments