Skip to content

Commit 9d9484c

Browse files
committed
fix: ssm change name
1 parent d4533c9 commit 9d9484c

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
tags:
6-
- 'v*.*.*'
6+
- v*.*.*
77

88
env:
99
REGISTRY: docker.io
@@ -128,7 +128,7 @@ jobs:
128128
EOF
129129
130130
- name: Create GitHub Release
131-
uses: softprops/action-gh-release@v1
131+
uses: softprops/action-gh-release@v2
132132
with:
133133
body_path: release_notes.md
134134
draft: false

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ go.work.sum
3232
# .vscode/
3333

3434
secret.txt
35+
.trunk/

entrypoint.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ if [ -z "$AZP_TOKEN" ]; then
3838
echo "Using aws-ssm (hypolas/aws-ssm-lite)..."
3939
# Syntax: aws-ssm <secret-id> [region]
4040
SECRET_TOKEN=$(aws-ssm "${AZURE_DEVOPS_TOKEN_SECRET_ARN}" "${AWS_REGION}" 2>/dev/null)
41-
elif command -v light_ssm >/dev/null 2>&1; then
42-
echo "Using light_ssm (fallback)..."
43-
SECRET_TOKEN=$(light_ssm "${AZURE_DEVOPS_TOKEN_SECRET_ARN}" "${AWS_REGION}" 2>/dev/null)
41+
elif command -v lite_ssm >/dev/null 2>&1; then
42+
echo "Using lite_ssm (fallback)..."
43+
SECRET_TOKEN=$(lite_ssm "${AZURE_DEVOPS_TOKEN_SECRET_ARN}" "${AWS_REGION}" 2>/dev/null)
4444
else
45-
echo "❌ No AWS Secrets Manager client available (aws-ssm or light_ssm)"
45+
echo "❌ No AWS Secrets Manager client available (aws-ssm or lite_ssm)"
4646
echo "Install aws-ssm from hypolas/aws-ssm-lite or enable INSTALL_AWS_SSM=true"
4747
exit 1
4848
fi

test-aws-ssm.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ else
4040
echo "⚠️ Impossible de tester aws-ssm"
4141
fi
4242

43-
# Test 4: Comparaison avec light_ssm (si disponible)
43+
# Test 4: Comparaison avec lite_ssm (si disponible)
4444
echo
45-
echo "4️⃣ Comparaison avec light_ssm..."
46-
if command -v light_ssm >/dev/null 2>&1; then
47-
echo "🔍 light_ssm encore présent - il sera utilisé en fallback"
48-
echo "📍 Emplacement light_ssm: $(which light_ssm)"
45+
echo "4️⃣ Comparaison avec lite_ssm..."
46+
if command -v lite_ssm >/dev/null 2>&1; then
47+
echo "🔍 lite_ssm encore présent - il sera utilisé en fallback"
48+
echo "📍 Emplacement lite_ssm: $(which lite_ssm)"
4949
else
50-
echo "light_ssm supprimé - aws-ssm sera utilisé en priorité"
50+
echo "lite_ssm supprimé - aws-ssm sera utilisé en priorité"
5151
fi
5252

5353
# Test 5: Simulation du script entrypoint
@@ -58,9 +58,9 @@ echo "🔄 Test de la détection automatique du client..."
5858
if command -v aws-ssm >/dev/null 2>&1; then
5959
echo "✅ aws-ssm sera utilisé par entrypoint.sh"
6060
echo "💡 Commande: aws-ssm \"\$AZURE_DEVOPS_TOKEN_SECRET_ARN\" \"\$AWS_REGION\""
61-
elif command -v light_ssm >/dev/null 2>&1; then
62-
echo "⚠️ light_ssm sera utilisé en fallback par entrypoint.sh"
63-
echo "💡 Commande: light_ssm \"\$AZURE_DEVOPS_TOKEN_SECRET_ARN\" \"\$AWS_REGION\""
61+
elif command -v lite_ssm >/dev/null 2>&1; then
62+
echo "⚠️ lite_ssm sera utilisé en fallback par entrypoint.sh"
63+
echo "💡 Commande: lite_ssm \"\$AZURE_DEVOPS_TOKEN_SECRET_ARN\" \"\$AWS_REGION\""
6464
else
6565
echo "❌ Aucun client AWS Secrets Manager disponible"
6666
echo "💡 Activez INSTALL_AWS_SSM=true dans le build"

0 commit comments

Comments
 (0)