Manuel Alejandro de Brito Fontes
692963d2e9
Update containerd and buildkit go modules ( #19376 )
...
* Update containerd and buildkit go modules
* Fix build
* Fix typecheck errors
---------
Co-authored-by: Thomas Schubart <thomas@gitpod.io>
2024-02-01 20:22:44 +02:00
Pudong
e2b82f69d9
Add private registry support for Dockerfile image build ( #18760 )
...
* 1
* fix
* update buildkitd
2023-09-26 12:55:05 +03:00
Gero Posmyk-Leinemann
938f0ba841
[ws-manager-api] Remove deprecated fields ( #18641 )
2023-09-01 14:38:58 +02:00
Kyle Brennan
e754fc6cd7
[image-builder-mk3] log errors for auth ( #18611 )
...
* [image-builder-mk3] improve error logging for auth
This will help us troubleshoot:
* credential reload via watch
* potential ECR authN issues
* potential additionalAuth issues
* Warn when empty
2023-08-30 14:51:56 +02:00
Christian Weichel
3dc5b4aac1
Add baseref as additional image build auth ( #18510 )
2023-08-14 15:19:40 +02:00
Christian Weichel
59900e8dc2
Add ECR authentication support to image-builder ( #18506 )
...
* Add ECR auth support
* Add EnableAdditionalECRAuth to Gitpod config
* Simplify ECR integration
* Make TrustedValue interface implementable
* Allow ECR registries by default
2023-08-14 10:36:40 +02:00
Anton Kosyakov
f580e6bd00
fix SID-285: hook scrubber as logrus formatter ( #17781 )
2023-06-29 17:16:47 +08:00
Wouter Verlaek
bfa7b301b7
[ws-manager-mk2] Fix headless task failures ( #17429 )
2023-04-28 19:26:36 +08:00
Kyle Brennan
1fdf43a591
[image-builder-mk3] log UserID when build done fails ( #17128 )
2023-04-04 09:00:44 +02:00
Kyle Brennan
d9ea2c8c8f
[image-builder-mk3] log registry not allowed as a warning
...
This happens often, at a high rate, making it harder to find errors.
Ref: https://cloudlogging.app.goo.gl/U6jHijAXqzUbcMes5
2023-02-07 22:32:45 +01:00
Christian Weichel
a3f8d86f3b
[ws-manager-mk2] Fix build after rebase
2023-01-23 14:14:30 +01:00
Anton Kosyakov
ab0f640656
fix #15266 : decouple deployment of supervisor for image builds
2022-12-12 12:28:22 -03:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
JenTing Hsiao
9e8b89e9aa
image-builder-mk3: log JSON as an object instead of a string
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-11-24 10:12:53 -03:00
Christian Weichel
9265c5391a
[image-builder] Dynamically reload registry auth
2022-11-15 01:46:44 +02:00
Andrew Farries
7d37efe756
Increment "builds_done_total" metric
...
Increment the counter when a build completes.
2022-11-09 20:53:39 +02:00
Manuel Alejandro de Brito Fontes
edfd76d70d
Log JSON as strings not an array of bytes
2022-10-26 23:36:41 +02:00
Andrew Farries
abf3844f07
Increment metric on build start
...
This metric was already configured and registered but never used.
2022-10-26 14:25:46 +02:00
Manuel Alejandro de Brito Fontes
0412c5f461
[test] Reduce loop wait time
2022-10-05 05:15:20 +02:00
Cornelius A. Ludmann
1617d3dd1c
[image-builder] Improve 'registry not allowed' log message
...
We stumble upon this problem quite often when in self-hosted setups the registry has not been added to the allowlist. Therefore, a higher log level and a hint to the config would be valuable.
2022-06-22 01:35:30 +05:30
JenTing Hsiao
9631a0b57b
Remove deprecated function
...
The function grpc.WithInsecure() is deprecated, use
grpc.WithTransportCredentials(insecure.NewCredentials()) instead.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-15 13:07:24 +05:30
Pudong
0899f4dc66
Revert "[image-builder-bob] Use separate auth for target and base"
...
This reverts commit 7b27392b861c09f4db730e47167e1d96273a5999.
2022-05-24 22:34:38 +05:30
Prince Rachit Sinha
7b27392b86
[image-builder-bob] Use separate auth for target and base
2022-05-20 10:13:34 +05:30
Prince Rachit Sinha
e54dbfd225
[image-builder] Fix broken credential split
2022-05-18 18:09:32 +05:30
Christian Weichel
747f6a9843
[image-builder] Support pre-caching from authenticated registry
2022-05-05 02:09:20 +05:30
Christian Weichel
0d044bd48c
[image-builder] Improve error handling
2022-05-05 02:09:20 +05:30
Thomas Schubart
c5c2bfea3f
Add real owner to imagebuild metadata
2022-04-29 21:50:15 +05:30
Christian Weichel
0303453c07
Remove checkoutLocation from StartWorkspaceReq
2022-04-08 00:29:21 +05:30
Christian Weichel
42215c9302
Support private registries
2022-03-08 22:49:15 +05:30
Gero Posmyk-Leinemann
ce802b8841
[image-builder, et. al] Return the public workspace URL for all imagebuilds (incl. extra headers to access said URL) and store it in workspace
2022-02-02 17:35:24 +01:00
Pudong Zheng
f31b0080df
[image-builder-mk3] fix image tag and digest conflict
2021-12-18 18:38:42 +01:00
Pudong Zheng
bba56e1ef9
fixes image-builder-mk3 resolve issue
2021-12-08 18:42:33 +01:00
Pudong Zheng
35b026f65a
[image-builder] fix forcing tags
2021-12-07 13:36:32 +01:00
Pudong Zheng
5bd176bfe7
[image-builder] check nil ref
2021-12-06 10:31:31 +01:00
Christian Weichel
5837426c7e
[image-builder] Pull digested base refs correctly
2021-12-03 10:54:28 +01:00
Christian Weichel
d5d1f7fedc
[image-builder] Fix log connection
2021-11-12 10:58:09 +01:00
Christian Weichel
2810f844ab
[image-builder-mk3] Add push ring2 proxy
2021-11-12 10:58:09 +01:00
Cornelius A. Ludmann
e7c93eb382
[ws-manager] Add destkop_ide_image
2021-10-26 15:02:04 +02:00
Manuel Alejandro de Brito Fontes
f930e75c01
[image-builder-bob] Switch to buildctl
2021-10-26 08:16:03 +02:00
Manuel Alejandro de Brito Fontes
fb8117655b
[image-builder-mk3] Fix image build error "did not produce a workspace image"
2021-10-14 00:27:00 -03:00
Manuel Alejandro de Brito Fontes
1eb8f86a7b
Refactor GRPC TLS connection default
2021-10-12 16:09:59 -03:00
Simon Emms
4463a02646
[image-builder-mk3]: expose config
2021-10-04 11:58:51 -03:00
Christian Weichel
f7c3e81985
[image-builder] Check if image was actually built
2021-09-29 06:51:46 -03:00
Christian Weichel
be33f39f7b
[image-builder] Export image config
2021-09-29 06:51:46 -03:00
Christian Weichel
bda4e21593
[image-builder] Add additional metrics
2021-09-17 08:34:42 -03:00
Manuel Alejandro de Brito Fontes
b7a3b87337
Remove duplication of GRPC configuration
2021-09-01 17:44:31 +02:00
Manuel Alejandro de Brito Fontes
347ad95d80
Switch from fmt.Errorf to xerrors.Errorf
2021-08-30 02:47:28 -03:00
Christian Weichel
f1dbc257fc
[image-builder] Remove gitpod layer
...
and just push the image instead
2021-08-04 14:59:04 +02:00
Manuel Alejandro de Brito Fontes
f117096759
Sync import style
2021-08-01 21:13:01 +02:00
Christian Weichel
a68cf50377
[image-builder] Support whitelisted registries in GP layer build
2021-07-29 17:52:33 +02:00