You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I added localstack:localstack docker image for a service in my bitbucket pipeline.
The pipeline was triggered, and it launched the docker container with dynamodb service enabled. Then it ran my branch's build steps:
The netcat command isn't printing out anything. I presume 127.0.0.1 is not the correct address :(
Just in case.
In my case, It's worked setting de LOCALSTACK_HOSTNAME = localhost
and using it in aws endpoints:
image: node:8.10-alpine
pipelines:
default:
- step:
script:
- export ENVIRONMENT=docker
- export AWS_REGION=us-east-1
- export LOCALSTACK_HOSTNAME=localhost
- export HOSTNAME=localhost
- export AWS_ACCESS_KEY_ID=test
- export AWS_SECRET_ACCESS_KEY=test
- npm install
- npx fly test:local
services:
- localstack
definitions:
services:
localstack:
image: localstack/localstack
environment:
SERVICES: ses
LOCALSTACK_HOSTNAME: localhost
HOSTNAME: localhost
ports:
- "4567-4583:4567-4583"
- "8080:8080"