Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos
Commits
f968461b
Commit
f968461b
authored
Oct 11, 2017
by
Gabriel Monnerat
Committed by
eteri
Oct 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
caddy: clean up
parent
e8bcdf2d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
25 deletions
+26
-25
component/caddy/buildout.cfg
component/caddy/buildout.cfg
+20
-0
software/caddy/instance.cfg.in
software/caddy/instance.cfg.in
+1
-1
software/caddy/software.cfg
software/caddy/software.cfg
+5
-24
No files found.
component/caddy/buildout.cfg
0 → 100644
View file @
f968461b
[buildout]
extends =
../../component/golang/buildout.cfg
parts +=
caddy-repository
[git-repository]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
[go-git-repository]
<= git-repository
repository = https://${:go.importpath}.git
location = ${gopath:src}/${:go.importpath}
[caddy-repository]
<= go-git-repository
go.importpath = github.com/mholt/caddy
revision = c4dfbb9956095c92d0586a52723748c070c7b459
\ No newline at end of file
software/caddy/instance.cfg.in
View file @
f968461b
#############################
#############################
#
#
# Deploy
hello-world
instance
# Deploy
caddy
instance
#
#
#############################
#############################
[buildout]
[buildout]
...
...
software/caddy/software.cfg
View file @
f968461b
[buildout]
[buildout]
extends =
extends =
../../component/golang/buildout.cfg
../../component/caddy/buildout.cfg
../../component/openssl/buildout.cfg
../../component/zlib/buildout.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
parts =
parts =
golang19
golang19
slapos-cookbook
slapos-cookbook
instance-profile
instance-profile
caddy-repository
caddy
caddy
[instance-profile]
[instance-profile]
...
@@ -17,7 +14,7 @@ recipe = slapos.recipe.template:jinja2
...
@@ -17,7 +14,7 @@ recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/instance.cfg
rendered = ${buildout:directory}/instance.cfg
# MD5 checksum can be skipped for development (easier to develop), but must be filled for production
# MD5 checksum can be skipped for development (easier to develop), but must be filled for production
md5sum =
227ed080787c1b2d933c7c9f563017cb
md5sum =
ec3f3d81153f7b198ccf30c5a5bf532a
mode = 0644
mode = 0644
extensions = jinja2.ext.do
extensions = jinja2.ext.do
context =
context =
...
@@ -28,28 +25,12 @@ directory = ${buildout:directory}/go.work
...
@@ -28,28 +25,12 @@ directory = ${buildout:directory}/go.work
src = ${:directory}/src
src = ${:directory}/src
bin = ${:directory}/bin
bin = ${:directory}/bin
[git-repository]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
[go-git-repository]
<= git-repository
repository = https://${:go.importpath}.git
location = ${gopath:src}/${:go.importpath}
[caddy-repository]
<= go-git-repository
go.importpath = github.com/mholt/caddy
revision = c4dfbb9956095c92d0586a52723748c070c7b459
[caddy]
[caddy]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
path = ${caddy-repository:location}
path = ${caddy-repository:location}
go = ${golang19:location}/bin/go
go = ${golang19:location}/bin/go
configure-command = :
make-targets = cd ${:path} && ${:go} get -v
make-binary = cd ${:path} && ${:go} install
make-binary = echo "START 1" && cd ${:path} && pwd && ${:go} get -v && echo "END"
make-targets =
environment =
environment =
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig
PATH=${pkgconfig:location}/bin:${golang19:location}/bin:${buildout:bin-directory}:%(PATH)s
PATH=${pkgconfig:location}/bin:${golang19:location}/bin:${buildout:bin-directory}:%(PATH)s
GOPATH=${gopath:directory}
GOPATH=${gopath:directory}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment