Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/aws-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,24 @@ jobs:
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
run: |
sed -i 's/${ECR_REGISTRY}/'$(echo $ECR_REGISTRY)/ deploy/prod/chainlog-checksum.yaml
sed -i 's/${ECR_REGISTRY}/'$(echo $ECR_REGISTRY)/ deploy/prod/chainlog-logger.yaml
sed -i 's/${ECR_REGISTRY}/'$(echo $ECR_REGISTRY)/ deploy/prod/chainlog-ui.yaml

- name: Deploying Chainlog Checksum to Kubernetes with Helm
uses: bitovi/github-actions-deploy-eks-helm@v1.2.4
with:
values: image.repository=${{ steps.login-ecr.outputs.registry }}/chainlog-checksum-prod,image.tag=${{ steps.vars.outputs.sha_short }}
cluster-name: ${{ env.CLUSTER_NAME }}
config-files: deploy/prod/chainlog-checksum.yaml
chart-path: techops-services/common
namespace: chainlog
timeout: 5m0s
name: chainlog-checksum
chart-repository: https://techops-services.github.io/helm-charts
version: 0.0.19
atomic: true

- name: Deploying Chainlog UI to Kubernetes with Helm
uses: bitovi/github-actions-deploy-eks-helm@v1.2.4
with:
Expand Down
35 changes: 35 additions & 0 deletions deploy/prod/chainlog-checksum.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
replicaCount: 1
service:
enabled: true
name: chainlog-checksum
port: 8080
type: ClusterIP
containerPort: 8080
tls:
enabled: false
deployment:
enabled: true
image:
repository: ${ECR_REGISTRY}/chainlog-checksum-prod
pullPolicy: Always
tag: prod
serviceAccount:
create: false
ingress:
enabled: false
podAnnotations:
reloader.stakater.com/auto: "true"
resources:
limits:
memory: 128Mi
requests:
cpu: 0.01
memory: 32Mi
autoscaling:
enabled: false
readinessProbe:
tcpSocket:
port: 8080
livenessProbe:
tcpSocket:
port: 8080
2 changes: 1 addition & 1 deletion deploy/prod/chainlog-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ autoscaling:
env:
CHECKSUM_CONTAINER_NAME:
type: kv
value: "localhost"
value: "chainlog-checksum-common"
readinessProbe:
tcpSocket:
port: 8080
Expand Down
57 changes: 0 additions & 57 deletions deploy/staging/chainlog-logger.yaml

This file was deleted.

48 changes: 0 additions & 48 deletions deploy/staging/chainlog-ui.yaml

This file was deleted.

Loading