Code Monkey home page Code Monkey logo

build-infra's Introduction

YugabyteDB build infrastructure

Docker

This repository contains code to build Docker images that can be used to build YugabyteDB. On every commit to this repository we automatically build and push the following Docker images for x86_64.

x86_64 images

The following x86_64 Docker images get built by GitHub Actions automation:

aarch64 images

The following aarch64 Docker images get built by CircleCI automation:

Using these images to build yugabyte-db

The GitHub Actions workflow in the yugabyte-db repo ( https://github.com/yugabyte/yugabyte-db/blob/master/.github/workflows/build.yml ) uses images built using this repository to build YugabyteDB code. A simplified manual version of this workflow could be as follows.

docker run -it --cap-add=SYS_PTRACE yugabyteci/yb_build_infra_almalinux8_x86_64:v2022-10-13T18_10_49`

Note: the particular image used above is just an example. Grab the most recent AlmaLinux 8 x86_64 image from https://hub.docker.com/r/yugabyteci/yb_build_infra_almalinux8_x86_64/tags instead.

Now you can build e.g. the ASAN (AddressSanitizer) build type of YugabyteDB as follows. The --cap-add=SYS_PTRACE capability we have added is necessary for the ASAN build.

[root@9260ed49ae6b /]# sudo su - yugabyteci
[yugabyteci@9260ed49ae6b ~]$ git clone https://github.com/yugabyte/yugabyte-db
Cloning into 'yugabyte-db'...
remote: Enumerating objects: 415986, done.
remote: Counting objects: 100% (1652/1652), done.
remote: Compressing objects: 100% (888/888), done.
remote: Total 415986 (delta 949), reused 1200 (delta 717), pack-reused 414334
Receiving objects: 100% (415986/415986), 489.97 MiB | 31.08 MiB/s, done.
Resolving deltas: 100% (303630/303630), done.
Updating files: 100% (22067/22067), done.
[yugabyteci@9260ed49ae6b ~]$ cd yugabyte-db
[yugabyteci@9260ed49ae6b yugabyte-db]$ ./yb_build.sh asan

build-infra's People

Contributors

d-uspenskiy avatar es1024 avatar mbautin avatar srivastavaanubhav avatar svarnau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.