mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: run constellation commands with --debug
(#1321)
This commit is contained in:
parent
f67594a5ea
commit
a5d4970753
@ -76,9 +76,9 @@ runs:
|
|||||||
if: inputs.existingConfig != 'true'
|
if: inputs.existingConfig != 'true'
|
||||||
run: |
|
run: |
|
||||||
if [[ ${{ inputs.kubernetesVersion != '' }} == true ]]; then
|
if [[ ${{ inputs.kubernetesVersion != '' }} == true ]]; then
|
||||||
constellation config generate ${{ inputs.cloudProvider }} --kubernetes="${{ inputs.kubernetesVersion }}"
|
constellation config generate ${{ inputs.cloudProvider }} --kubernetes="${{ inputs.kubernetesVersion }}" --debug
|
||||||
else
|
else
|
||||||
constellation config generate ${{ inputs.cloudProvider }}
|
constellation config generate ${{ inputs.cloudProvider }} --debug
|
||||||
fi
|
fi
|
||||||
|
|
||||||
yq eval -i "(.name) = \"e2e-test\"" constellation-conf.yaml
|
yq eval -i "(.name) = \"e2e-test\"" constellation-conf.yaml
|
||||||
@ -164,7 +164,7 @@ runs:
|
|||||||
echo "Creating cluster using config:"
|
echo "Creating cluster using config:"
|
||||||
cat constellation-conf.yaml
|
cat constellation-conf.yaml
|
||||||
sudo sh -c 'echo "127.0.0.1 license.confidential.cloud" >> /etc/hosts' || true
|
sudo sh -c 'echo "127.0.0.1 license.confidential.cloud" >> /etc/hosts' || true
|
||||||
constellation create -c ${{ inputs.controlNodesCount }} -w ${{ inputs.workerNodesCount }} -y --force
|
constellation create -c ${{ inputs.controlNodesCount }} -w ${{ inputs.workerNodesCount }} -y --force --debug
|
||||||
|
|
||||||
- name: Cdbg deploy
|
- name: Cdbg deploy
|
||||||
if: inputs.isDebugImage == 'true'
|
if: inputs.isDebugImage == 'true'
|
||||||
@ -190,7 +190,7 @@ runs:
|
|||||||
id: constellation-init
|
id: constellation-init
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
constellation init --force
|
constellation init --force --debug
|
||||||
echo "KUBECONFIG=$(pwd)/constellation-admin.conf" >> $GITHUB_OUTPUT
|
echo "KUBECONFIG=$(pwd)/constellation-admin.conf" >> $GITHUB_OUTPUT
|
||||||
echo "MASTERSECRET=$(pwd)/constellation-mastersecret.json" >> $GITHUB_OUTPUT
|
echo "MASTERSECRET=$(pwd)/constellation-mastersecret.json" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user