feat: add OpenCode preset support#114
Closed
conscientiousness wants to merge 2 commits intoopenabdev:mainfrom
Closed
feat: add OpenCode preset support#114conscientiousness wants to merge 2 commits intoopenabdev:mainfrom
conscientiousness wants to merge 2 commits intoopenabdev:mainfrom
Conversation
Author
Collaborator
|
Impressive! |
Collaborator
|
depend on #54 |
Contributor
|
thanks @conscientiousness can not wait see this feature support, |
940216f to
4218c38
Compare
Author
|
Rebased onto the latest \main |
4218c38 to
085cbb0
Compare
Collaborator
|
close in favor of #258 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Summary
Dockerfile.opencodeimage that bundlesopenabwith the OpenCode CLIopencodeHelm preset and wire it into the image/command/args helpers and Helm NOTESnode:22-bookworm-slimbase image by using/home/nodeand the existingnodeuserValidation
cargo +1.88.0 testhelm template openab charts/openab --set discord.botToken=dummy --set-string 'discord.allowedChannels[0]=1234567890' --set agent.preset=opencodehelm lint charts/openab --set discord.botToken=dummy --set-string 'discord.allowedChannels[0]=1234567890' --set agent.preset=opencodedocker build -f Dockerfile.opencode -t ghcr.io/openabdev/openab-opencode:test .docker run --rm --entrypoint sh openab-opencode:test -lc 'whoami && echo $HOME && command -v openab && command -v opencode'docker run --rm --entrypoint opencode openab-opencode:test acp --helpkubeadmdeployment withimage.pullPolicy=Neverkubectl exec -it deployment/openab -- opencode auth login/home/node/smoke.txtpersists afterkubectl rollout restart deployment/openab