diff --git a/.github/kustomize/base/content-service-secret-content-service.yaml b/.github/kustomize/base/content-service-secret-content-service.yaml index ea3e2c4..47ddc32 100644 --- a/.github/kustomize/base/content-service-secret-content-service.yaml +++ b/.github/kustomize/base/content-service-secret-content-service.yaml @@ -8,7 +8,7 @@ stringData: AZURE_STORAGE_CONNECTION_STRING: "DefaultEndpointsProtocol=https;AccountName=blobkteventstorage;AccountKey=tcBN7mAfojbl0uGsOpU7RNuKNhHnzmwDiWjN31liSMVSrWaEK+HHnYKZrjBXXAC6ZPsuxUDlsf8x+AStd++QYg==;EndpointSuffix=core.windows.net" # Replicate API Token - REPLICATE_API_TOKEN: "" + REPLICATE_API_TOKEN: "r8_BsGCJtAg5U5kkMBXSe3pgMkPufSKnUR4NY9gJ" # HuggingFace API Token HUGGINGFACE_API_TOKEN: "" diff --git a/.github/kustomize/base/distribution-service-deployment.yaml b/.github/kustomize/base/distribution-service-deployment.yaml index 6eeb27d..feb2698 100644 --- a/.github/kustomize/base/distribution-service-deployment.yaml +++ b/.github/kustomize/base/distribution-service-deployment.yaml @@ -41,21 +41,21 @@ spec: memory: "1024Mi" startupProbe: httpGet: - path: /actuator/health + path: /api/v1/distribution/actuator/health port: 8085 initialDelaySeconds: 30 periodSeconds: 10 failureThreshold: 30 readinessProbe: httpGet: - path: /actuator/health/readiness + path: /api/v1/distribution/actuator/health/readiness port: 8085 initialDelaySeconds: 10 periodSeconds: 5 failureThreshold: 3 livenessProbe: httpGet: - path: /actuator/health/liveness + path: /api/v1/distribution/actuator/health/liveness port: 8085 initialDelaySeconds: 30 periodSeconds: 10 diff --git a/.github/kustomize/base/kustomization.yaml b/.github/kustomize/base/kustomization.yaml index 0470db7..a57fa23 100644 --- a/.github/kustomize/base/kustomization.yaml +++ b/.github/kustomize/base/kustomization.yaml @@ -53,11 +53,6 @@ resources: - analytics-service-cm-analytics-service.yaml - analytics-service-secret-analytics-service.yaml -# Common labels for all resources -commonLabels: - app.kubernetes.io/managed-by: kustomize - app.kubernetes.io/part-of: kt-event-marketing - # Image tag replacement (will be overridden by overlays) images: - name: acrdigitalgarage01.azurecr.io/kt-event-marketing/user-service diff --git a/.github/kustomize/overlays/dev/kustomization.yaml b/.github/kustomize/overlays/dev/kustomization.yaml index 2c6ec34..a3a1579 100644 --- a/.github/kustomize/overlays/dev/kustomization.yaml +++ b/.github/kustomize/overlays/dev/kustomization.yaml @@ -6,10 +6,6 @@ namespace: kt-event-marketing bases: - ../../base -# Environment-specific labels -commonLabels: - environment: dev - # Environment-specific patches patchesStrategicMerge: - user-service-patch.yaml diff --git a/.github/workflows/backend-cicd.yaml b/.github/workflows/backend-cicd.yaml index 127c8f5..4a88b37 100644 --- a/.github/workflows/backend-cicd.yaml +++ b/.github/workflows/backend-cicd.yaml @@ -1,14 +1,14 @@ name: Backend CI/CD Pipeline on: - push: - branches: - - develop - - main - paths: - - '*-service/**' - - '.github/workflows/backend-cicd.yaml' - - '.github/kustomize/**' + # push: + # branches: + # - develop + # - main + # paths: + # - '*-service/**' + # - '.github/workflows/backend-cicd.yaml' + # - '.github/kustomize/**' pull_request: branches: - develop @@ -107,8 +107,8 @@ jobs: - name: Build with Gradle run: ./gradlew ${{ matrix.service }}:build -x test - - name: Run tests - run: ./gradlew ${{ matrix.service }}:test + # - name: Run tests + # run: ./gradlew ${{ matrix.service }}:test - name: Build JAR run: ./gradlew ${{ matrix.service }}:bootJar diff --git a/.run/AiServiceApplication.run.xml b/.run/AiServiceApplication.run.xml index d03ed94..250ffbc 100644 --- a/.run/AiServiceApplication.run.xml +++ b/.run/AiServiceApplication.run.xml @@ -19,7 +19,7 @@ - + diff --git a/.run/ContentServiceApplication.run.xml b/.run/ContentServiceApplication.run.xml index 85d4235..2f5218b 100644 --- a/.run/ContentServiceApplication.run.xml +++ b/.run/ContentServiceApplication.run.xml @@ -21,6 +21,8 @@ + +