Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
id
keystore
Commits
18716e12
Commit
18716e12
authored
Dec 06, 2019
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop bashisms pushd/popd
parent
4a3e816b
Pipeline
#5251
failed with stages
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
integration-test.sh
integration-test.sh
+3
-5
No files found.
integration-test.sh
View file @
18716e12
...
...
@@ -23,9 +23,8 @@ install_keystore() {
mkdir
-p
$tmpdir
/src/git.autistici.org/id
ln
-s
$PWD
$tmpdir
/src/git.autistici.org/id/keystore
pushd
$tmpdir
/src/git.autistici.org/id/keystore
GOPATH
=
$tmpdir
go build
-o
/usr/bin/dovecot-keylookupd cmd/dovecot-keylookupd
GOPATH
=
$tmpdir
go build
-o
/usr/bin/keystored cmd/keystored
GOPATH
=
$tmpdir
go build
-o
/usr/bin/dovecot-keylookupd git.autistici.org/id/keystore/cmd/dovecot-keylookupd
GOPATH
=
$tmpdir
go build
-o
/usr/bin/keystored git.autistici.org/id/keystore/cmd/keystored
addgroup
--system
--quiet
dovecot-keylookupd
adduser
--system
--no-create-home
--home
/run/dovecot-keylookupd
\
...
...
@@ -40,11 +39,10 @@ install_keystore() {
systemctl daemon-reload
mkdir
-p
/var/lib/keystore /etc/sso
GOPATH
=
$tmpdir
go run integration-test/init.go
--dbpath
=
/var/lib/keystore/test.db
--ssopath
=
/etc/sso
$TESTPW1
$TESTPW2
GOPATH
=
$tmpdir
go run
git.autistici.org/id/keystore/
integration-test/init.go
--dbpath
=
/var/lib/keystore/test.db
--ssopath
=
/etc/sso
$TESTPW1
$TESTPW2
chown
-R
keystored /var/lib/keystore
rm
-fr
$tmpdir
popd
}
configure_dovecot
()
{
...
...
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