Skip to content

Commit

Permalink
Add sample profiles for GitLab (#172)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Antonio Osorio <[email protected]>
  • Loading branch information
JAORMX authored Oct 4, 2024
1 parent 0181b5f commit 9465543
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
13 changes: 13 additions & 0 deletions profiles/gitlab/gitlab_auto_devops.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
# Profile showing off GitLab Auto DevOps capabilities
version: v1
type: profile
name: gitlab-autodevops-profile
display_name: Gitlab Auto DevOps showcase
context:
provider: gitlab
alert: "off"
remediate: "off"
repository:
- type: gitlab_dependency_scanning_enabled
def: {}
25 changes: 25 additions & 0 deletions profiles/gitlab/profile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
# Profile showing off some of the Gitlab capabilities
version: v1
type: profile
name: gitlab-profile
display_name: Gitlab showcase
context:
provider: gitlab
alert: "off"
remediate: "off"
repository:
- type: license
def:
license_filename: LICENSE
license_type: MIT
- type: dockerfile_no_latest_tag
def: {}
- type: gitlab_protect_branch
def: {}
params:
branch: master
- type: gitlab_require_merge_requests
def: {}
params:
branch: master

0 comments on commit 9465543

Please sign in to comment.