GithubHelp home page GithubHelp logo

ubuntu-image's Introduction

Ubuntu image builder

Build codecov Go Report Card

This tool is used to build Ubuntu images. Currently builds Ubuntu Core snap-based images from model assertions and Ubuntu classic preinstalled images using image definition files, but it will be generalized to build more (eventually all) Ubuntu images.

Requirements

Ubuntu 18.04 (Bionic Beaver) is the minimum platform requirement, but Ubuntu 20.04 (Focal Fossa) or newer is recommended. All required third party packages are available in the Ubuntu archive.

If you want to run the test suite locally, you should install all the build dependencies named in the debian/control file. The easiest way to do that is to run::

$ sudo apt build-dep ./

from the directory containing the debian subdirectory. Alternatively of course, you can just install the packages named in the Build-Depends field.

Project details

The "gadget.yaml" specification has moved to the snapcraft forum

Build Instructions

  • Ensure golang >= 1.21 is installed
  • Clone the git repository using git clone https://github.com/canonical/ubuntu-image.git
  • cd into the newly cloned repository
  • Run go build -o . ./...
  • The newly compiled executable ubuntu-image will be created in the current directory

Release process

ubuntu-image is released as a snap on the snapstore.

When changes are merged in main, a new snap is automatically built and pushed to the latest/edge channel.

When we think we have a "stable enough" version that we don't want to break with future merges in main, we want to promote it to latest/candidate. To do so:

  • create a new branch
  • update the version in snapcraft.yaml, copyrights, changelog, etc.
  • commit, tag X.Y and push
  • merge
  • let it build and appear in latest/edge
  • promote it to latest/candidate

After a couple of weeks, if our "early adopters" are happy and we did not break any build or if we did not spot any major fix to do, promote this version from latest/candidate to latest/stable.

This way, our users can choose between:

  • the latest/edge channel updated as soon as we merge changes.
  • the latest/candidate channel with new features / bug fix but with potentially some newly introduced bug. This channel would be good to let users test requested features.
  • the latest/stable channel that should hopefully contain a rather "bug free" version because it was tested in more various situations.

ubuntu-image's People

Contributors

alfonsosanchezbeato avatar aristochen avatar bboozzoo avatar dilyn-corner avatar gjolly avatar jawn-smith avatar lool avatar meulengracht avatar mjd-x avatar mvo5 avatar mwhudson avatar pedronis avatar sil2100 avatar stolowski avatar toabctl avatar tobhe avatar tsunghanliu avatar upils avatar valentindavid avatar waveform80 avatar zhsj avatar

Stargazers

 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

Watchers

 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.