-
Notifications
You must be signed in to change notification settings - Fork 19
Enable multi architecture compatibility between Tentacle and Script pods #1141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
octonautcal
merged 17 commits into
main
from
calluy/sc-100205/enable-multi-architecture-compatibility
Mar 16, 2026
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
8460a61
Enable multi architecture compatibility between Tentacle and Script pods
octonautcal 9b102e6
Merge branch 'main' into calluy/sc-100205/enable-multi-architecture-c…
octonautcal f228955
Hard code path
octonautcal 5edfadf
Merge branch 'main' into calluy/sc-100205/enable-multi-architecture-c…
octonautcal 64eac1a
Update the development Dockerfile for testing
octonautcal f38c593
Merge remote-tracking branch 'origin/main' into HEAD
rain-on 9b12325
maybe its ok
rain-on 51eb445
might work?
rain-on 963e490
review comments
octonautcal 17fc462
support a subset of runtimeids for multi-arch containers
rain-on 5c84255
make it an array
rain-on dd107ba
update tested script
octonautcal 519ffb5
cleanup
octonautcal 26745a5
revert
octonautcal 1cc2970
set platform and architecture
octonautcal 78ecdc6
Review comments
octonautcal 19c64b9
Merge branch 'main' into calluy/sc-100205/enable-multi-architecture-c…
octonautcal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
docker/kubernetes-agent-tentacle/bootstrapRunner/execute-bootstrapRunner.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| #!/bin/bash | ||
| set -eu | ||
|
|
||
| # Architecture detection and bootstrap runner selection script | ||
| # This script automatically detects the runtime architecture and selects | ||
| # the appropriate bootstrapRunner binary for execution. | ||
|
|
||
| # Detect the current architecture | ||
| ARCH=$(uname -m) | ||
|
|
||
| # Map architecture names to Go architecture naming | ||
| case "$ARCH" in | ||
| x86_64) | ||
| GO_ARCH="amd64" | ||
| ;; | ||
| aarch64|arm64) | ||
| GO_ARCH="arm64" | ||
| ;; | ||
| i386|i686) | ||
| GO_ARCH="386" | ||
| ;; | ||
| armv7l|armv6l) | ||
| GO_ARCH="arm" | ||
| ;; | ||
| *) | ||
| echo "Error: Unsupported architecture: $ARCH" >&2 | ||
| echo "Supported architectures: x86_64, aarch64, arm64, i386, i686, armv7l, armv6l" >&2 | ||
| exit 1 | ||
| ;; | ||
| esac | ||
|
|
||
| # Construct binary name | ||
| BINARY_NAME="bootstrapRunner-linux-${GO_ARCH}" | ||
|
|
||
| SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | ||
rain-on marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| # Execute the appropriate binary with all arguments passed through | ||
| exec "$SCRIPT_DIR/$BINARY_NAME" "$@" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.