Commit Graph

68 Commits

Author SHA1 Message Date
Carl Tashian
2b76d11631
Clean up Makefile and fix goreleaser deprecation 2023-03-20 21:03:37 -07:00
Mariano Cano
39f46d31b9
Remove deprecated binaries
This commit removes the following deprecated binaries:

 - step-awskms-init
 - step-cloudkms-init
 - step-pkcs11-init
 - step-yubikey-init

From now on step and step-kms-plugin should be used to initialize the
PKI in AWS KMS, GCP KMS, PKCS#11 modules or YubiKeys.

A future commit will add step-kms-plugin to the docker images of
step-ca.

Fixes #1046
2023-01-23 16:30:55 -08:00
max furman
c36b36f070
[action] cosign over docker image digest 2022-10-27 22:50:04 -07:00
max furman
7c5e5b2b87
Even more linter fixes 2022-09-20 21:48:04 -07:00
max furman
1e0ea6f958
more linting fixes 2022-09-20 19:05:12 -07:00
max furman
ab0d2503ae
Standardize linting file and fix or ignore lots of linting errors 2022-09-20 16:35:41 -07:00
max furman
8ca9442fe9 Add -s to make fmt and bump golangci-lint to 1.45.2 2022-05-19 22:40:47 -07:00
max furman
5fc24c697c Fix a few more linter warnings and remove GOFLAGS from make lint 2021-10-08 15:26:01 -04:00
max furman
494da3d668 [action] goreleaser header packages 2021-09-11 13:05:17 -07:00
max furman
6ec8a1f114 Bump golangci-lint to latest 2021-08-30 12:57:39 -07:00
Mariano Cano
bc14341387 Fix bootstrap command. 2021-07-06 16:35:00 +02:00
max furman
6476eb45a7 Need RELEASE variable defined in make debian 2021-06-23 13:30:30 -07:00
Carl Tashian
07cf037d6e Remove binary-* recipes from Makefile 2021-05-11 07:54:36 -07:00
max furman
78c15805f4 VERSION from ENV should always take precedence over CI tags 2021-04-15 15:16:32 -07:00
max furman
42a470d803 Move golangci-lint to github action | update bootstrap
- Update bootstrap to use official golangci-lint install
2021-04-13 15:32:46 -07:00
max furman
72217c972d GO111MODULE should not be necessary in bootstrap 2021-04-13 15:21:45 -07:00
max furman
79eb822326 Change go get to go install in bootstrap ...
- avoid the `-dev` tag
2021-04-13 15:13:44 -07:00
max furman
aef1e8ca7b [action] build artifacts in .releases dir to match actions 2021-03-02 14:02:08 -08:00
max furman
9cfdd2f3df [action] change step-certificates to step-ca where possible 2021-03-02 11:58:42 -08:00
max furman
43b4e5b4f8 [action] rename debian 2021-03-02 10:57:17 -08:00
max furman
1748b2b6c6 [action] Rename some steps and fix version calculation for actions 2021-02-22 21:25:40 -08:00
max furman
836f68979c [actions] always build/test with go1.16 + rename travis target 2021-02-18 19:13:09 -08:00
max furman
2c495a347f [actions] renaming jobs and setting up docker job 2021-02-18 14:28:17 -08:00
Mariano Cano
57075d9518 Phony travis. 2021-02-12 15:26:04 -08:00
Mariano Cano
1ddddb6bc7 Permit linting and testing without CGO support.
Use CGO for testing and building in travis.
Fixes #471
2021-02-12 13:18:30 -08:00
Mariano Cano
97c8cd10cd Test with CGO enabled 2021-02-01 17:04:07 -08:00
Mariano Cano
8dca652bc7 Add support for PKCS #11 KMS.
The implementation works with YubiHSM2. Unit tests are still pending.

Fixes #301
2021-01-26 20:03:53 -08:00
Mariano Cano
ffedccf439 Add step-awskms-init into the builds. 2020-08-19 13:21:14 -07:00
Mariano Cano
aaaa7e9b4e Merge branch 'master' into cert-templates 2020-08-14 10:45:41 -07:00
Max
0eab3727bf
Merge pull request #336 from smallstep/max/docker
introduce docker-buildx
2020-08-04 11:21:53 -07:00
max furman
652377dbf6 Convert '-' to '~' in deb package name 2020-08-03 09:23:29 -07:00
max furman
9e9808fe3d introduce docker-buildx 2020-08-02 13:40:49 -07:00
max furman
3f844c5e23 Update the way SubjectKeyId is calculated, and more ...
- swith lint to first in line for `make all`
- update tests to conform with new subjectkeyid
2020-07-28 12:00:07 -07:00
Mariano Cano
497158d0f6 Fail early on builds. 2020-07-21 14:21:54 -07:00
Mariano Cano
5b680b2349 Add initialization script for an AWS KMS. 2020-05-19 17:35:58 -07:00
Mariano Cano
ef2b13b163 Add step-yubikey-init as a target. 2020-05-07 18:40:36 -07:00
max furman
95b931bb52 Increase linter timeout limit ...
* Breaking in Travis
2020-04-21 10:10:33 -07:00
max furman
1a34e64c65 Try old method of installing golang linter ...
* Method from docs is broken in travis.
2020-04-21 09:59:54 -07:00
max furman
a179a72342 Update installer location of golangci-lint. 2020-04-21 09:39:48 -07:00
max furman
3c0970c28a Bump golangci-lint to v1.24.0 2020-04-21 09:35:57 -07:00
max furman
9679299a89 Fix version and travis_tag vars in build pipeline 2020-04-09 20:46:01 -07:00
max furman
aecddecf22 Simplify make bundling and generate ARM tarballs. 2020-04-08 14:20:58 -07:00
Mariano Cano
041aeb7a90 Add simple rule to run step certificates. 2020-03-25 13:11:03 -07:00
max furman
0d9cd24d78 Slightly decrease version of golanci-lint to match brew. 2020-03-23 12:13:16 -07:00
max furman
fd80da6a8d Bump version of golangci-lint in make bootstrap. 2020-03-23 12:02:43 -07:00
Mariano Cano
1535e95d89 Add tool to initialize pki in cloud kms. 2020-02-18 19:07:12 -08:00
Mariano Cano
74ff0513b8 Use release v1.19.1 of golangci-lint
See https://github.com/golangci/golangci-lint/issues/885
2020-01-28 13:29:39 -08:00
Mariano Cano
9d5b7e65e4 Upgrade golangci-lint to v1.22.2 2020-01-28 13:29:39 -08:00
Mariano Cano
0631872244 Add go mod download. 2019-10-21 18:52:01 -07:00
Mariano Cano
ac536a42cf Use go mod in step certificates. 2019-10-21 18:45:55 -07:00