CrazyMax
|
5df47fe964
|
chore: update dev dependencies
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-26 21:16:09 +02:00 |
|
CrazyMax
|
a7448298e0
|
bake: fix undefined output property
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-26 19:26:59 +02:00 |
|
CrazyMax
|
da9600bbef
|
docker: retries for install integration tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-26 19:03:34 +02:00 |
|
CrazyMax
|
49bde5a54a
|
chore: rename e2e to itg tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-26 19:03:18 +02:00 |
|
CrazyMax
|
314f8f431e
|
bake: support remote definition when parsing
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-25 17:06:09 +01:00 |
|
CrazyMax
|
7fb0476dc8
|
util: isValidRef method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-25 16:01:24 +01:00 |
|
CrazyMax
|
9b9ff70b75
|
util: fix isValidURL
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-25 16:01:10 +01:00 |
|
CrazyMax
|
041d9693ab
|
Merge pull request #71 from crazy-max/bake
bake class to parse definitions and handle exporters type
|
2023-03-13 09:49:01 +00:00 |
|
CrazyMax
|
39158d8047
|
bake class to parse definitions and handle exporters type
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-13 10:44:48 +01:00 |
|
CrazyMax
|
03977693c1
|
buildx: make inputs methods static
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-12 23:40:54 +01:00 |
|
CrazyMax
|
94febd1da7
|
builder: fix regex to parse driver-opts
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-11 16:48:56 +01:00 |
|
CrazyMax
|
32af66cb28
|
builder: exists method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-03 14:49:22 +01:00 |
|
CrazyMax
|
50c11e6dce
|
docker: support latest on install
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-03 14:07:27 +01:00 |
|
CrazyMax
|
dfc72fd31c
|
docker: allow custom context name on install
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-03 10:40:00 +01:00 |
|
CrazyMax
|
fda3be9699
|
Merge pull request #58 from crazy-max/docker-install
docker: install, download and tearDown methods
|
2023-03-02 15:58:16 +01:00 |
|
CrazyMax
|
53ca96fcc4
|
Merge pull request #55 from crazy-max/git-context
git: alternative github context and additional methods
|
2023-03-02 15:50:12 +01:00 |
|
CrazyMax
|
70390c899b
|
docker: tearDown method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-02 15:39:26 +01:00 |
|
CrazyMax
|
3b532d1b91
|
docker: install with custom runDir
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-02 15:39:25 +01:00 |
|
CrazyMax
|
3ec6f00f46
|
docker: custom colima cfg on install
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-02 15:39:24 +01:00 |
|
CrazyMax
|
4d66b2fa08
|
docker: install and download methods for macos and windows
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-02 15:39:24 +01:00 |
|
CrazyMax
|
964381b7e9
|
move docker under dedicated folder
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-03-02 15:39:24 +01:00 |
|
CrazyMax
|
6fe7d54029
|
docker: fix context command
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-25 16:40:35 +01:00 |
|
CrazyMax
|
8a69d6cb01
|
git: alternative github context and additional methods
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-25 12:37:09 +01:00 |
|
CrazyMax
|
1cc5fc87fb
|
Merge pull request #56 from crazy-max/docker-context
docker: context method
|
2023-02-25 12:24:04 +01:00 |
|
CrazyMax
|
97e647fdd0
|
docker: context method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-25 12:20:06 +01:00 |
|
CrazyMax
|
9128f56258
|
builder: fix breaking change on node fields
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-24 19:41:10 +01:00 |
|
CrazyMax
|
99487d6986
|
docker: check command using actions/io module
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-21 08:40:27 +01:00 |
|
CrazyMax
|
1acd6c2fc0
|
buildx: fix docker exporter check
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-20 10:25:50 +01:00 |
|
CrazyMax
|
d153cfaf3c
|
Merge pull request #50 from crazy-max/github-throw-runtime-token
github: throw if runtime token invalid
|
2023-02-20 10:17:13 +01:00 |
|
CrazyMax
|
c3aa7f205d
|
github: throw if runtime token invalid
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-20 10:14:11 +01:00 |
|
CrazyMax
|
a9ce06b57e
|
docker: do not set undefined args for checking availability
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-20 10:13:04 +01:00 |
|
CrazyMax
|
cb6ca3829f
|
buildx: fix version method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-20 09:59:44 +01:00 |
|
CrazyMax
|
35a8193474
|
Exec class
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-20 09:18:53 +01:00 |
|
CrazyMax
|
a0e8f0bf18
|
make Context static
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-20 07:24:32 +01:00 |
|
CrazyMax
|
139fb39ab0
|
buildx: split install from download and build methods
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-19 03:25:07 +01:00 |
|
CrazyMax
|
e9db81b6a1
|
docker: fix printVersion and printInfo
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-19 02:54:06 +01:00 |
|
CrazyMax
|
cd825ae548
|
docker: remove singleton
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-19 02:54:06 +01:00 |
|
CrazyMax
|
ed087e5b0d
|
chore: remove path sep conversion
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-19 00:59:04 +01:00 |
|
CrazyMax
|
252c717cc3
|
fix buildx standalone and check for docker availability
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-18 10:09:41 +01:00 |
|
CrazyMax
|
abe37ab72b
|
Merge pull request #42 from crazy-max/buildkit-fix-version
buildkit: use node info to retrieve version
|
2023-02-18 07:34:55 +01:00 |
|
CrazyMax
|
31e915c017
|
buildkit: use node info to retrieve version
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-18 07:31:21 +01:00 |
|
CrazyMax
|
c80fedbbae
|
docker: fix instance
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-18 07:06:20 +01:00 |
|
CrazyMax
|
f288f4f7ea
|
util: handle quote opt with the same api for input list
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-18 01:53:59 +01:00 |
|
CrazyMax
|
44b1545abd
|
util: opt to escape quotes for input list
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-18 01:02:56 +01:00 |
|
CrazyMax
|
094239d9eb
|
buildx: build buildx as install method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-17 21:56:41 +01:00 |
|
CrazyMax
|
c8a13a2352
|
buildx: remove install method from main module
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-17 21:52:11 +01:00 |
|
CrazyMax
|
12e3bd7469
|
cleanup temp dir after each test when installing buildx
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-17 20:00:56 +01:00 |
|
CrazyMax
|
2abe456e6b
|
buildx: install method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-17 20:00:18 +01:00 |
|
CrazyMax
|
c2dfc9dae8
|
dockerhub: getRepositoryTags
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-14 04:37:39 +01:00 |
|
CrazyMax
|
ec7bb99421
|
buildx: resolveCertsDriverOpts
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-12 18:10:34 +01:00 |
|
CrazyMax
|
b223e0a42b
|
buildx: certsDir
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-10 11:34:58 +01:00 |
|
CrazyMax
|
5e365b5a48
|
buildx: configDir
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-10 11:34:58 +01:00 |
|
CrazyMax
|
96ad2a52f8
|
dockerhub: api client to get repo details and update description
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-04 03:06:55 +01:00 |
|
CrazyMax
|
556fff451f
|
test: rename github repo fixture
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-04 03:03:11 +01:00 |
|
CrazyMax
|
11bdb1082a
|
buildkit(config): rename methods
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-03 14:45:32 +01:00 |
|
CrazyMax
|
7a9a28cd90
|
github: handle malformed runtime token
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-03 13:17:00 +01:00 |
|
CrazyMax
|
3e2548a8ed
|
github: translate access controls permissions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-03 04:11:14 +01:00 |
|
CrazyMax
|
ad59af8cf2
|
github: printActionsRuntimeToken
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-03 03:33:22 +01:00 |
|
CrazyMax
|
40e9a15129
|
buildx(inputs): rename some methods
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-03 03:33:09 +01:00 |
|
CrazyMax
|
87a4161671
|
buildx: use correct url for getRelease
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-02 17:19:28 +01:00 |
|
CrazyMax
|
765b23685c
|
docker: isAvailable use get
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-01 16:49:46 +01:00 |
|
CrazyMax
|
c89aa60986
|
docker: configDir
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-01 16:47:01 +01:00 |
|
CrazyMax
|
b193ec6e9e
|
common base tmpDir for tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-01 15:37:03 +01:00 |
|
CrazyMax
|
257dd09431
|
buildx: install
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-01 14:21:44 +01:00 |
|
CrazyMax
|
fe8b21ecf5
|
github: move types
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-01 13:06:20 +01:00 |
|
CrazyMax
|
dea2294b93
|
buildkit: split module
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-01 12:58:12 +01:00 |
|
CrazyMax
|
cc48ecede1
|
buildx: split module
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-01 12:58:12 +01:00 |
|
CrazyMax
|
c11b80183c
|
fix eslint config and lint issues
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-01 12:51:48 +01:00 |
|
CrazyMax
|
c617b15f70
|
Merge pull request #12 from crazy-max/github-apiurl
github: apiUrl
|
2023-02-01 01:46:12 +01:00 |
|
CrazyMax
|
17f9c80d9c
|
github: apiURL
Also took the opportunity to make some methods static
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-02-01 01:42:10 +01:00 |
|
CrazyMax
|
00f55b8385
|
chore: set license headers
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-31 03:34:59 +01:00 |
|
CrazyMax
|
96c92fc206
|
buildx: getRelease
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-31 00:11:16 +01:00 |
|
CrazyMax
|
32a260e6e5
|
buildx: do not set version in constructor
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-30 20:08:54 +01:00 |
|
CrazyMax
|
039779492c
|
test: githubActionsRuntimeToken
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-30 03:08:12 +01:00 |
|
CrazyMax
|
85ef93202e
|
move GitHub specific to its own class
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-30 02:31:09 +01:00 |
|
CrazyMax
|
bb369fa859
|
buildx: getProvenanceInput, getProvenanceAttrs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-30 00:57:38 +01:00 |
|
CrazyMax
|
0ec088fbda
|
test(buildx): correctly sort tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-30 00:26:20 +01:00 |
|
CrazyMax
|
4259682b27
|
buildx: printInspect
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-30 00:19:03 +01:00 |
|
CrazyMax
|
c857b8425c
|
global enhancements
- create context object and remove github one
- more tests and improve mocks
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-30 00:08:45 +01:00 |
|
CrazyMax
|
b03f6a405c
|
github: add serverURL annd provenanceBuilderID
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-25 03:20:18 +01:00 |
|
CrazyMax
|
380149da27
|
buildx: reduce calls to getVersion
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-25 02:49:21 +01:00 |
|
CrazyMax
|
d27b5d60be
|
buildx: optional version for versionSatisfies
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-24 01:43:01 +01:00 |
|
CrazyMax
|
b6f85576fa
|
noop on cmd call test
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-24 01:21:36 +01:00 |
|
CrazyMax
|
66653922b3
|
test: clear mocks
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-24 00:50:22 +01:00 |
|
CrazyMax
|
fe75972f55
|
buildx: printVersion
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-24 00:13:52 +01:00 |
|
CrazyMax
|
4f2a155c08
|
docker: split version and info
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-24 00:06:31 +01:00 |
|
CrazyMax
|
3c101c4aee
|
buildx: hadDockerExporter
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-23 23:58:13 +01:00 |
|
CrazyMax
|
fdc8b5d37b
|
docker: set default standalone
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-23 14:48:00 +01:00 |
|
CrazyMax
|
fe07aec685
|
test(git): increase timeout
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-23 14:15:39 +01:00 |
|
CrazyMax
|
595e2417e8
|
docker: info method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-23 10:39:14 +01:00 |
|
CrazyMax
|
aae4a2d7bc
|
Some improvements
- Use classes
- Split buildx/builder modules
- Additional tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-23 10:07:14 +01:00 |
|
CrazyMax
|
70326fd842
|
initial implementation
carries most of the logic used across our actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
|
2023-01-17 12:07:05 +01:00 |
|