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,365,363
Community Members
 
Community Events
168
Community Groups

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

Atlassian Community Events