Commit graph

48 commits

Author SHA1 Message Date
Alex Goodman d5e8a92968
Rework CI validation workflow and makefile (#460)
* rework CI validation workflow and makefile

* enable push

* fix job names

* fix license check

* fix snapshot builds

* fix acceptance tests

* fix linting

* disable pull request event

* rework windows runner caching

* disable release pipeline and add issue templates
2023-07-06 22:01:46 -04:00
Anatoli Babenia dfe9a8c5c9
goreleaser deprecated --rm-dist
https://goreleaser.com/deprecations/#-rm-dist
2023-07-06 08:19:29 +03:00
Anatoli Babenia 7933564b4c
_v1 suffix for mac and windows 2023-07-06 08:03:27 +03:00
Anatoli Babenia cd63ad53fb
Make tabs not spaces
https://stackoverflow.com/questions/2131213/can-you-make-valid-makefiles-without-tab-characters
2023-07-06 07:58:00 +03:00
Anatoli Babenia 02182266ec
goreleaser now adds _v1 suffix to binaries
https://goreleaser.com/customization/builds/#why-is-there-a-_v1-suffix-on-amd64-builds
2023-07-06 07:44:19 +03:00
Anatoli Babenia 3d7eb32d7e
Make goreleaser script executable 2023-07-06 07:18:29 +03:00
Anatoli Babenia ba3c9125e1
golangci-lint got new install URL too
https://goreleaser.com/deprecations/#godownloader
2023-07-06 07:03:13 +03:00
Anatoli Babenia 9fe4975733
Debug GitHub Actions /home/runner/.local/bin
It says this PATH dir does not exist
2023-07-06 06:58:24 +03:00
Anatoli Babenia 6c0552e182
Change PATH to $HOME/.local/bin for GitHub Actions
PATH in GitHub Actions:
/opt/hostedtoolcache/go/1.19.10/x64/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

PATH in CircleCI:
/home/circleci/go/bin:/usr/local/go/bin:/home/circleci/bin:/home/circleci/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-07-06 06:53:07 +03:00
Anatoli Babenia 0c9b09ea77
Add PATH inspection to an earlier command 2023-07-06 06:47:23 +03:00
Anatoli Babenia ac0fa872cd
Test what directories are available on PATH
Actual for CircleCI and GitHub Actions
2023-07-06 06:45:14 +03:00
Anatoli Babenia 741f95aa8a
New goreleaser install method
https://goreleaser.com/deprecations/#godownloader
2023-07-06 06:34:11 +03:00
Anatoli Babenia a19a6f9acc
Catch pipefail errors in Makefile
https://stackoverflow.com/questions/33925523/how-to-set-pipefail-in-a-makefile
2023-07-06 06:26:02 +03:00
Dan Luhring 791d1e0254
Unhide Makefile CI step
Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
2023-07-04 12:40:13 -04:00
Alex Goodman 64880972b0 add ci integration test with kaniko image 2021-03-07 16:40:07 -05:00
cxsu aadcbcb443 Add wrapping tree key 2020-12-27 22:52:20 +09:00
Alex Goodman 4026276660
fix release entrypoint 2020-02-09 15:29:42 -05:00
Alex Goodman 776c1f9436
add tests 2019-11-27 23:07:56 -05:00
Alex Goodman 74be19bf98
move goreleaser to makefile 2019-11-20 14:50:32 -08:00
Alex Goodman ba7b39c52f
add package install tests + basic execution of dive 2019-11-09 15:40:54 -05:00
Alex Goodman 873f5783e7
fix/improve circle tests 2019-11-09 14:49:42 -05:00
Alex Goodman 7a5992fe18
enhance gha pipeline for release 2019-11-09 12:48:47 -05:00
Alex Goodman 3fbc016826
rm libpod & shell out to podman binary 2019-11-08 13:28:04 -05:00
Alex Goodman 2069a3fede
first step at ui obj refactor 2019-10-13 11:42:13 -04:00
Alex Goodman 68d3fe2ed9
fix ci setup 2019-10-08 10:32:33 -04:00
Alex Goodman 41b42cdd68
only podman via docker archive support 2019-10-08 10:08:53 -04:00
Alex Goodman c83bc9e3d0
remove podman from darwin/windows builds 2019-10-08 09:38:41 -04:00
Alex Goodman 0364bf8702
use goreleaser paths for input binary in dockerfiles/makefile 2019-09-22 22:42:12 -04:00
Alex Goodman 576709ad30
rework package structure 2019-09-21 16:28:45 -04:00
Alex Goodman 9236307e29
golang 1.13 support for linting 2019-09-17 21:13:46 -04:00
Alex Goodman f2b2d38622
use alpine based docker image 2019-07-27 12:19:52 -04:00
Alex Goodman 26281d9f96
replace travis with gitlab; linting fixes 2019-07-20 17:57:47 -04:00
Alex Goodman 5ff66f2e26
ensure data capture is disabled in CI 2019-02-23 12:29:45 -05:00
Alex Goodman fc27dcd820
Add CI integration (#143) 2018-12-30 14:07:56 -05:00
Alex Goodman 1c2df2914b
add basic PR pipeline (#120) 2018-11-30 17:17:15 -05:00
Alex Goodman ebdd6fa36b
added large example 2018-11-01 00:08:20 -04:00
Alex Goodman 3ea8c0ab4a
cleaned up example 2018-10-21 12:11:13 -04:00
Alex Goodman d6549ea16d
pull images when not found (closes #25); small fixes 2018-10-20 07:42:01 -04:00
Alex Goodman 9802546b60
adding goreleaser 2018-10-16 22:56:35 -04:00
Alex Goodman dddb2e6b97
with fancy pre-processing 2018-10-16 22:38:41 -04:00
Alex Goodman c599ca5ad2
a few low hanging perf improvements (#16) 2018-10-06 09:45:08 -04:00
Alex Goodman 3a9796619c
renamed to dive; use cobra; rm dep; imagehistory fix 2018-10-01 21:50:05 -04:00
William Murphy 96ba653730 Build the test docker image if necessary (#10) 2018-07-04 11:25:43 -04:00
Alex Goodman e67734d38d
Added debug panel; annotate filetree with changeinfo (#7) 2018-06-07 15:51:10 -04:00
William Murphy acec670354 Use full path on dep test (#6)
Previously, dep was being reinstalled every time because the
check for it wouldn't find it on $PATH.
2018-06-05 18:40:27 -04:00
William Murphy 78f02465e2 Small clean ups (#5)
* Fix two small compiler errors

Apparently, in go, `fmt.Prntln("\n")` is a build error - you can't
have a redundant newline there. Also, we had the wrong format string
somewhere.

* Use $GOPATH to find dep

When I first pulled this branch, all the tests failed because,
although `dep` was being installed to my local machine, it wasn't
being added to $PATH. Rather than mess with $PATH, I decided to
add $GOPATH/bin to the beginning of the invocation.
2018-06-04 22:10:39 -04:00
Alex Goodman d78abce2e6
refactor project structure; use subpackages 2018-06-04 21:30:17 -04:00
Alex Goodman ed62646bac
formatting + makefile 2018-06-03 23:44:58 -04:00