Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wazuh-deploy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MEDINA
Public
wazuh-deploy
Commits
b1a97d11
Commit
b1a97d11
authored
3 years ago
by
Matevz Erzen
Browse files
Options
Downloads
Patches
Plain Diff
Update to Clouditor v1.3.14
parent
ddf9d635
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/clouditor/Makefile
+9
-5
9 additions, 5 deletions
ansible/clouditor/Makefile
ansible/provision-clouditor.yml
+8
-4
8 additions, 4 deletions
ansible/provision-clouditor.yml
with
17 additions
and
9 deletions
ansible/clouditor/Makefile
+
9
−
5
View file @
b1a97d11
build
:
go
install
google.golang.org/protobuf/cmd/protoc-gen-go
\
install-dependencies
:
~/.go/bin/go get github.com/google/gnostic/cmd/protoc-gen-openapi
~/.go/bin/go
install
google.golang.org/protobuf/cmd/protoc-gen-go
\
google.golang.org/grpc/cmd/protoc-gen-go-grpc
\
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway
\
github.com/googleapis/gnostic/apps/protoc-gen-openapi
go generate ./...
&&
go build ./...
github.com/google/gnostic/cmd/protoc-gen-openapi
build
:
~/.go/bin/go generate ./...
~/.go/bin/go build ./...
run
:
go run cmd/engine/engine.go
--db-in-memory
\ No newline at end of file
~/.go/bin/go run cmd/engine/engine.go
--db-in-memory
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ansible/provision-clouditor.yml
+
8
−
4
View file @
b1a97d11
...
...
@@ -15,10 +15,10 @@
-
name
:
Download Golang installer
get_url
:
url
:
https://storage.googleapis.com/golang/getgo/installer_linux
dest
:
~
/installer_linux
dest
:
/home/vagrant
/installer_linux
mode
:
'
0555'
-
name
:
Run Golang installer
raw
:
./installer_linux && source
~/.bashrc
raw
:
./installer_linux && source
/home/vagrant/.bash_profile
-
name
:
Create dir
file
:
path
:
/home/vagrant/clouditor
...
...
@@ -28,11 +28,15 @@
repo
:
https://github.com/clouditor/clouditor.git
dest
:
/home/vagrant/clouditor
force
:
yes
version
:
v1.3.
9
version
:
v1.3.
14
-
name
:
Copy Makefile
copy
:
src
:
./clouditor/Makefile
dest
:
/home/vagrant/clouditor/Makefile
-
name
:
Install Clouditor dependencies
make
:
chdir
:
/home/vagrant/clouditor
target
:
install-dependencies
-
name
:
Build Clouditor
make
:
chdir
:
/home/vagrant/clouditor
...
...
@@ -50,5 +54,5 @@
shell
:
chdir
:
/home/vagrant/clouditor
executable
:
/bin/bash
cmd
:
"
(nohup
~
/.go/bin/go
run
cmd/engine/engine.go
--db-in-memory
</dev/null
>/var/log/clouditor.log
2>&1
&
sleep
1)"
cmd
:
"
(nohup
/home/vagrant
/.go/bin/go
run
cmd/engine/engine.go
--db-in-memory
</dev/null
>/var/log/clouditor.log
2>&1
&
sleep
1)"
# see https://ansibledaily.com/execute-detached-process-with-ansible/
\ No newline at end of file
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