Missed Team ’24? Catch up on announcements here.

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

Invalidate CDN Cache with Google Cloud Storage Deploy in bitbucket pipelines

stefansurkamp April 28, 2020

Is it possible to invalidate the CDN Cache when using the Google Cloud Storage Deploy pipes?

I would like to add a command that does something similar to

- gcloud compute url-maps invalidate-cdn-cache [...]

Is that possible? Or what would be the best workaround if it's not yet implemented?

 

Thanks in advance!

2 answers

1 vote
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2020

Hi @stefansurkamp ,

thank you for your feedback!

It's a good case to write your custom pipe and contribute to the Community.


Cheers,
Alex

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 28, 2020

Hi!

Looks like nope.

based on that

https://bitbucket.org/atlassian/google-cloud-storage-deploy/src/master/

https://cloud.google.com/storage/docs/gsutil/commands/cp

 

BTW, you type own shell script which will execute it.

stefansurkamp April 29, 2020

Thanks for your quick reply. When using my own shell script, I will have to download gcloud/gsutils again, right? That was basically the reason I went with the Pipes implementation, so I don't have to handle it myself.

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 29, 2020

hm, need to think about a specific own rest end point, which will execute the code.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events