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

Feat/quickie/site-create-form #985

Merged
merged 6 commits into from
Oct 25, 2023
Merged

Conversation

kishore03109
Copy link
Contributor

@kishore03109 kishore03109 commented Oct 19, 2023

Problem

Moving forward to support quickie, all sites need to have 2 branches, staging + staging-lite AND 2 amplify apps. This modifies the site create form to allow this to happen.
Closes [insert issue #]

  • Yes - this PR contains breaking changes
    • This does have implication with site privitisation. I have updated the oncall runbook on the additional step needed to make a site private AFTER this pr has been merged into main line.
  • No - this PR is backwards compatible with ALL of the following feature flags in this doc

@kishore03109 kishore03109 requested a review from a team October 24, 2023 08:26
@kishore03109 kishore03109 marked this pull request as ready for review October 24, 2023 08:26
Copy link
Contributor

@dcshzj dcshzj left a comment

Choose a reason for hiding this comment

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

Non-blocking comments

const amplifyInfo = amplifyResult.value

if (amplifyStagingLiteResult.isErr()) {
logger.error(`Amplify set up error: ${amplifyStagingLiteResult.error}`)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we differentiate between this error message and the previous one? So that it is easier at a glance to know which app creation failed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fair point 9fbbd47

fs.rmSync(`${stgLiteDir}/.git`, { recursive: true, force: true })

// Prepare git repo

Copy link
Contributor

Choose a reason for hiding this comment

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

nit: spacing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kishore03109 kishore03109 merged commit 3029072 into develop Oct 25, 2023
6 checks passed
@mergify mergify bot deleted the feat/quickie/site-create-form branch October 25, 2023 06:38
@dcshzj dcshzj mentioned this pull request Oct 25, 2023
6 tasks
dcshzj added a commit that referenced this pull request Oct 26, 2023
* refactor(formsg-site-clone): remove and add to site creation (#971)

* refactor(formsg-site-clone): remove and add to site creation

* fix(formsgsitecreation): fixed rename betrayal by vvscode

* refactor(formsgsitecreation): cloen only on email

* refactor(ff): make site launch flag a bool flag (#958)

* refactor(ff): make flag a bool flag

* refactor(flags): update ff

* refactor(reposervice): remove function

* refactor(routehandler): remove function

* fix(routehandler): rename ff

* fix(reposervice): update test spec

* Feat/quickie/site-create-form (#985)

* feat(git clone): add branch

* feat(db): update deployments table

* fix(reposService): fix git commands

* fix(reposService): cleaner code

* fix(tests): fix failing tests

* style(deploymentService): better error messages

* chore(auth): upgrade auth redirect endpoint to use v2 (#986)

* 0.50.0

---------

Co-authored-by: Kishore <[email protected]>
Co-authored-by: seaerchin <[email protected]>
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.

2 participants