Forums

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

How to update my current container version of pipe command?

naoko rikiyama
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!
October 22, 2020

I'm using Bitbucket Pipeline's pipe command to transfer files to S3 bucket using atlassian/aws-s3-deploy:0.3.5. I'm considering how to update my current container v0.3.5 as I fear it will stop working one day if I keep it fixed.

 

1. Is it right that instead of specifying a fixed version of the container with pipe command, you can't specify that it should always call the latest version of the container, e.g. "latest"?
I tried "- pipe: atlassian/aws-s3-deploy:latest" and got the following error message.

It looks like you tried to use a pipe in your bitbucket-pipelines.yml that doesn’t exist. Check the name of the pipe and try again.

 

2. Is it possible that an existing version of the atlassian/s3-deploy container will suddenly stop working with pipe due to an increase in required parameters, etc?

 

3. What are the changes in upgrading atlassian/aws-s3-deploy from current v0.3.5 to latest v0.4.5? (Increased processing speed, fatal bugs in older versions will be fixed, etc.)

1 answer

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 29, 2020

Hi @naoko rikiyama ,

Thank you for your question!

It's a good practice to update the pipe's version to the newest one periodically. New versions of the pipe could have updates, improvements, new features, or bug-fix.

All changes to the pipe are stored in the pipe's changelog. We follow the versioning rules provided by semantic versioning spec. 

The semantic versioning spec involves several possible variations, but to simplify, in Semversioner, we are using the three-part version number:

<major>.<minor>.<patch>

Constructed with the following guidelines:

  • Breaking backward compatibility or major features bumps the major (and resets the minor and patch).
  • New additions without breaking backward compatibility bump the minor (and resets the patch).
  • Bug fixes and misc changes bump the patch.

 

  1. Yes, it's best practice to use the fixed version of the dependencies and periodically update it.
  2. No. Pipe's versions are immutable. All changes to the pipe released with a new version. That's why it's better to update to the newest one.
  3. Please follow the link to the pipe's changelog, where you could find all information about updates.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events