Skip to content

Merge branch 'dev'

Merge branch 'dev' #1

name: Deploy identity-grpc
on:
workflow_dispatch:
push:
branches:
- main
paths:
- .github/workflows/identity-api-deploy.yml
- .github/workflows/composite/deploy/action.yml
- deploy/k8s/identity-api.yaml
- SimpleServer/src/Services/Identity/**
env:
NAMESPACE: ingress-nginx
jobs:
deploy-to-k8s:
permissions:
actions: read
# contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
# Logs in with your Azure credentials
- name: Azure login
uses: azure/[email protected]
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Print Current Directory
run: |
pwd # This command prints the current working directory
ls # This command lists the contents of the current directory
- uses: ./.github/workflows/composite/deploy
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
cluster_name: ${{ secrets.CLUSTER_NAME }}
resource_group: ${{ secrets.RESOURCE_GROUP }}
manifest_path: |
deploy/k8s/identity-api.yaml
deploy/k8s/postgresql.yaml
deploy/k8s/postgres-secret.yaml
deploy/k8s/postgres-configmap.yaml
registry_endpoint: ${{ secrets.REGISTRY_ENDPOINT }}
namespace: ${{ env.NAMESPACE }}
image_name: identity.api
deployment_name: identity-api-deployment
service_name: identity-api-service