mirror of
https://github.com/gravitational/teleport
synced 2024-10-19 16:53:57 +00:00
b4c94ebf9b
* Add proof of concept of Connect pipeline The proof of concept includes a lot of copy-pasted lines which will get cleared up in subsequent commits. * Extract copying artifacts into separate functions The tag pipeline no longer needs to worry about Connect artifacts. * Reuse steps to install & cleanup toolchains * Share toolchain configuration commands between pipelines * Share build commands among different pipelines * Download webapps only if a pipeline builds Connect As seen by the changes to .drone.yml, this removes unnecessary webapps clones from these tag pipelines: build-darwin-amd64, build-darwin-amd64-pkg, build-darwin-amd64-pkg-tsh. None of them needs webapps to function anymore and the pkg pipelines never needed webapps in the first place. |
||
---|---|---|
.. | ||
charts | ||
gomod | ||
macos | ||
pam | ||
pkgconfig | ||
rpm | ||
rpm-sign | ||
tooling | ||
webapps | ||
.bashrc | ||
.gitignore | ||
build-common.sh | ||
build-fido2-macos.sh | ||
build-package.sh | ||
build-pkg-tsh.sh | ||
build-test-compat.sh | ||
Dockerfile | ||
Dockerfile-arm | ||
Dockerfile-arm-fips | ||
Dockerfile-centos7 | ||
Dockerfile-centos7-assets | ||
Dockerfile-centos7-fips | ||
Dockerfile-cron | ||
Dockerfile-cron-v8 | ||
Dockerfile-fips | ||
Dockerfile-teleterm | ||
install | ||
locale.gen | ||
Makefile | ||
profile | ||
README.md | ||
teleterm_linux_arm64.toolchain.cmake |
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
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