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

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

Jake Sheets December 1, 2021

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
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 3, 2021

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

list of requested features 

Regards, Igor

Jake Sheets December 12, 2021

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

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

Like Igor Stoyanov likes this
lt7 December 26, 2021

+1

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

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 28, 2021

@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

lt7 December 28, 2021

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

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 28, 2021

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

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 28, 2021

@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.

0 votes
lt7 December 26, 2021

.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events