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
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
I read over https://confluence.atlassian.com/bitbucket/debug-your-pipelines-locally-with-docker-838273569.html on how to set up docker to debug your bitbucket-pipeline.yml files.
Basically that sets up an environment the same as the one the pipeline file will run in, and lets you manually invoke commands, one at a time, to see if they work, then edit your bitbucket-pipeline file.
I'm having trouble with steps that use other pipes, like the
- pipe: atlassian/aws-lambda-deploy:0.5.3
pipes to deploy a lambda to Amazon AWS.
How can I debug running that step locally to see what's going on? Is there a way in a docker container I can quickly change the pipeline file and make sure I have the right values for the pipe variables?
Hi @Jim Jarrett
The code for atlassian/aws-lambda-deploy pipe can be found here. To debug it locally you need to build the docker image locally and run it.
Steps for running the pipe locally:
Let me know if this helps get you started!