Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/concepts/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ With approval, Gitploy waits until it matches the required approving approvals.

Rollback is the best way to recover while you fix the problems. Gitploy supports the rollback, and you can choose one of the successful deployments to rollback.

For best practice, you should lock the repository to block deploying by others until finishing to fix the problems. Gitploy provide the 'lock' feature in UI and Chatops.
For best practice, you should lock the environment to block deploying by others until finishing to fix the problems. Gitploy provide the 'lock' feature in UI and Chatops.

*Note that if the ref of the selected deployment is a branch, Gitploy automatically references the commit SHA to prevent deploying the head of the branch.*
4 changes: 2 additions & 2 deletions docs/concepts/permission.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Here are capabilities for each permission:

* **Read** - Users can read all activities that happened in the repository, such as deployments, approvals. And users are also capable of responding to the approval.

* **Write** - Users can deploy and rollback for the `REF`.
* **Write** - Users can lock, deploy, and rollback for the `REF`.

* **Admin** - Users can configures the repository, such as activating and locking.
* **Admin** - Users can configures the repository, such as activating.

Of course, write and admin permission cover the ability of read permission.
161 changes: 161 additions & 0 deletions ent/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions ent/config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions ent/ent.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions ent/hook/hook.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading