Git Product home page Git Product logo

getenvoy-package's Introduction

getenvoy-package

GetEnvoy is spread across multiple repos. For more details head over to GetEnvoy.io.

This repository contains scripts for building Envoy Proxy for GetEnvoy.

Directory Structure

  • envoy_pkg contains the scripts that packages GetEnvoy with bazel configurations for GetEnvoy. It also include packaging tests and build targets for rpm/deb/tar/docker.
  • common contains the Makefile that pulls upstream build image scripts and some modifications.
  • centos, ubuntu-xenial, alpineand mac contains OS specific scripts.

Build Image

The build image is a docker image contains all toolchains required to build Envoy, with some OS specific configuration and patches. This is based on Envoy's build_container scripts, and it is to provide consistent build result with the combination of build image and upstream commit.

To build the image, run:

$ make

builds docker images for Linux distributions in Linux, and macOS build context in macOS. The docker images will be tagged as gcr.io/getenvoy-package/build-<DISTRIBUTION>:<GIT_SHA>.

CI built images are published to gcr.io/getenvoy-package.

Build GetEnvoy package

To build the GetEnvoy package with the build image, run:

docker run -v ${OUTPUT_DIR}:/tmp/getenvoy-package gcr.io/getenvoy-package/build-<DISTRIBUTION>:<GIT_SHA> ./package_envoy.py --dist <DISTRIBUTION> --artifacts_directory /tmp/getenvoy-package

Then the tar package will be copied to where OUTPUT_DIR points to. The GetEnvoy package is versioned with upstream git SHA and the build repo SHA. i

Debugging package pipeline

To test your local changes to envoy_pkg, run:

$ docker run -v $(pwd):/envoy_pkg -it gcr.io/getenvoy-package/build-<DISTRIBUTION>:<GIT_SHA>

Then inside docker run so the script won't cleanup the build environment.

./package_envoy.py --dist <DISTRIBUTION> --nocleanup

Supported distribution

getenvoy-package's People

Contributors

liamawhite avatar lizan avatar taiki45 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.