Commit Graph

24 Commits

Author SHA1 Message Date
Jet Li
c40fb2111d fix: Add --network=host to single-arch Docker builds
Fixes network isolation issue in Docker builds where containers couldn't
reach external networks (PyPI, apt repos, etc).

**Problem:**
- Multi-arch buildx builds use: --driver-opt network=host 
- Single-arch builds were missing: --network=host 
- Result: Docker build containers had [Errno 101] Network unreachable

**Root Cause:**
When docker build runs without --network=host, build containers are
isolated from the host network and can't reach external services.

**Solution:**
Add --network=host flag to single-arch docker build command on line 131.

**Testing:**
This matches the configuration used successfully in multi-arch builds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-18 18:31:31 -07:00
2d6c176950 fix: remove arch tag from image version
- remove arch tag from image version
- use the same version for all architectures
- remove the `-linux-amd64` suffix from the image version
2025-10-09 15:25:31 +08:00
freeleaps-gitops-bot
c3b9243c8e chore: increase builder timeout to 90 minutes and pipeline timeout to 240 minutes 2025-09-25 19:33:22 +08:00
a2c1026103 revert dee1b0691e
revert Increase the timeout time for the Jenkins pipeline
2025-09-24 13:00:14 +00:00
0e54c55a5d revert 8c6c1cf9fa
revert Further increase the timeout period
2025-09-24 12:59:47 +00:00
Nicolas
8c6c1cf9fa Further increase the timeout period 2025-09-23 12:14:18 +08:00
Nicolas
dee1b0691e Increase the timeout time for the Jenkins pipeline 2025-09-23 09:55:01 +08:00
zhenyus
0de22b2623 refactor(ImageBuilder): remove logging of files in artifact directory to streamline output
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 16:40:46 +08:00
zhenyus
aebebec056 fix(image-builder): log files in artifact directory for better visibility during builds
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 16:31:12 +08:00
zhenyus
f55c8f0e89 fix(image-builder): add --no-cache option to docker buildx command for fresh builds
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 16:21:15 +08:00
zhenyus
e37c078a90 fix(image-builder): log files in build context for improved debugging
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 16:12:23 +08:00
zhenyus
2820e6bea7 fix(image-builder): log current working directory and files in the current directory during image build
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 15:42:10 +08:00
zhenyus
377f4cccb0 fix(pipeline): log current working directory during artifact listing
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-14 15:13:55 +08:00
zhenyus
f34f9838a5 chore(git): code staging
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-17 18:14:40 +08:00
孙振宇
5939235d41 fix(pipeline): add network driver option and set build timeout for buildx
Signed-off-by: 孙振宇 <>
2025-02-10 05:04:59 +08:00
孙振宇
ae353ab394 fix(pipeline): set builder log level to plain for improved build output
Signed-off-by: 孙振宇 <>
2025-02-10 04:18:58 +08:00
孙振宇
0ff368f502 fix(pipeline): update buildx create command to specify platforms for multi-arch images
Signed-off-by: 孙振宇 <>
2025-02-10 04:00:49 +08:00
孙振宇
6bf7687dd5 fix(pipeline): refactor cleanup hook for buildx builder in ImageBuilder class
Signed-off-by: 孙振宇 <>
2025-02-10 03:44:16 +08:00
孙振宇
5e78e00d69 fix(pipeline): remove unused buildId parameter from ImageBuilder constructor
Signed-off-by: 孙振宇 <>
2025-02-10 03:03:18 +08:00
孙振宇
7af2883fcc feat(pipeline): enhance ImageBuilder with manifest setting and multi-architecture support
Signed-off-by: 孙振宇 <>
2025-02-10 02:56:27 +08:00
孙振宇
fe846ab937 fix(pipeline): update Docker login commands to use environment variables for credentials
Signed-off-by: 孙振宇 <>
2025-02-10 01:33:26 +08:00
孙振宇
a02715efa7 fix(pipeline): update steps.withCredentials to use steps.usernamePassword for authentication
Signed-off-by: 孙振宇 <>
2025-02-10 01:26:11 +08:00
孙振宇
fbf00a1046 fix(pipeline): add registryCredentialsId parameter to ImageBuilder and update related references
Signed-off-by: 孙振宇 <>
2025-02-08 12:07:41 +08:00
孙振宇
38bfc418c4 feat(pipeline): add Bandit SAST scanner and enhance linting configurations
Signed-off-by: 孙振宇 <>
2025-02-07 15:18:40 +08:00