The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why does pipeline validator not catch pipe names without versions?

Jason Harrison
Contributor
November 4, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 12, 2020

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

Regards, Galyna

Jason Harrison
Contributor
November 12, 2020

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
Jonathan Duncan
Contributor
November 13, 2020

Agreed. This threw me off as well.

roman_rakhmatullov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 16, 2021

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 # people like this
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 19, 2021

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

Like # people like this
TAGS
AUG Leaders

Atlassian Community Events