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
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
59583525
Commit
59583525
authored
Jan 02, 2020
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab: fix git-backup installation
parent
ec5775ec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
+16
-12
software/gitlab/gowork.cfg
software/gitlab/gowork.cfg
+2
-2
software/gitlab/software.cfg
software/gitlab/software.cfg
+14
-10
No files found.
software/gitlab/gowork.cfg
View file @
59583525
...
@@ -14,7 +14,7 @@ depends_gitfetch =
...
@@ -14,7 +14,7 @@ depends_gitfetch =
go.importpath = github.com/libgit2/git2go
go.importpath = github.com/libgit2/git2go
repository = https://github.com/libgit2/git2go.git
repository = https://github.com/libgit2/git2go.git
# branch 'next' is required by git-backup
# branch 'next' is required by git-backup
revision = next-g5
3594d7581617dbae7bb5960b4ac5f0ff513c184
revision = next-g5
d0a4c752a74258a5f42e40fccd2908ac4e336b8
[go_github.com_pkg_errors]
[go_github.com_pkg_errors]
<= go-git-package
<= go-git-package
...
@@ -26,7 +26,7 @@ revision = v0.8.0-12-g816c908556
...
@@ -26,7 +26,7 @@ revision = v0.8.0-12-g816c908556
<= go-git-package
<= go-git-package
go.importpath = lab.nexedi.com/kirr/git-backup
go.importpath = lab.nexedi.com/kirr/git-backup
repository = https://lab.nexedi.com/kirr/git-backup.git
repository = https://lab.nexedi.com/kirr/git-backup.git
revision =
cc6ac54f451dfa6e343d6340dcfa25aa6eac9565
revision =
9791c04ecc2555a519321905efa734a1b5f3c4e6
[go_lab.nexedi.com_kirr_go123]
[go_lab.nexedi.com_kirr_go123]
<= go-git-package
<= go-git-package
...
...
software/gitlab/software.cfg
View file @
59583525
...
@@ -30,7 +30,7 @@ extends =
...
@@ -30,7 +30,7 @@ extends =
parts =
parts =
ruby2.1
ruby2.1
golang1
9
golang1
.12
git
git
postgresql92
postgresql92
redis28
redis28
...
@@ -184,25 +184,29 @@ configure-command = :
...
@@ -184,25 +184,29 @@ configure-command = :
make-binary =
make-binary =
make-targets= cd ${go_github.com_libgit2_git2go:location}
make-targets= cd ${go_github.com_libgit2_git2go:location}
&& git submodule update --init
&& git submodule update --init
&& sed -i 's/.*--build.*/cmake --build . --target install/' script/build-libgit2-static.sh
&& make install
&& make install
environment =
environment =
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig
PKG_CONFIG_PATH=${openssl
-1.0
:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig
PATH=${cmake:location}/bin:${pkgconfig:location}/bin:${git:location}/bin:${golang1
9
:location}/bin:${buildout:bin-directory}:%(PATH)s
PATH=${cmake:location}/bin:${pkgconfig:location}/bin:${git:location}/bin:${golang1
.12
:location}/bin:${buildout:bin-directory}:%(PATH)s
GOPATH=${gowork:directory}
GOPATH=${gowork:directory}
[gowork.goinstall]
git2go = ${go_github.com_libgit2_git2go_prepare:path}/vendor/libgit2/install
command = bash -c ". ${gowork:env.sh} && CGO_CFLAGS=-I${:git2go}/include CGO_LDFLAGS=-L${:git2go}/lib go install ${gowork:buildflags} -v $(echo -n '${gowork:install}' |tr '\n' ' ')"
[gowork]
[gowork]
golang = ${golang1
9
:location}
golang = ${golang1
.12
:location}
install =
install =
lab.nexedi.com/kirr/git-backup
lab.nexedi.com/kirr/git-backup
gitlab.com/gitlab-org/gitlab-workhorse
gitlab.com/gitlab-org/gitlab-workhorse
gitlab.com/gitlab-org/gitlab-workhorse/cmd/gitlab-zip-cat
gitlab.com/gitlab-org/gitlab-workhorse/cmd/gitlab-zip-cat
gitlab.com/gitlab-org/gitlab-workhorse/cmd/gitlab-zip-metadata
gitlab.com/gitlab-org/gitlab-workhorse/cmd/gitlab-zip-metadata
cpkgpath =
cpkgpath =
${openssl:location}/lib/pkgconfig
${openssl
-1.0
:location}/lib/pkgconfig
${zlib:location}/lib/pkgconfig
${zlib:location}/lib/pkgconfig
before-install =
${go_github.com_libgit2_git2go_prepare:path}/vendor/libgit2/install/lib/pkgconfig
${go_github.com_libgit2_git2go_prepare:recipe}
buildflags = --tags "static"
[gitlab-backup]
[gitlab-backup]
recipe = plone.recipe.command
recipe = plone.recipe.command
...
...
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