GithubHelp home page GithubHelp logo

isabella232 / osie-og Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tinkerbell/osie-og

0.0 0.0 0.0 277 KB

An in-memory installation environment for bare metal

Home Page: https://tinkerbell.org

License: Apache License 2.0

Shell 74.87% Python 18.73% Nix 0.29% Makefile 3.01% SaltStack 0.22% Dockerfile 2.88%

osie-og's Introduction

osie

Build Status

Deploying

OSIE is built and uploaded to a self-hosted Minio (S3) instance in the EWR region for the master and tag builds. Production deployments should only be done from tags. Use the git-tag-and-release script found in the eng-tools repo At the end of the upload step, drone will output the command that can be run locally to deploy to some/all of production.

CI / Drone / Testing

Commits to osie will be built and tested by Drone CI Configuration for the build can be found in the root of the repo in .drone.yml

Alpine Kernel Compilation

The alpine kernel/initrd is built using the Dockerfile contained in installer/alpine.

Inside that Dockerfile we build linux-vanilla from the edge aports tree after enabling KEXEC in the config. This build takes a very long time.

Any kernel modules you would like to be included in the resulting modloop need to be listed in build.sh

make V=1 will build the alpine kernel, initrd, and module set with full verbosity enabled. The build artifacts will be placed in a folder named assets-$arch, only x86_64 is currently built.

Assets from assets-x86_64 then need to be uploaded to install.ewr1.packet.net into /srv/www/install/alpine/boot/3.7 Each file's sha512sum needs to then be updated in the main Makefile (in the root of the source repo). During 'make package' these files will be downloaded, merged with some additional content and bundled up into the tarball for distribution to the various facility install servers.

Installing Alpine packages

Alpine packages should be installed in the installer/alpine/Dockerfile like so:

RUN apk add --no-scripts \
 --update \
 --upgrade \
 --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing kexec-tools

Those package names then need to be added to installer/alpine/init-x86_64 in this list:

KOPT_pkgs="curl,docker,jq,mdadm,openssh,kexec-tools"

If you need to install packages from a non-standard alpine repo, the URI will need to be listed in installer/alpine/init-x86_64 like so:

ALPINE_REPO="http://dl-cdn.alpinelinux.org/alpine/v3.7/main,http://dl-cdn.alpinelinux.org/alpine/v3.7/community,http://dl-cdn.alpinelinux.org/alpine/edge/testing"

osie-og's People

Contributors

mmlb avatar gauravgahlot avatar nathangoulding avatar alexellis avatar mikemrm 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.