[FEATURE] Auto Oasis Test
This commit is contained in:
parent
e4cd795081
commit
9c70c0017b
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
- name: Configure Workflow
|
- name: Configure Workflow
|
||||||
shell: bash
|
shell: bash
|
||||||
run: >-
|
run: |
|
||||||
echo OASIS_ENV_STRATEGY=${{ inputs.deploy-env }} >> $GITHUB_ENV
|
echo OASIS_ENV_STRATEGY=${{ inputs.deploy-env }} >> $GITHUB_ENV
|
||||||
if [ ${{ inputs.deploy-env }} == "edge" ]; then
|
if [ ${{ inputs.deploy-env }} == "edge" ]; then
|
||||||
echo OASIS_INFISICAL_TOKEN=${{ secrets.INFISICAL_ELYSIUM_PROD_READ_TOKEN }} >> $GITHUB_ENV
|
echo OASIS_INFISICAL_TOKEN=${{ secrets.INFISICAL_ELYSIUM_PROD_READ_TOKEN }} >> $GITHUB_ENV
|
||||||
|
@ -39,7 +39,7 @@ runs:
|
||||||
secret-path: ${{ env.OASIS_INFISICAL_WORKFLOW }}
|
secret-path: ${{ env.OASIS_INFISICAL_WORKFLOW }}
|
||||||
- name: Configure Kubeconfig
|
- name: Configure Kubeconfig
|
||||||
shell: bash
|
shell: bash
|
||||||
run: >-
|
run: |
|
||||||
if [ ${{ inputs.deploy-env }} == "edge" ]; then
|
if [ ${{ inputs.deploy-env }} == "edge" ]; then
|
||||||
echo OASIS_WORKFLOW_KUBECONFIG=${{env.KUBERNETES_CONFIG_USW_DEV}} >> $GITHUB_ENV
|
echo OASIS_WORKFLOW_KUBECONFIG=${{env.KUBERNETES_CONFIG_USW_DEV}} >> $GITHUB_ENV
|
||||||
elif [ ${{ inputs.deploy-env }} == "ci" ]; then
|
elif [ ${{ inputs.deploy-env }} == "ci" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue