Skip to content

[server] Remove admin OTS create/use flow #16761

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

Merged
merged 1 commit into from
Mar 14, 2023
Merged

Conversation

easyCZ
Copy link
Member

@easyCZ easyCZ commented Mar 9, 2023

Description

No longer needed, as it's super-seeded by the admin-credentials file flow

Related Issue(s)

How to test

Release Notes

NONE

Documentation

Build Options:

  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
    leeway-target=components:all
  • /werft no-test
    Run Leeway with --dont-test
Publish Options
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer Options
  • with-ee-license
  • with-dedicated-emulation
  • with-ws-manager-mk2
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated

Preview Environment Options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-mp-remove-admin-secret.1 because the annotations in the pull request description changed
(with .werft/ from main)

@roboquat roboquat added the size/L label Mar 9, 2023
Base automatically changed from mp/server-mount-admin-credentials to main March 9, 2023 11:15
@easyCZ easyCZ force-pushed the mp/remove-admin-secret branch from f223445 to 0ce214c Compare March 10, 2023 08:11
@easyCZ easyCZ marked this pull request as ready for review March 10, 2023 08:11
@easyCZ easyCZ requested a review from a team March 10, 2023 08:11
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Mar 10, 2023
if (!user) {
throw new Error("Cannot find builtin admin-user");
}
user.blocked = false;
Copy link
Member

Choose a reason for hiding this comment

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

@easyCZ How is the admin-user unblocked in the new flow?

Just want to make sure this is not overlooked.

@@ -190,38 +190,6 @@ export class UserController {
}
});

router.get(
Copy link
Member

Choose a reason for hiding this comment

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

How do we login to a websession with the new credentials? Not set up, yet?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

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

LGTM, comments just for awareness/curiosity

@roboquat roboquat merged commit e9fcb45 into main Mar 14, 2023
@roboquat roboquat deleted the mp/remove-admin-secret branch March 14, 2023 10:13
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/L team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants