Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
KalyanaVadlamani committed Mar 26, 2024
1 parent 25a4efc commit 52daf65
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/cloud-platform-auth/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ runs:
- name: Authenticate
shell: bash
run: |
echo "${{ inputs.cert }}"
echo "${{ inputs.cluster }}"
echo "${{ inputs.api }}"
echo "${{ inputs.cert }}"
echo "${{ inputs.token }}"
echo "${{ inputs.namespace }}"
echo "${{ inputs.cert }}" > ca.crt
kubectl config set-cluster ${{ inputs.cluster }} --certificate-authority=./ca.crt --server=${{ inputs.api }}
kubectl config set-credentials cd-serviceaccount --token=${{ inputs.token }}
Expand Down
10 changes: 10 additions & 0 deletions .github/actions/cloud-platform-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ runs:
namespace: ${{ inputs.namespace }}
token: ${{ inputs.token }}

- name: Test-Checking
shell: bash
run: |
echo "${{ inputs.cert }}"
echo "${{ inputs.cluster }}"
echo "${{ inputs.api }}"
echo "${{ inputs.cert }}"
echo "${{ inputs.token }}"
echo "${{ inputs.namespace }}"
- name: Deploy
shell: bash
run: |
Expand Down

0 comments on commit 52daf65

Please sign in to comment.