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 would like to have 3 services running docker, nodejs, aws cli. As you see below under the definition section I have mentioned the image I want to run a specific versions. When I run the below pipeline I get error. But no error message
Please let me know if I am using it wrong
image:
name: atlassian/default-image:2
definitions:
services:
nodejs:
image: node:10.17.0
aws-cli:
image: amazon/aws-cli
steps:
- step: &group-deploy-to-ecs2
name: Group-Deploy-ECS
services:
- docker
- nodejs
- aws-cli
script:
- echo "test"
- node --version
- docker --version
- aws --version
pipelines:
branches:
master:
- step:
<<: *group-deploy-to-ecs2
name: deploy-common-api-dev
deployment: common-api-dev
@Justin Thomas Can you please provide more information how to solve this issue? I have the same problem right now with pipeline:
definitions:
services:
aws-cli:
image: amazon/aws-cli
pipelines:
branches:
development:
- step:
name: Build and push Docker image
image: atlassian/default-image:3
caches:
- node
services:
- docker
- aws-cli
script:
- node --version
- docker --version
- aws --version
Information provided by Atlassian Support:
I've tested the same service defintiion(amazon/aws-cli) on my repository. It appears that the entrypoint for this image is the awscli executable itself and it is expecting us to pass a command to it which is why the build is failing without any logs.
Instead, please use the below commands to install aws in the image directly.
apt-get update -y && apt-get install awscli -yYou can also install these commands in the default atlassian image, push it to the docker hub as public image and then use it as a service container. I hope this helps. Please let me know if you have any further questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.