Skip to content

Conversation

@joehan
Copy link
Contributor

@joehan joehan commented Aug 14, 2023

Description

Follow up to #6094 - adding a step to the release script to build a Docker image of the latest firebase-tools version on each release.
Right now, this stores the image in Artifact Registry on the firebase-cli project I'm not sure that this is ultimately where we want it to live, so I'm going to reach out to OSPO folks about other options.

Scenarios Tested

Using the scripts/publish/firebase-docker-image/run.sh on a test project, I successfully built images with the correct tags.

@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (07d0c8e) 54.58% compared to head (e276b1d) 54.58%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6255   +/-   ##
=======================================
  Coverage   54.58%   54.58%           
=======================================
  Files         346      346           
  Lines       23717    23717           
  Branches     4875     4875           
=======================================
  Hits        12946    12946           
  Misses       9586     9586           
  Partials     1185     1185           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joehan joehan requested review from bkendall and mbleigh August 15, 2023 19:01
echo "Pushed to GitHub."

echo "Publishing Docker image..."

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing a step here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Derp - should have cleaned this up, was a remnant of a different approach

]

images:
- "gcr.io/$PROJECT_ID/firebase"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe firebase-cli or firebase-tools?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, I think.

@mbleigh
Copy link
Contributor

mbleigh commented Aug 15, 2023

Should probably store things in Artifact Registry instead of GCR even on a temporary basis since GCR is not recommended for new things.

]

images:
- "gcr.io/$PROJECT_ID/firebase"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, I think.

@joehan
Copy link
Contributor Author

joehan commented Aug 15, 2023

Cleaned this up, and switched to publishing the images to AR on firebase-cli instead of GCR on fir-tools-builds

@joehan joehan requested a review from bkendall August 15, 2023 23:25
@SeanFeldman
Copy link

Happy 2024! @joehan, is there a guesstimate when you think this will get to the finish line?

@joehan joehan merged commit 7aeab08 into master Apr 16, 2025
48 of 49 checks passed
blidd-google pushed a commit that referenced this pull request May 12, 2025
* Adding Docker image build to publish script

* formats

* starting on PR fixes

* Switching to AR on firebase-cli instead of GCR on fir-tools-builds

* Updating to include latest emulators

* format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants