Skip to content

Commit

Permalink
cicd: Az CLI login credentials TASK-5061
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfeSanahuja committed Oct 6, 2023
1 parent 4390140 commit 0728a3f
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/test-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,21 @@ jobs:
- name: Az CLI login
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
creds: ${{secrets.AZURE_CREDENTIALS}}
- name: Azure CLI script
uses: azure/CLI@v1
with:
azcliversion: latest
inlineScript: |
az aks get-credentials --resource-group opencga --name aks-uks-opencga-test-001
- name: Run kubectl tunnel
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: cat ~/.kube/config | base64
with:
args: get pods
-
kubectl -n cellbase-db port-forward services/cellbase-rs0-svc 27017:27017 &
- name: Install dependencies branches
run: |
if [ -f "./.github/workflows/scripts/get_same_branch.sh" ]; then
Expand Down

0 comments on commit 0728a3f

Please sign in to comment.