Skip to content

Commit 223c37a

Browse files
committed
fix: pin localstack image to version 3 to avoid license errors on latest
1 parent 54949e3 commit 223c37a

9 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎.github/workflows/Master-Build.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
services:
1818
localstack:
19-
image: localstack/localstack:latest
19+
image: localstack/localstack:3
2020
ports:
2121
- 4566:4566
2222
env:
@@ -60,7 +60,7 @@ jobs:
6060
done
6161
if [ $attempt -eq $max_attempts ]; then
6262
echo "ERROR: LocalStack did not become ready in time"
63-
docker logs $(docker ps -q --filter ancestor=localstack/localstack:latest) 2>/dev/null || echo "Could not get container logs"
63+
docker logs $(docker ps -q --filter ancestor=localstack/localstack:3) 2>/dev/null || echo "Could not get container logs"
6464
exit 1
6565
fi
6666

‎.github/workflows/Release-CI.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
services:
2222
localstack:
23-
image: localstack/localstack:latest
23+
image: localstack/localstack:3
2424
ports:
2525
- 4566:4566
2626
env:
@@ -128,7 +128,7 @@ jobs:
128128
if [ $attempt -eq $max_attempts ]; then
129129
echo "ERROR: LocalStack did not become ready in time"
130130
echo "Checking LocalStack container logs..."
131-
docker logs $(docker ps -q --filter ancestor=localstack/localstack:latest) || echo "Could not get container logs"
131+
docker logs $(docker ps -q --filter ancestor=localstack/localstack:3) || echo "Could not get container logs"
132132
exit 1
133133
fi
134134

‎docs/Cloud-Integration-Testing.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ env:
678678

679679
services:
680680
localstack:
681-
image: localstack/localstack:latest
681+
image: localstack/localstack:3
682682
ports:
683683
- 4566:4566
684684
env:

‎docs/SourceFlow.Cloud.AWS-README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ docker run -d --name sourceflow-localstack \
787787
-p 4566:4566 \
788788
-e SERVICES=sqs,sns,kms \
789789
-e EAGER_SERVICE_LOADING=1 \
790-
localstack/localstack:latest
790+
localstack/localstack:3
791791
```
792792

793793
#### Configuration

‎docs/wiki.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ docker run -d --name sourceflow-localstack \
16291629
-p 4566:4566 \
16301630
-e SERVICES=sqs,sns,kms \
16311631
-e EAGER_SERVICE_LOADING=1 \
1632-
localstack/localstack:latest
1632+
localstack/localstack:3
16331633
```
16341634

16351635
#### Environment Variables

‎tests/SourceFlow.Cloud.AWS.Tests/TestHelpers/LocalStackConfiguration.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class LocalStackConfiguration
88
/// <summary>
99
/// LocalStack container image to use
1010
/// </summary>
11-
public string Image { get; set; } = "localstack/localstack:latest";
11+
public string Image { get; set; } = "localstack/localstack:3";
1212

1313
/// <summary>
1414
/// LocalStack endpoint URL (typically http://localhost:4566)

‎tests/SourceFlow.Cloud.AWS.Tests/TestHelpers/LocalStackTestFixture.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public async Task InitializeAsync()
127127
{
128128
// Create LocalStack container (local development only)
129129
_localStackContainer = new ContainerBuilder()
130-
.WithImage("localstack/localstack:latest")
130+
.WithImage("localstack/localstack:3")
131131
.WithPortBinding(4566, 4566)
132132
.WithEnvironment("SERVICES", "sqs,sns,kms")
133133
.WithEnvironment("DEBUG", "1")

‎tests/SourceFlow.Cloud.AWS.Tests/run-integration-tests.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ if (-not $alreadyRunning) {
156156
-e "DEBUG=1" `
157157
-e "EAGER_SERVICE_LOADING=1" `
158158
-e "SKIP_SSL_CERT_DOWNLOAD=1" `
159-
localstack/localstack:latest
159+
localstack/localstack:3
160160

161161
if ($LASTEXITCODE -ne 0) {
162162
Write-Host "Failed to start LocalStack container." -ForegroundColor Red

‎tests/SourceFlow.Cloud.AWS.Tests/run-integration-tests.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ if ! $ALREADY_RUNNING; then
138138
-e "DEBUG=1" \
139139
-e "EAGER_SERVICE_LOADING=1" \
140140
-e "SKIP_SSL_CERT_DOWNLOAD=1" \
141-
localstack/localstack:latest
141+
localstack/localstack:3
142142

143143
ok "Container started."
144144
fi

0 commit comments

Comments
 (0)