Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
puppet-modules
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Nbits
Puppet
puppet-modules
Merge requests
!4
Draft: Deploy roles
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Open
Draft: Deploy roles
feature/deploy-roles
into
master
Overview
0
Commits
1
Pipelines
9
Changes
2
Open
Draft: Deploy roles
drebs
requested to merge
feature/deploy-roles
into
master
Jan 6, 2021
Overview
0
Commits
1
Pipelines
9
Changes
2
0
0
Merge request reports
Compare
master
version 8
b6e6dc67
Jan 6, 2021
version 7
08c045bf
Jan 6, 2021
version 6
54df5af2
Jan 6, 2021
version 5
ff277e90
Jan 6, 2021
version 4
05bedf53
Jan 6, 2021
version 3
ac84aa46
Jan 6, 2021
version 2
a694face
Jan 6, 2021
version 1
ba52d410
Jan 6, 2021
master (base)
and
version 8
latest version
f9b84bf1
1 commit,
Jan 6, 2021
version 8
b6e6dc67
3 commits,
Jan 6, 2021
version 7
08c045bf
3 commits,
Jan 6, 2021
version 6
54df5af2
3 commits,
Jan 6, 2021
version 5
ff277e90
2 commits,
Jan 6, 2021
version 4
05bedf53
4 commits,
Jan 6, 2021
version 3
ac84aa46
3 commits,
Jan 6, 2021
version 2
a694face
2 commits,
Jan 6, 2021
version 1
ba52d410
1 commit,
Jan 6, 2021
2 files
+
31
−
25
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Conflict: This file was modified in both the source and target branches. Ask someone with write access to resolve it.
.gitlab-ci.yml
+
5
−
25
View file @ b6e6dc67
Edit in single-file editor
Open in Web IDE
stages
:
-
check-code
-
compile
-
deploy
check-code
:
image
:
ninfra/puppet-checker:0.0.1
variables
:
GIT_SUBMODULE_STRATEGY
:
none
script
:
-
/check-code.sh
tags
:
-
docker
stage
:
check-code
compile-profiles
:
image
:
ninfra/puppet-server:0.0.1
deploy-role-onlyoffice
:
stage
:
deploy
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
USE_PUPPETDB
:
'
false'
stage
:
compile
script
:
-
'
echo
"127.0.1.1
$(
facter
fqdn
)"
>>
/etc/hosts'
-
'
service
puppet-master
start'
-
'
puppet
agent
--server
$(
facter
fqdn
)
--test'
-
'
while
read
class;
do
echo
"Compiling
catalog
for
${class}...";
echo
"node
\"default\"
{
include
${class}
}"
>
/etc/puppet/code/environments/production/manifests/nodes.pp;
puppet
catalog
--server
$(
facter
fqdn
)
download;
done
<
<(
find
./profile/manifests/
-name
"*.pp"
-a
-exec
grep
^class
"{}"
\;
|
awk
"{
print
\$2
}"
);'
-
sudo ./.scripts/deploy-role.sh role::onlyoffice
tags
:
-
docker
-
libvirt
Loading