mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-19 01:58:44 +08:00
Bumps the go group with 5 updates in the /build.assets/tooling directory: | Package | From | To | | --- | --- | --- | | [buf.build/go/bufplugin](https://github.com/bufbuild/bufplugin-go) | `0.9.0` | `0.10.0` | | [github.com/DataDog/datadog-agent/pkg/template](https://github.com/DataDog/datadog-agent) | `0.77.2` | `0.79.2` | | [golang.org/x/mod](https://github.com/golang/mod) | `0.35.0` | `0.36.0` | | [golang.org/x/tools](https://github.com/golang/tools) | `0.44.0` | `0.45.0` | | [helm.sh/helm/v3](https://github.com/helm/helm) | `3.20.2` | `3.21.0` | Updates `buf.build/go/bufplugin` from 0.9.0 to 0.10.0 - [Release notes](https://github.com/bufbuild/bufplugin-go/releases) - [Changelog](https://github.com/bufbuild/bufplugin-go/blob/main/RELEASE.md) - [Commits](https://github.com/bufbuild/bufplugin-go/compare/v0.9.0...v0.10.0) Updates `github.com/DataDog/datadog-agent/pkg/template` from 0.77.2 to 0.79.2 - [Release notes](https://github.com/DataDog/datadog-agent/releases) - [Changelog](https://github.com/DataDog/datadog-agent/blob/main/CHANGELOG.rst) - [Commits](https://github.com/DataDog/datadog-agent/compare/pkg/api/v0.77.2...pkg/api/v0.79.2) Updates `golang.org/x/mod` from 0.35.0 to 0.36.0 - [Commits](https://github.com/golang/mod/compare/v0.35.0...v0.36.0) Updates `golang.org/x/tools` from 0.44.0 to 0.45.0 - [Release notes](https://github.com/golang/tools/releases) - [Commits](https://github.com/golang/tools/compare/v0.44.0...v0.45.0) Updates `helm.sh/helm/v3` from 3.20.2 to 3.21.0 - [Release notes](https://github.com/helm/helm/releases) - [Commits](https://github.com/helm/helm/compare/v3.20.2...v3.21.0) --- updated-dependencies: - dependency-name: buf.build/go/bufplugin dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: github.com/DataDog/datadog-agent/pkg/template dependency-version: 0.79.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: golang.org/x/mod dependency-version: 0.36.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: golang.org/x/tools dependency-version: 0.45.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: helm.sh/helm/v3 dependency-version: 3.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Dockerized Teleport Build
This directory is used to produce a containerized production Teleport build. No need to have Golang. Only Docker is required.
It is a part of Gravitational CI/CD pipeline. To build Teleport type:
make
Safely updating build box Dockerfiles
The build box images are used in GitHub Actions. The resulting image is pushed to ghcr.io. This means that to safely introduce changes to Dockerfiles, those changes should be split into two stages:
- First you open a PR which updates a Dockerfile and get the PR merged.
- Once it's merged, GitHub Actions is going to pick it up, build a new build box image and push it to ghcr.io
- Then you can open another PR which starts using the new build box image.
DynamoDB static binary docker build
The static binary will be built along with all nodejs assets inside the container. From the root directory of the source checkout run:
docker build -f build.assets/Dockerfile.dynamodb -t teleportbuilder .
Then you can upload the result to an S3 bucket for release.
docker run -it -e AWS_ACL=public-read -e S3_BUCKET=my-teleport-releases -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY teleportbuilder
Or simply copy the binary out of the image using a volume (it will be copied to current directory/build/teleport).
docker run -v $(pwd)/build:/builds -it teleportbuilder cp /gopath/src/github.com/gravitational/teleport/teleport.tgz /builds