Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why does pipeline validator not catch pipe names without versions?

In my bitbucket-pipeline.yaml I had a script with references to atlassian/aws-ecs scripts

script:
  - aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID
 
- aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY
  -
aws configure set default.region $AWS_DEFAULT_REGION
  - pipe: atlassian/aws-ecr-push-image:1.1.2

For some reason if, I delete the version of the pipe (`:1.1.2`) I get an error:

"Your pipe name is in an invalid format. Check the name of the pipe and try again."

This is not caught by the Validator for bitbucket-pipelines.yml.

1 answer

0 votes

@Jason Harrison we do not support pipes without version tags and latest also. This is the reason why you have it failing

Regards, Galyna

Perhaps changing the error message to something like:

"Your pipe name is in an invalid format. Check the name of the pipe, including the version, and try again."

Like # people like this

Agreed. This threw me off as well.

Seems bitbucket-pipelines.yml validator doesn't catch this problem, but it is shown only when trying to run. That's a problem of validator I believe.

Like Jason Harrison likes this

@Jason Harrison @Jonathan Duncan @roman_rakhmatullov we are reporting this to the appropriate team, thank you for the feedback!

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: Your favorite Trello blog takeaway

Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...

58 views 4 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you