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

Is it possible to set the firebase environment configuration?

I started deploying to firebase from bitbucket pipelines with the atlassian pipe. However i did not see a way to set environment configuration as often necessary:


Did I miss the docs or do I simply have to use bare bones firebase-tools?




2 answers

1 accepted

0 votes
Answer accepted

Hi @tobias_eisenschenk , 
Currently, the firebase-deploy pipe doesn't have a way to set environment configuration, but we will consider this option in the upcoming pipe releases. 

Thank you for the feedback. We'll notify you about updates.


0 votes

Hi @tobias_eisenschenk . We're currently considering adding a support for configuring the environment from a pipe. Could you describe your use case a bit more so we can better understand how to improve the pipe? Thanks a lot!

My use case is to deploy firebase cloud-functions along with environment specific configuration (firebase config).

Something like this:

npm --prefix ./functions install
- npm install -g firebase-tools
- firebase use $PROJECT_ID
- firebase functions:config:set environment.database_url=$ENVIRONMENT_DATABASE_URL
- pipe: atlassian/firebase-deploy:0.3.4

As you can see I started using the atlassian pipe, but then had to use the firebase-tools cli as well.

@tobias_eisenschenk I came with the idea to set the env in linux: 

- export PROD=false
- pipe: atlassian/firebase-deploy:0.3.8

And then to get it by using node's method:


Actually it didnt work in my code. But probably you will make it.

hi @Alexander Zhukov , just wondering if you were are planning to implement this? Would be super useful to be able to set  functions.config env variables within the pipe using values stored in bitbucket variables.

Hi @Ben Calnan ,

Could you provide us with more details about your case?

Suggest an answer

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

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

3,761 views 64 20
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