Skip to content

Commit 306219c

Browse files
committed
test: Add the Canary CD #55
1 parent 250f392 commit 306219c

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/user-workflow.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,18 @@ jobs:
7070
echo "=== AWS Identity Check ==="
7171
aws sts get-caller-identity
7272
73-
echo "=== Update kubeconfig ==="
73+
echo "=== Update kubeconfig (method 1) ==="
7474
aws eks update-kubeconfig --name Groom-EKS-Cluster --region ${{ env.AWS_REGION }}
7575
76+
echo "=== Alternative: Update kubeconfig with explicit role ==="
77+
aws eks update-kubeconfig --name Groom-EKS-Cluster --region ${{ env.AWS_REGION }} --role-arn arn:aws:iam::490913547024:role/gitactionToECR
78+
79+
echo "=== Get fresh token ==="
80+
aws eks get-token --cluster-name Groom-EKS-Cluster --region ${{ env.AWS_REGION }}
81+
82+
echo "=== Test basic kubectl access ==="
83+
kubectl version --short
84+
7685
echo "=== Verify existing aws-auth configmap ==="
7786
kubectl get configmap aws-auth -n kube-system
7887

msa-user-service/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spring:
1414
hikari:
1515
maximum-pool-size: 4
1616
minimum-idle: 2
17-
idle-timeout: 300000 # test test test2mmm
17+
idle-timeout: 300000 # test test test2
1818
max-lifetime: 1500000 # 25m
1919
keepalive-time: 1200000 # 20m
2020
connection-timeout: 30000

0 commit comments

Comments
 (0)