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

infra: setup staging environment #91

Merged
merged 3 commits into from
Jan 17, 2022
Merged

Conversation

Shehryar21
Copy link
Contributor

@Shehryar21 Shehryar21 commented Jan 17, 2022

Brief description. What is this change?

Create Developer Staging Environment

Implementation description. How did you make this change?

  • Created a new staging site on firebase communityfridgekw-staging.web.app
  • Created a new staging app on Heroku for backend server and db
  • Created a new staging branch on github
  • Updated github actions and secrets accordingly
  • With these new changes, main is the production branch and once this PR is merged to main, new PRs will be merged to the staging branch after.

Steps to test

  1. Verify main production site https://communityfridgekw.web.app/ works fine
  2. Verify staging site https://communityfridgekw-staging.web.app/ works fine. This wont work for now, but once something is merged on to staging branch, it will work. For now just test the preview URL.
  3. Verify the backend and db for production and staging is different
  4. Verify Preview URLs are working fine and is working on the staging backend

Checklist

  • My PR name is descriptive and in imperative tense
  • My commit messages follow conventional commits and are descriptive. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
  • I have run the appropriate linter(s)
  • I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR
  • The appropriate tests if necessary have been written

@Shehryar21 Shehryar21 self-assigned this Jan 17, 2022
@github-actions
Copy link

github-actions bot commented Jan 17, 2022

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

https://communityfridgekw-staging--pr91-setup-staging-enviro-68s2z6n9.web.app

(expires Mon, 24 Jan 2022 19:14:08 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

@Shehryar21 Shehryar21 temporarily deployed to community-fridge-kw-staging January 17, 2022 18:35 Inactive
@Shehryar21 Shehryar21 temporarily deployed to community-fridge-kw-staging January 17, 2022 19:10 Inactive
@Shehryar21 Shehryar21 requested a review from hanlinc27 January 17, 2022 19:25
@Shehryar21 Shehryar21 added infra/devops Infrastructure or devops change ready for review and removed in progress labels Jan 17, 2022
@Shehryar21 Shehryar21 changed the title build: setup staging environment infra: setup staging environment Jan 17, 2022
@Shehryar21 Shehryar21 merged commit cf5e1c6 into main Jan 17, 2022
@Shehryar21 Shehryar21 deleted the setup-staging-environment branch January 17, 2022 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra/devops Infrastructure or devops change ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants