Missed Team ’24? Catch up on announcements here.

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

BitBucket Cloud: Secure bitbucket-pipelines.yml (Hide from Repo)

Sanal Karippidi Puthiyapurayil September 1, 2019

Hello,

I need your suggestions to make the pipeline secure. Here is my scenario (bitbucket.org)

Pipeline:

{code} -----

image: someimage

pipelines:

branches: PROD:

- step:

script: -

s3cmd --exclude="*.yml" --exclude=".git*" sync ./ s3://my-bucket

branches: DEV:

- step:

script: -

s3cmd --exclude="*.yml" --exclude=".git*" sync ./ s3://my-bucket

{code} -----

 

This is for deploying files to S3 bucket. My concern is here, I don't want all developers to see "bitbucket-pipelines.yml" which is present in each branch. When I clone DEV branch, above pipeline will be downloaded and Developers can modify it. I want to avoid that access to the developer since its a security concern.

 

Please help me to hide the "bitbucket-pipelines.yml"

 

Thanks,

sm

 

1 answer

0 votes
colegatron September 18, 2019

Same concern here.

I would like to separate pipelines from source code.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events