[FEATURE] Auto Oasis Test
This commit is contained in:
parent
55799efc23
commit
ca8cf1f801
1 changed files with 3 additions and 3 deletions
|
@ -53,13 +53,13 @@ runs:
|
|||
- name: Configure Kubeconfig
|
||||
shell: bash
|
||||
run: |
|
||||
if [ [ -n ${{ inputs.kubeconfig }} ] && [ ${{ inputs.kubeconfig }} != "" ] ]; then
|
||||
if [ -n "${{ inputs.kubeconfig }}" ] && [ "${{ inputs.kubeconfig }}" != "" ]; then
|
||||
echo "Using Provided Kubernetes Config"
|
||||
echo OASIS_WORKFLOW_KUBECONFIG=${{ inputs.kubeconfig }} >> $GITHUB_ENV
|
||||
elif [ ${{ inputs.deploy-env }} == "edge" ]; then
|
||||
elif [ "${{ inputs.deploy-env }}" == "edge" ]; then
|
||||
echo "Using Edge Kubernetes Config"
|
||||
echo OASIS_WORKFLOW_KUBECONFIG=${{env.KUBERNETES_CONFIG_USW_EDGE}} >> $GITHUB_ENV
|
||||
elif [ ${{ inputs.deploy-env }} == "ci" ]; then
|
||||
elif [ "${{ inputs.deploy-env }}" == "ci" ]; then
|
||||
echo "Using Dev Kubernetes Config"
|
||||
echo OASIS_WORKFLOW_KUBECONFIG=${{env.KUBERNETES_CONFIG_USW_DEV}} >> $GITHUB_ENV
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue