CrazyMax
a2d8aac9dd
ci: add build-deb job
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-27 00:32:19 +02:00
CrazyMax
48ab0d84e8
Fix deb package
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-27 00:32:19 +02:00
CrazyMax
e50298d973
Makefile: mutualize local and Dockerfile build opts
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-27 00:32:19 +02:00
CrazyMax
2c31fa46db
ci: fetch depth 0 at build time for proper versioning
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-25 14:50:26 +02:00
CrazyMax
a37d38a864
Set version and revision at linked time
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-25 14:50:18 +02:00
Sebastiaan van Stijn
51249117fa
Merge pull request #236 from ZauberNerd/relative-paths-makefile
...
Use relative paths in Makefile for "go build"
2022-08-25 12:34:43 +02:00
Björn Brauer
3289c31a02
Use relative paths in Makefile for "go build"
...
https://github.com/docker/docker-credential-helpers/pull/232#issuecomment-1226943341
Fixes #232
Signed-off-by: Björn Brauer <bjoern.brauer@new-work.se >
2022-08-25 10:02:20 +00:00
Sebastiaan van Stijn
ebd9dc6c79
Merge pull request #169 from ellsclytn/pass-macos-and-linux
...
Allow pass helper to be built for macOS
2022-08-21 16:24:33 +02:00
Sebastiaan van Stijn
cc29c66bcc
Dockerfile: build pass on macOS
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-08-21 16:19:22 +02:00
Ellis Clayton
dd465ef1f3
Allow pass helper to be built for macOS
...
Pass is described as "The Standard Unix Password Manager", and so it can
easily run on more than just Linux. Namely, it's supported on macOS. The
CLI is identical to the Linux build, which means the Linux helper code
for Pass is fully applicable toward the macOS build - a couple of
renames being the only needed thing, purely for semantic correctness.
Signed-off-by: Ellis Clayton <ellis@ellis.codes >
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-08-21 16:18:19 +02:00
Sebastiaan van Stijn
a9d6be0a41
Merge pull request #233 from thaJeztah/update_readme_instructions
...
Update local build instructions in README
2022-08-21 16:16:39 +02:00
Sebastiaan van Stijn
becf2f2a95
Update local build instructions in README
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-08-21 16:10:50 +02:00
Sebastiaan van Stijn
6dfcfc15aa
Merge pull request #232 from thaJeztah/simplify_build
...
simplify "go build" commands
2022-08-21 15:43:02 +02:00
Sebastiaan van Stijn
5a61a5bc61
Merge pull request #231 from crazy-max/lint
...
lint gha job and remove travis
2022-08-21 15:42:07 +02:00
CrazyMax
f522992580
remove travis
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-21 15:33:57 +02:00
CrazyMax
9ec715d8ed
ci: init gpg key and pass for tests
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-21 15:33:57 +02:00
CrazyMax
9582eb6661
lint gha job
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-21 15:33:56 +02:00
Sebastiaan van Stijn
e847de4b42
simplify "go build" commands
...
There's no need to specify the file to build, as we're building the
"main" packages as a whole.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-08-21 15:30:16 +02:00
Sebastiaan van Stijn
5302241995
Merge pull request #230 from crazy-max/vendor-license
...
vendor validation
2022-08-20 22:40:10 +02:00
CrazyMax
e5695df009
vendor update and validation
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-20 21:49:52 +02:00
Sebastiaan van Stijn
acd90ea9da
Merge pull request #227 from crazy-max/ppc64le-s390x
...
support linux/ppc64le and linux/s390x cross build
2022-08-20 21:11:04 +02:00
CrazyMax
018b71b3c3
support linux/ppc64le and linux/s390x cross build
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-20 21:03:51 +02:00
Sebastiaan van Stijn
662759718c
Merge pull request #226 from thaJeztah/bump_go_1.18.5
...
update to go 1.18.5
2022-08-20 20:59:20 +02:00
Sebastiaan van Stijn
fd0197473f
update to go 1.18.5
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-08-20 20:49:39 +02:00
Sebastiaan van Stijn
ab7fd12c67
Merge pull request #224 from crazy-max/ci-test
...
Test stage and ci jobs
2022-08-20 20:49:28 +02:00
CrazyMax
6f1a1a10c1
update README with new build instructions and badges
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-20 20:44:51 +02:00
CrazyMax
667e4702b8
ci: add test jobs
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-20 20:44:50 +02:00
Sebastiaan van Stijn
8fee1128b6
Merge pull request #225 from thaJeztah/drop_go1.8
...
registryurl: remove fallback code for go < 1.8
2022-08-20 20:35:09 +02:00
Sebastiaan van Stijn
70f476531f
registryurl: deprecate GetHostname(), GetPort()
...
These were just wrappers for url.Hostname() and url.Port()
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-08-20 20:25:03 +02:00
Sebastiaan van Stijn
ebbaee6ed4
registryurl: remove fallback code for go < 1.8
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-08-20 20:18:03 +02:00
CrazyMax
e7e9118856
Dockerfile: add test stage
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-20 18:55:43 +02:00
Sebastiaan van Stijn
0e5dbc62ad
Merge pull request #219 from crazy-max/dockerfile
...
Dockerfile for cross compilation
2022-08-20 17:38:04 +02:00
CrazyMax
a251a3e4c5
Remove unused Jenkinsfile
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-20 17:32:01 +02:00
CrazyMax
4f1c080d3b
Basic GHA workflow for cross compilation
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-20 17:32:01 +02:00
CrazyMax
17020d97fe
Dockerfile for cross compilation
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-20 17:32:00 +02:00
Sebastiaan van Stijn
e595cd6946
Merge pull request #208 from crazy-max/wincred
...
Bump github.com/danieljoos/wincred to v1.1.2
2021-09-14 16:41:53 +02:00
Mathieu Champlon
a4e88fa4cf
Merge pull request #211 from alakesh/master
...
Fix return values in List() in secretservice_linux.go
2021-09-08 06:52:50 +02:00
Alakesh Haloi
48bfed47cc
Fix return values in List() in secretservice_linux.go
...
In case of error, return nil for expected map along with error
Signed-off-by: Alakesh Haloi <alakeshh@amazon.com >
2021-09-07 17:14:20 -07:00
Emmanuel Briney
6e2a858a7a
Merge pull request #191 from QiWang19/list-error
...
List wraps the error from secretservice_linux.c.
2021-08-31 11:53:41 +02:00
Qi Wang
8086f00d7d
List wraps the error from secretservice_linux.c.
...
List wraps the error from secretservice_linux.c so the List can give the caller more useful error message for diagnosing.
Signed-off-by: Qi Wang <qiwan@redhat.com >
2021-08-28 20:44:52 -04:00
CrazyMax
16c3805fc7
Bump github.com/danieljoos/wincred to v1.1.2
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-08-20 13:07:42 +02:00
David Scott
fc9290adbc
Merge pull request #203 from ebriney/bump_to_v0.6.4
...
Bump to 0.6.4
v0.6.4
2021-06-02 11:34:05 +01:00
Emmanuel Briney
8369960895
Merge pull request #205 from thaJeztah/fix_ci2
...
travis: temporarily disabling ppc64le, and fix some linting issues
2021-06-01 12:36:26 +02:00
Sebastiaan van Stijn
e4a625d24b
travis: temporarily disable ppc
...
The ppc machines use systemd, so starting xvfb doesnt work
+sh -e /etc/init.d/xvfb start
sh: 0: Can't open /etc/init.d/xvfb
Temporarily disabling it for now
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-06-01 10:36:09 +02:00
Sebastiaan van Stijn
f552261f32
travis: fix selection of ppc64le
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-06-01 10:22:13 +02:00
Sebastiaan van Stijn
7a2694fc98
fix some linting issues
...
/go/src/github.com/docker/docker-credential-helper/pass/pass.go:1:1: package comment should be of the form "Package pass ..."
/go/src/github.com/docker/docker-credential-helper/pass/pass.go:22:7: don't use ALL_CAPS in Go names; use CamelCase
/go/src/github.com/docker/docker-credential-helper/pass/pass.go:22:7: exported const PASS_FOLDER should have comment or be unexported
/go/src/github.com/docker/docker-credential-helper/pass/pass.go:82:1: receiver name h should be consistent with previous receiver name p for Pass
/go/src/github.com/docker/docker-credential-helper/pass/pass.go:94:1: receiver name h should be consistent with previous receiver name p for Pass
/go/src/github.com/docker/docker-credential-helper/pass/pass.go:131:1: receiver name h should be consistent with previous receiver name p for Pass
/go/src/github.com/docker/docker-credential-helper/pass/pass.go:161:1: receiver name h should be consistent with previous receiver name p for Pass
/go/src/github.com/docker/docker-credential-helper/registryurl/url_go18.go:9:1: exported function GetHostname should have comment or be unexported
/go/src/github.com/docker/docker-credential-helper/registryurl/url_go18.go:13:1: exported function GetPort should have comment or be unexported
/go/src/github.com/docker/docker-credential-helper/secretservice/secretservice_linux_test.go:22:2: don't use underscores in Go names; var old_auths should be oldAuths
/go/src/github.com/docker/docker-credential-helper/secretservice/secretservice_linux_test.go:64:2: don't use underscores in Go names; var new_auths should be newAuths
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-06-01 10:22:11 +02:00
Emmanuel Briney
4b9fe97b79
Merge pull request #187 from espindola/openbsd
...
Enable pass on non-linux systems
2021-05-31 14:23:42 +02:00
ebriney
0232333efa
Bump to 0.6.4
...
Signed-off-by: ebriney <emmanuel.briney@docker.com >
2021-05-27 17:11:30 +02:00
Tibor Vass
38bea2ce27
Merge pull request #195 from tiborvass/execabs
...
Use golang.org/x/sys/execabs
2021-01-25 09:24:08 -08:00
Tibor Vass
c9a35c136e
Merge pull request #168 from thaJeztah/go_mod
...
Add go.mod, and vendor wincred v1.1.0
2021-01-25 09:18:51 -08:00