How does one go about getting a pipe added to the integrations page (there are 65 at the time of writing)
https://bitbucket.org/product/features/pipelines/integrations
Although I found the way to get them added:
https://bitbucket.org/bitbucketpipelines/official-pipes/src/master/README.md
When I try to follow the guide and run the script as it suggests:
python build.py 'pipes/my-pipe-name.yml'
I receive the following error:
File "build.py", line 145
REPOSITORY_TAGS_URL = f"https://api.bitbucket.org/2.0/repositories/{repository_path}/refs/tags?sort=-name&pagelen=100"
^
SyntaxError: invalid syntax
Thanks
Posting the resolution in case it helps anyone else:
The issue with the python script was that I was running it using Python2 (2.7) and the string formatting using "f"https:// ..." as a format wasn't supported til Python 3.
Running on python 3.6, and after installing modules like yaml, docker, cerberus, colorlog, joblib etc finally got it running.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.