-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat!: Remove SDK installation from our base image (#443)
# The problem We had to regenerate SDK images each release https://zapatacomputing.atlassian.net/browse/ORQSDK-1032 # This PR's solution Remove installation of SDK in our worker base images # Checklist _Check that this PR satisfies the following items:_ - [x] Tests have been added for new features/changed behavior (if no new features have been added, check the box). - [ ] The [changelog file](CHANGELOG.md) has been updated with a user-readable description of the changes (if the change isn't visible to the user in any way, check the box). - [x] The PR's title is prefixed with `<feat/fix/chore/imp[rovement]/int[ernal]/docs>[!]:` - [x] The PR is linked to a JIRA ticket (if there's no suitable ticket, check the box).
- Loading branch information
1 parent
c8929cb
commit 26daea6
Showing
18 changed files
with
192 additions
and
298 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -3,14 +3,6 @@ name: Publish orquestra-sdk-base Docker Image with CUDA support | |
on: | ||
workflow_dispatch: | ||
inputs: | ||
sdk_requirement: | ||
type: string | ||
description: | | ||
Orquestra SDK requirement to build the image with. | ||
Example of using a published version of the SDK: | ||
orquestra-sdk[ray]==0.63.0 | ||
Example of using an unpublished version: | ||
orquestra-sdk[ray] @ git+https://github.com/zapata-engineering/[email protected]#subdirectory=projects/orquestra-sdk | ||
docker_tag: | ||
type: string | ||
description: | | ||
|
@@ -81,6 +73,6 @@ jobs: | |
# as on the command line `--build-arg`, one to a line: | ||
# docker_build_args: BUILD_ARG_ONE=value1\nBUILD_ARG_TWO=value2 | ||
# DUE TO JSON LIMITATIONS, NEWLINES MUST BE EXPLICITLY ADDED AS \n | ||
docker_build_args: SDK_REQUIREMENT=${{ inputs.sdk_requirement }} | ||
docker_build_args: | ||
# leave blank for linux/amd64 (recommended) | ||
target_platforms: '' |
This file contains 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 |
---|---|---|
|
@@ -3,14 +3,6 @@ name: Publish orquestra-sdk-base Docker Image | |
on: | ||
workflow_dispatch: | ||
inputs: | ||
sdk_requirement: | ||
type: string | ||
description: | | ||
Orquestra SDK requirement to build the image with. | ||
Example of using a published version of the SDK: | ||
orquestra-sdk[ray]==0.63.0 | ||
Example of using an unpublished version: | ||
orquestra-sdk[ray] @ git+https://github.com/zapata-engineering/[email protected]#subdirectory=projects/orquestra-sdk | ||
docker_tag: | ||
type: string | ||
description: | | ||
|
@@ -79,6 +71,6 @@ jobs: | |
# as on the command line `--build-arg`, one to a line: | ||
# docker_build_args: BUILD_ARG_ONE=value1\nBUILD_ARG_TWO=value2 | ||
# DUE TO JSON LIMITATIONS, NEWLINES MUST BE EXPLICITLY ADDED AS \n | ||
docker_build_args: SDK_REQUIREMENT=${{ inputs.sdk_requirement }} | ||
docker_build_args: | ||
# leave blank for linux/amd64 (recommended) | ||
target_platforms: 'linux/amd64,linux/arm64' |
This file contains 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 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 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
10 changes: 10 additions & 0 deletions
10
projects/orquestra-sdk/src/orquestra/sdk/_client/_base/_docker_images.py
This file contains 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,10 @@ | ||
################################################################################ | ||
# © Copyright 2024 Zapata Computing Inc. | ||
################################################################################ | ||
|
||
HEAD_NODE_IMAGE = ( | ||
"hub.stage.nexus.orquestra.io/zapatacomputing/workflow-driver-ray:head-node-1.0.0a3" | ||
) | ||
DEFAULT_WORKER_IMAGE = ( | ||
"hub.stage.nexus.orquestra.io/zapatacomputing/orquestra-sdk-base:worker-1.0.0a1" | ||
) |
This file contains 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 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 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
Oops, something went wrong.