Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
deploy-formula
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
salt
deploy-formula
Commits
8d384383
Commit
8d384383
authored
3 years ago
by
Dennis Ahrens
Browse files
Options
Downloads
Patches
Plain Diff
Deprecate the ssh key for deployments
parent
6277a151
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
deploy/user.sls
+3
-0
3 additions, 0 deletions
deploy/user.sls
with
4 additions
and
0 deletions
README.md
+
1
−
0
View file @
8d384383
...
@@ -80,6 +80,7 @@ It usually should not differ between deployments and might be assigned to many m
...
@@ -80,6 +80,7 @@ It usually should not differ between deployments and might be assigned to many m
-
`deploy.config.key`
**no default value**
-
`deploy.config.key`
**no default value**
A private key that is able to access repositories.
A private key that is able to access repositories.
**Deprecated**
Use
[
gitlab deploy tokens
](
https://doc.it.hs-hannover.de/books/sysadmin/page/gitlab-deploy-with-token-and-without-ssh
)
instead:
-
`deploy.config.deploy_directory`
_default:
`/srv/repo`
_
-
`deploy.config.deploy_directory`
_default:
`/srv/repo`
_
The directory in which git clones are located.
The directory in which git clones are located.
-
`deploy.config.venv_directory`
_default:
`/srv/venv`
_
-
`deploy.config.venv_directory`
_default:
`/srv/venv`
_
...
...
This diff is collapsed.
Click to expand it.
deploy/user.sls
+
3
−
0
View file @
8d384383
...
@@ -4,6 +4,7 @@ deployer:
...
@@ -4,6 +4,7 @@ deployer:
user.absent: []
user.absent: []
group.absent: []
group.absent: []
{% if salt.pillar.get('deploy:config:key:', None) is not None %}
deploy_user_ssh_known_hosts_file_present:
deploy_user_ssh_known_hosts_file_present:
file.managed:
file.managed:
...
@@ -50,6 +51,8 @@ deploy_key:
...
@@ -50,6 +51,8 @@ deploy_key:
- group: root
- group: root
- makedirs: True
- makedirs: True
{% endif %}
{% for project_name, project_config in deploy.projects.items() %}
{% for project_name, project_config in deploy.projects.items() %}
{% set config_user_groups = project_config.get('user_groups', []) %}
{% set config_user_groups = project_config.get('user_groups', []) %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment