This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added more assets to the release tarball (#329)
- Loading branch information
Showing
3 changed files
with
90 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ MONITORING_APP_TAG ?= 0.0.1 | |
MONITORING_APP_BRANCH ?= $(MONITORING_APP_TAG) | ||
K8S_APP_TAG ?= 0.0.1 | ||
TILLER_APP_TAG ?= 0.0.1 | ||
GOLFLAGS ?= -w -s | ||
|
||
# Git repositories | ||
TELEPORT_REPO = [email protected]:gravitational/teleport.git | ||
|
@@ -444,13 +445,13 @@ build-tsh-on-host: | |
cd $(BUILDDIR)/src/$(TELEPORT_PKG_PATH) && \ | ||
git fetch --all --tags && \ | ||
git checkout $(TELEPORT_REPOTAG) && \ | ||
GOPATH=$(BUILDDIR) go build -o $(TSH_OUT) ./tool/tsh | ||
GOPATH=$(BUILDDIR) go build -ldflags "$(GOLFLAGS)" -o $(TSH_OUT) ./tool/tsh | ||
@echo "Done --> $(TSH_OUT)" | ||
|
||
.PHONY: build-tsh-inside-container | ||
build-tsh-inside-container: | ||
@echo "\n----> Building Tsh binary inside container...\n" | ||
go build -o $(LOCAL_GRAVITY_BUILDDIR)/tsh $(TELEPORT_PKG_PATH)/tool/tsh | ||
go build -ldflags "$(GOLFLAGS)" -o $(LOCAL_GRAVITY_BUILDDIR)/tsh $(TELEPORT_PKG_PATH)/tool/tsh | ||
@echo "Done --> $(LOCAL_GRAVITY_BUILDDIR)/tsh" | ||
|
||
.PHONY: clone-teleport | ||
|
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 |
---|---|---|
@@ -1,10 +1,81 @@ | ||
### Build Assets | ||
Gravity | ||
======= | ||
Gravity is a Kubernetes packaging solution that takes the drama out of | ||
on-premises deployments. | ||
|
||
This directory is used by Jenkinds to build Gravity inside CI/CD pipeline using | ||
Docker container to ensure reproducible builds. | ||
Project Links | ||
============== | ||
|
||
To do it manually simply type: | ||
Gravity Website: https://gravitational.com/gravity/ | ||
Quick Start : https://gravitational.com/gravity/docs/quickstart/ | ||
Blog : https://blog.gravitational.com | ||
Community Forum: https://community.gravitational.com | ||
|
||
|
||
Introduction | ||
============ | ||
Gravity is an open source toolkit for creating "images" of Kubernetes | ||
clusters and the applications running inside the clusters. The resulting | ||
images are called *application bundles* and they are just `.tar` files. | ||
|
||
An application bundle can be used to re-create full replicas of the original | ||
cluster in any environment where compliance and consistency matters, i.e. in | ||
locked-down AWS/GCE/Azure environments or even in air-gapped server rooms. A | ||
bundle can run without human supervision, as a "kubernetes appliance". | ||
|
||
Gravity has been running in production in major financial institutions, | ||
government data centers and enterprises. Gravitational open sourced it in the | ||
fall of 2018. | ||
|
||
Installing | ||
========== | ||
|
||
Execute `./install.sh` script as root. It will copy `tele` and `tsh` binaries | ||
into `/usr/local/bin`. | ||
|
||
What are these binaries? | ||
|
||
* `tele` is a tool to build cluster images. These images will contain | ||
a Kubernetes installer. | ||
* `tsh` is a tool to remotely connect to clusters created from the images. | ||
tsh supports both SSH and Kubernetes API. | ||
|
||
See the quick start to learn how to use these tools: | ||
https://gravitational.com/gravity/docs/quickstart/ | ||
|
||
Building from source | ||
==================== | ||
Gravity is written in Go. There are two ways to build the Gravity tools from | ||
source: by using locally installed build tools or via Docker. In both cases | ||
you will need a Linux machine. | ||
|
||
**Building on MacOS, even with Docker, is possible but not currently supported** | ||
|
||
```bash | ||
$ git clone [email protected]:gravitational/gravity.git | ||
$ cd gravity | ||
|
||
# Running 'make' with the default target uses Docker. | ||
# The output will be stored in build/current/ | ||
$ make | ||
|
||
# If you have Go 1.10+ installed, you can build without Docker which is faster. | ||
# The output will be stored in $GOPATH/bin/ | ||
$ make install | ||
|
||
# To build tsh | ||
$ make build-tsh | ||
|
||
# To remove the build artifacts: | ||
$ make clean | ||
``` | ||
make | ||
``` | ||
|
||
Talk to us | ||
========== | ||
|
||
* Want to join our team to hack on Gravity? https://gravitational.com/careers/systems-engineer/ | ||
* Want to stop managing Kubernetes and have autonomous appliance-like clusters? | ||
* Want to take your complex SaaS application and convert it into a downloadable | ||
appliance so your customers can run it on their own AWS account or in a colo? | ||
|
||
Reach out to [email protected] |
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