File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed
Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 11# Serverless image resizer
22
33[ ![ LocalStack Pods Launchpad] ( https://localstack.cloud/gh/launch-pod-badge.svg )] ( https://app.localstack.cloud/launchpad?url=https://github.com/localstack/sample-serverless-image-resizer-s3-lambda/releases/download/latest/release-pod.zip )
4- [ ![ CircleCI] ( https://dl.circleci.com/status-badge/img/gh/localstack-samples/sample-serverless-image-resizer-s3-lambda/tree/main.svg?style=svg )] ( https://dl.circleci.com/status-badge/redirect/gh/localstack-samples/sample-serverless-image-resizer-s3-lambda/tree/main )
4+ [ ![ GitHub Actions] ( https://github.com/localstack-samples/sample-serverless-image-resizer-s3-lambda/actions/workflows/integration-test.yml/badge.svg )] ( https://github.com/localstack-samples/sample-serverless-image-resizer-s3-lambda/actions/workflows/integration-test.yml )
5+ [ ![ CircleCI] ( https://dl.circleci.com/status-badge/img/gh/localstack-samples/sample-serverless-image-resizer-s3-lambda/tree/main.svg?style=shield )] ( https://dl.circleci.com/status-badge/redirect/gh/localstack-samples/sample-serverless-image-resizer-s3-lambda/tree/main )
6+ [ ![ AWS CodeBuild] ( https://codebuild.eu-central-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiUUVDZExZT0ovUm5YejlKcHlXeGpuT1pRaC9hSzdDcFJVYlMvZzl0emtnWW5qcVdQUGY3YlJYWnBJeEdoOHd0OVkvd29XTUxuL2p3d3hVS0NFRnFlTzhRPSIsIml2UGFyYW1ldGVyU3BlYyI6IjQrdHhqVGY1N24ycTEvQkMiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=codebuild-sample )] ( https://eu-central-1.codebuild.aws.amazon.com/project/eyJlbmNyeXB0ZWREYXRhIjoiOGpTQnR0a0J6ZnYwN3hNQ21DVkFoUU8zWTc4TExSaGk0b2p5UkVyNWhHSXhLSWZUSWt3eE1PUnpLZTRMWld2U3l3bVBWa2Frc084YjJ6UFZDRjNlcTc0U0xOa2lqVU1qZXdJMUFzdEVudz09IiwiaXZQYXJhbWV0ZXJTcGVjIjoib1FaZmhKMHZkc0NTbmdqcSIsIm1hdGVyaWFsU2V0U2VyaWFsIjoxfQ%3D%3D )
7+ [ ![ GitLabCI] ( https://gitlab.com/localstack.cloud/samples/sample-serverless-image-resizer-s3-lambda/badges/main/pipeline.svg?ignore_skipped=true )] ( https://gitlab.com/localstack.cloud/samples/sample-serverless-image-resizer-s3-lambda )
58
69| Key | Value |
710|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
Original file line number Diff line number Diff line change 1+ version : 0.2
2+
3+ env :
4+ variables :
5+ AWS_DEFAULT_REGION : us-east-1
6+ AWS_REGION : us-east-1
7+ AWS_ACCESS_KEY_ID : test
8+ AWS_SECRET_ACCESS_KEY : test
9+ DEBUG : 1
10+ LS_LOG : trace
11+ parameter-store :
12+ LOCALSTACK_AUTH_TOKEN : /CodeBuild/LOCALSTACK_AUTH_TOKEN
13+
14+ phases :
15+ install :
16+ runtime-versions :
17+ python : 3.11
18+ commands :
19+ - test -d /root/.pyenv/versions/3.11.6 || pyenv install 3.11.6
20+ - pyenv global 3.11.6
21+ - pip install -r requirements-dev.txt
22+ - pip install localstack
23+ - docker pull public.ecr.aws/localstack/localstack-pro:latest
24+ - docker image tag public.ecr.aws/localstack/localstack-pro:latest localstack/localstack-pro:latest
25+ - localstack start -d
26+ pre_build :
27+ commands :
28+ - bin/deploy.sh
29+ build :
30+ commands :
31+ - pytest tests
32+ finally :
33+ - localstack logs
34+
35+ cache :
36+ paths :
37+ - ' /root/.pyenv/versions/3.11.6/**/*'
38+
You can’t perform that action at this time.
0 commit comments