Commit Graph

200 Commits

Author SHA1 Message Date
CrazyMax
15788e8b93
buildx(build): resolveCacheToAttrs func
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-06-05 13:59:57 +02:00
CrazyMax
6fb52d2a23
oci: loadArchive to import an index from a tar archive image bundle
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-05-29 11:11:12 +02:00
CrazyMax
760d0c2369
github: set attempts to workflowRunURL
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-05-27 19:57:40 +02:00
CrazyMax
a033bb70cd
move types to the right place
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-05-27 12:06:52 +02:00
CrazyMax
1e903f84b6
github: write build summary
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-05-27 11:41:36 +02:00
CrazyMax
ee84f2ac79
buildx: build history export
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-05-14 13:09:18 +02:00
CrazyMax
4078ffc721
chore: remove unnecessary await
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-05-03 10:20:42 +02:00
CrazyMax
5820a0ba86
buildx: generate random metadata filename
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-26 13:55:59 +02:00
CrazyMax
62e3923775
util: generateRandomString func
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-26 13:54:52 +02:00
CrazyMax
e41efdd2aa
buildx: localstate refs
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-25 11:43:00 +02:00
CrazyMax
5bbaf90158
Merge pull request #308 from crazy-max/github-upload-artifact
github: upload artifact
2024-04-25 10:30:52 +02:00
CrazyMax
00abdc0e59
Merge pull request #313 from crazy-max/util-format-size
util: formatFileSize
2024-04-25 10:27:38 +02:00
CrazyMax
97b80719d2
buildx: metadata and refs resolution for build and bake
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-25 10:21:16 +02:00
CrazyMax
e03b1899b0
buildx: rename inputs class to build
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-25 10:21:15 +02:00
CrazyMax
7621606be3
util: formatFileSize
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-23 15:33:51 +02:00
CrazyMax
db0a36131e
github: upload artifact
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-22 15:10:35 +02:00
CrazyMax
3c3a909fe3
buildx: remove unused printInspect method
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-18 13:18:05 +02:00
CrazyMax
fc4dae47b6
docker: return actual error message when pull fails
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-12 11:48:05 +02:00
CrazyMax
aa0228d826
docker: parseRepoTag and pull methods
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-12 10:58:52 +02:00
CrazyMax
329c1c75cf
bake: handle git auth token when parsing remote definition
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-12 10:47:25 +02:00
CrazyMax
341bae465f
bake: additional opts when parsing definition
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-04-02 09:45:56 +02:00
CrazyMax
545f7cd6ea
buildx: hasAttestationType and resolveAttestationAttrs funcs
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-03-26 16:23:12 +01:00
CrazyMax
9b446bf084
cache: move gha cache save to post state
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-03-15 10:12:08 +01:00
CrazyMax
9436c6ca61
builder: support features in inspect command
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-03-12 13:35:08 +01:00
CrazyMax
225d61b701
builder: update inspect command parsing
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-03-12 13:35:08 +01:00
CrazyMax
63adf44466
test: keep quotes around fields
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-03-06 15:00:15 +01:00
CrazyMax
cbc244c2f4
buildx: ghaNoCache opt for download/build to disable binary cache
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-23 10:11:20 +01:00
CrazyMax
a5975adf41
test: use testResultsProcessor to check if all tests are skipped
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-05 10:20:52 +01:00
CrazyMax
299d4131fa
test: fix typo on itg run condition
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-05 09:34:49 +01:00
CrazyMax
bf4bc3c036
test: move itg exclusions to jest
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-05 09:26:59 +01:00
CrazyMax
49a22f7a3e
buildx: test install
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-05 09:06:27 +01:00
CrazyMax
03b8464ee3
Merge pull request #246 from crazy-max/cache-class
cache class for tool caching with gha
2024-02-05 08:52:26 +01:00
CrazyMax
0a1d2c2307
cache class for tool caching with gha
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-04 18:10:00 +01:00
CrazyMax
11cc7c697d
github: workflowRunURL
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-04 11:08:41 +01:00
Emilien Escalle
e3bdf20325 fix(git): supports grafted pull refs
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
2023-12-15 16:37:02 +01:00
CrazyMax
4995997eed
docker(install): allow specifying custom lima images
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2023-12-10 19:23:48 +01:00
Emilien Escalle
7d829c430b fix(git): handle detached ref in shallow clone context
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
2023-12-03 21:15:38 +01:00
CrazyMax
0a04d5661f
docker(install): switch to lima
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2023-11-27 01:58:23 +01:00
CrazyMax
cef4c16170
ci(test): add macos-13 to the matrix
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2023-11-16 12:28:24 +01:00
CrazyMax
0e5f8a766a
github: fix jwt-decode import and test
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-10-28 04:37:59 +02:00
Elias Lundgren
d3d7271f87 fix: remove quotes around env variable name 2023-09-26 17:36:45 +02:00
Emilien Escalle
bd5e1d1bab fix(git): handle properly detached HEAD ref 2023-09-19 18:35:04 +02:00
CrazyMax
7b63a1220d
chore: update dev dependencies
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-09-07 10:05:35 +02:00
CrazyMax
32e2a6bf6f
docker(install): allow passing colima start args
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-08-28 02:45:29 +02:00
CrazyMax
144df6eecc
docker(install): opt to set daemon config
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-08-27 13:30:14 +02:00
CrazyMax
0f8ae202d6
buildx: alternative release repos to download buildx
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-08-26 12:33:51 +02:00
CrazyMax
24a56dbe42
docker(install): SIGN_QEMU_BINARY env as workaround to replace existing signature
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-08-26 11:12:52 +02:00
CrazyMax
4abccc4c6a
test: docker install 24.0.5
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-08-18 11:32:06 +02:00
CrazyMax
70c0e12f74
util: trimPrefix and trimSuffix methods
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-07-06 16:15:15 +02:00
CrazyMax
ddcd63c92a
buildx: cache binary to hosted tool cache and GHA cache backend
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-07-06 16:15:15 +02:00
CrazyMax
ab02f62089
buildx: handle new fields for inspect output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-16 22:28:21 +02:00
CrazyMax
495c96b050
Merge pull request #115 from crazy-max/input-comment-opt
util: comment opt for getInputList
2023-06-13 10:31:11 +02:00
CrazyMax
b1e0aeed50
Merge pull request #114 from crazy-max/docker-config
docker: configFile method
2023-06-12 19:32:33 +02:00
CrazyMax
b2a51dd6b4
git: use GitHub API for remoteSha if token provided
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-12 19:20:42 +02:00
CrazyMax
9450a454a7
util: comment opt for getInputList
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-09 14:11:57 +02:00
CrazyMax
a7221012c8
docker: configFile method
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-09 00:02:06 +02:00
Vinicius Reis
a1ffbe9606
Add support to secret env 2023-06-01 10:19:50 -03:00
CrazyMax
dba2a69f61
bake: missing overrides when parsing definition
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-04-18 14:16:46 +02:00
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