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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,200
Community Members
 
Community Events
176
Community Groups

heroku-deploy

This is my first time trying to use pipelines, docker, and yaml. I copied the starter script from the repo and put it into pycharm, along with the script portion. However, pycham immediately complained:

remove prohibited property 'step'  and 'script'

which is here:

push: &push
step:
name: Push and Tag
image: python:3.7
script:
- pipe: atlassian/heroku-deploy:2.0.0

That seemed like a pretty major disagreement to my untrained eyes, so I came here for an explanation.

1 answer

0 votes
Patrik S Atlassian Team Jul 21, 2022

Hello @malik_rumi ,

Thank you for reaching out to Atlassian Community!

I'm not very familiar with Pycharm, but since this is an external IDE, it might be not correctly configured to process the yml file or it expects a different syntax than Bitbucket. I would suggest you take a look at the pycharm's official documentation of how to configure it to interpret YML files.

If that does not work either, my recommendation is to use the official's Bitbucket Cloud online validator: https://bitbucket-pipelines.prod.public.atl-paas.net/validator

You can paste your YML code into this validator and it will point out any formatting issue or syntax error. As long as your YML file passes the checks of the online validator, you should be good at using it as the definition of your pipeline.

Thank you, @malik_rumi .

Kind regards,

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events