Commit Graph

8 Commits

Author SHA1 Message Date
Wenxin Du
a539c71ffe ci: Add CGO cross compilation support to release pipeline (#1903)
- Support CGO cross compilation for multiple architectures using Zig.
- Download and link MacOSX SDK as needed by the MacOSX cross
compilation. There is no official release for MacOSC SDK so I had to
download from a third party repo.
- Update dockerfile from using `gcr.io/distroless/static:nonroot` to
`gcr.io/distroless/cc-debian12:nonroot` for C libraries that is needed
for dynamic linking.
2025-11-23 23:34:23 -05:00
Yuan Teoh
02a11af350 chore: update server.json path (#1985)
In this PR, the following was updated: 
* Updated the server.json file
* Added the requirement to add an annotation to the Docker image
([here](https://github.com/modelcontextprotocol/registry/blob/9ce229d3/docs/guides/publishing/publish-server.md#requirements-3)).

```
curl --request GET \
  --url 'https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.googleapis%2Fgenai-toolbox' \
  --header 'Accept: application/json, application/problem+json'
 ```
2025-11-19 13:19:47 -08:00
Yuan Teoh
b43c94575d fix: remove duplicated build type in Dockerfile (#1598)
## Description

---
Removing duplication of `container.`.

## PR Checklist

---
> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [x] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [x] Make sure to add `!` if this involve a breaking change

🛠️ Fixes #1550
2025-09-29 15:34:30 -07:00
Yuan
ef6e3f1c32 chore: support linux/arm64 platform for Docker (#724)
Built Toolbox as a multi-platform container.

Fix #686
2025-06-18 18:49:00 +00:00
Kurtis Van Gent
cf96f4c249 fix: improve versionString (#658)
Reduces complexity of the version string calculation and fixes the ci/cd
pipeline to pass the correct parameters.

---------

Co-authored-by: Averi Kitsch <akitsch@google.com>
Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com>
2025-06-09 15:31:42 -07:00
Kurtis Van Gent
7650a0b6d6 ci: improve releasing (#66)
Does a few things to improve releasing process:
- Moves file to .ci folder
- Updates release script to check for version
- Uses printf instead of "echo" to work better between linux/mac
- removes comments about non-mac (worked on linux for me)

I've also updated the tigger to run on new tags.

---------

Co-authored-by: Yuan Teoh <yuanteoh@google.com>
2024-11-26 15:48:58 -07:00
Yuan
b08072a800 feat(container): add entrypoint in Dockerfile (#38)
Update binary file name within Dockerfile.
Add /app directory to mount volumes.
2024-10-31 13:33:51 -07:00
Yuan
26ed13561a ci: Add Dockerfile for container images (#17)
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
2024-10-17 13:24:21 -07:00