Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 223
    • Issues 223
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 32
    • Merge Requests 32
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Merge Requests
  • !351

Merged
Opened 17 hours ago by Ben Hayward@benhayward.ben
  • Report abuse
Report abuse

[Sprint/OldfashionedOwl](feat): Reset password by CLI

Closes #921 (closed)

Admin password for the sandboxes seemed to change. So that I can run it in the container with kubectl, I made a CLI controller for it.

If you want to test, you'll need to be set up with AWS and K8S.

kubectl get pods | grep cli-user-pw-reset

will yield the container name. Copy that name and run:

kubectl exec -it {{pod name}} sh

From there you just:

cd ../Minds/engine
php ./cli.php User password_reset --username={{username}} --password={{password}}

And try to login.

Alternatively pull locally, cd into your engine folder, and run the password_reset command.

Edited 17 hours ago by Ben Hayward
Request to merge feat/cli-user-pw-reset-921 into master
  • Email patches
  • Plain diff
Pipeline #87122977 passed for 59dedddb on feat/cli-user-pw-reset-921
          Merge request approved. Approved by
          Mark Harding
          Mark Harding
          Emiliano Balbuena
          Emiliano Balbuena
          Rami Albatal
          Rami Albatal
          Brian Hatchet
          Brian Hatchet
          Martin Santangelo
          Martin Santangelo
          Guy Thouret
          Guy Thouret

          Merged by Mark Harding 30 minutes ago

          The changes were merged into master with 416076ce

          The source branch has been deleted

          Closed #921 (closed)

          Pipeline #87290764 waiting for manual action for 416076ce on master
                        • Discussion 1
                        • Commits 2
                        • Pipelines 2
                        • Changes 1
                        • Loading...
                        • Ben Hayward @benhayward.ben added MR::Awaiting Review Squad::Yellow scoped labels 17 hours ago

                          added MR::Awaiting Review Squad::Yellow scoped labels

                        • Ben Hayward @benhayward.ben changed the description 17 hours ago

                          changed the description

                        • Mark Harding @markeharding approved this merge request 30 minutes ago

                          approved this merge request

                        • Mark Harding @markeharding merged 30 minutes ago

                          merged

                        • Mark Harding @markeharding mentioned in commit 416076ce 30 minutes ago

                          mentioned in commit 416076ce

                        • Mark Harding
                          Mark Harding @markeharding · 29 minutes ago
                          Owner

                          @benhayward.ben please update docs too!

                        • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
                        Please register or sign in to reply
                        0 Assignees
                        None
                        Assign to
                        None
                        Milestone
                        None
                        Assign milestone
                        None
                        Time tracking
                        No estimate or time spent
                        2
                        Labels
                        MR::Awaiting Review Squad::Yellow
                        Assign labels
                        • View project labels
                        Lock merge request
                        Unlocked
                        10
                        10 participants
                        user avatar
                        Emiliano Balbuena
                        user avatar
                        Rami Albatal
                        user avatar
                        Brian Hatchet
                        user avatar
                        Martin Santangelo
                        user avatar
                        Guy Thouret
                        user avatar
                        Marcelo Rivera
                        user avatar
                        Olivia Madrid
                        Reference: minds/engine!351

                        Revert this merge request

                        This will create a new commit in order to revert the existing changes.

                        Switch branch
                        Cancel
                        A new branch will be created in your fork and a new merge request will be started.

                        Cherry-pick this merge request

                        Switch branch
                        Cancel
                        A new branch will be created in your fork and a new merge request will be started.