Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

309 Enhancement of Environment Variable Handling #315

Merged
merged 18 commits into from
Feb 8, 2024

Conversation

sorochak
Copy link
Contributor

@sorochak sorochak commented Feb 2, 2024

Summary

This PR addresses the issue #309, related to the lack of checks for necessary Authentication environment variables, which was leading to deployment issues and runtime errors.

Key Changes:

  • Introduction of Parameterized Configuration: The CLI will prompt for parameter values during deployment if they are not preset. This helps prevent functions from being deployed with missing credentials if maintainers deploy from their local machine.

  • **Improvements to firebase-deploy GitHub Actions workflow **: Automated creation of a virtual .env file as part of the deployment workflow to ensure all required environment variables are set.

  • Added Firebase Functions Deployment and Config Process in README: Modified the README with instructions to advise maintainers to utilize the 'Deploy Firebase Functions' workflow on their feature branches, ensuring a consistent deployment environment.

@sorochak sorochak linked an issue Feb 2, 2024 that may be closed by this pull request
4 tasks
Copy link

github-actions bot commented Feb 2, 2024

Visit the preview URL for this PR (updated for commit a7b0d9e):

https://cioos-metadata-form--pr315-309-improve-env-conf-e9y7q7hw.web.app

(expires Sun, 03 Mar 2024 23:38:01 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 57eda2a7622dc877ccadb675a0532261c52b09fd

@sorochak sorochak changed the title 309 improve env config 309 Enhancement of Environment Variable Handling Feb 2, 2024
@sorochak sorochak marked this pull request as ready for review February 3, 2024 00:02
@sorochak sorochak requested a review from fostermh February 3, 2024 00:03
@sorochak sorochak self-assigned this Feb 3, 2024
@sorochak sorochak added the enhancement New feature or request label Feb 3, 2024
@sorochak sorochak merged commit ac17aee into main Feb 8, 2024
3 checks passed
@sorochak sorochak deleted the 309-improve-env-config branch February 8, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate Env Variable Check in Metadata Form Workflow
2 participants