Skip to content

Merge branch 'dev'

Merge branch 'dev' #2

name: Deploy crawl-service to k8s
on:
workflow_dispatch:
push:
branches:
- main
paths:
- .github/workflows/crawl-service-deploy.yml
- .github/workflows/composite/deploy/action.yml
- deploy/k8s/crawl-service.yaml
- SimpleServer/src/Services/Crawler/CrawlData/**
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 }}
- 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/rabbitmq-cluster-service.yaml
deploy/k8s/crawlerdb-secret.yaml
deploy/k8s/crawl-service-deploy.yaml
registry_endpoint: ${{ secrets.REGISTRY_ENDPOINT }}
namespace: ${{ env.NAMESPACE }}
image_name: crawldata
deployment_name: crawldata-deployment
service_name: crawldata-service