Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can the Firebase Deploy integration also push to hosting preview channels?

I would like to set up a pipeline to build and deploy a preview of PRs that can be used for testing against our dev project in Firebase.

The integration seems to be a wrapper for the firebase deploy command, but even with a "--only hosting" argument it would push to the live hosting instead of a temporary preview channel (see the documentation for deploying to a preview channel).

The command we need is below, where "CHANNEL_ID" might be the branch name for the PR.

firebase hosting:channel:deploy CHANNEL_ID
If this can't be done with the integration directly, then would it be possible to use the integration to help with the CLI authentication using the "KEY_FILE" and other ENV parameters?

2 answers

1 vote

@Jake Sheets  hi. Thanks for your suggestion. It's a good idea to create feature request here:

list of requested features 

Regards, Igor

I have created a new suggestion in the project you linked.

https://jira.atlassian.com/browse/BCLOUD-21539 

Like Igor Stoyanov likes this

+1

 The JIRA linked doesn't exist, was there an actual answer to the question or is there a feature gap that requirements development ?

@lt7  hi.
Current status of this feature is "not implemented, gathering interests". You should vote for this feature. Also the link exists, but not visible to you.

Regards, Igor

Hi @Igor Stoyanov I see the following so can't vote on it or read any comments. 

Was there an answer to "If this can't be done with the integration directly, then would it be possible to use the integration to help with the CLI authentication using the "KEY_FILE" and other ENV parameters?" on the JIRA ?

Untitled.png

@lt7  it's feature request. It's not implemented.

@lt7@Jake Sheets   if you need to somehow authenticate inside a pipeline without pipe usage, you need to have `GOOGLE_APPLICATION_CREDENTIALS` environ or token.

This is an example how we do it in the pipe:
firebase-deploy example in repo 

 

Regards, Igor.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

111 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you