Git Product home page Git Product logo

rootfs-images's Introduction

Rootfs images for Base Julia CI

Build (Linux) Build (Windows)

The Base Julia CI setup makes use of rootfs images that contain our build tools. Most images are based on Debian, making use of debootstrap to provide a quick and easy rootfs with packages installed through an initial apt invocation.

This repository contains the scripts to build the rootfs images. The other configuration files for Base Julia CI are located in the .buildkite directory in the Julia repository.

The documentation for the Base Julia CI setup is located in the base-buildkite-docs repository.

Cloning this repository

git clone https://github.com/JuliaCI/rootfs-images.git
cd rootfs-images

Instantiating the environment

julia --project -e 'import Pkg; Pkg.instantiate()'

Testing out a rootfs image

If you want to test a rootfs image locally, you can use the test_rootfs.jl script, passing in the URL of the rootfs you want to test. It will drop you into a shell within the build environment, where you can recreate build failures more reliably.

To see the instructions for running the test_rootfs.jl script, run:

julia --project test_rootfs.jl --help

Example

Suppose that you want to test the rootfs image at https://github.com/JuliaCI/rootfs-images/releases/download/v3.18/package_linux.x86_64.tar.gz. First, run the following command:

julia --project test_rootfs.jl --url https://github.com/JuliaCI/rootfs-images/releases/download/v3.18/package_linux.x86_64.tar.gz

This will print out a message with the tree hash of the rootfs. Now, run the following command:

julia --project test_rootfs.jl --treehash 1234567890000000000000000000000000000000

(Replace 1234567890000000000000000000000000000000 with the tree hash that was printed in the previous step.)

This will drop you into a shell within the build environment.

rootfs-images's People

Contributors

dilumaluthge avatar staticfloat avatar vaibhavdixit02 avatar zsoerenm avatar ven-k avatar anandijain avatar

Watchers

James Cloos 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.