Skip to content

cjdcordeiro/rockcraft

This branch is 2 commits ahead of, 279 commits behind canonical/rockcraft:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e343671 · Feb 7, 2024
Feb 1, 2024
Jan 17, 2024
Feb 1, 2024
Jan 24, 2024
Dec 15, 2023
Feb 1, 2024
Feb 1, 2024
Oct 14, 2021
Oct 31, 2023
Jun 29, 2023
Nov 9, 2023
Nov 24, 2022
Oct 14, 2021
Oct 26, 2023
Dec 8, 2022
Jan 9, 2024
Jan 30, 2024
Jan 30, 2024
May 18, 2023
Jan 30, 2024
Feb 1, 2024
Dec 7, 2023
Jul 20, 2022
Nov 3, 2023
Oct 6, 2023

Repository files navigation

Rockcraft

Snap Status Documentation Status

Purpose

Tool to create OCI Images using the language from Snapcraft and Charmcraft.

Installing

Install Rockcraft from the Snap Store

Get it from the Snap Store

Documentation

Documentation on the usage of the tool and tutorials can be found on https://canonical-rockcraft.readthedocs-hosted.com/

Testing

In addition to unit tests in tests/unit, which can be run with make test-units, a number of integrated tests in tests/spread can be run with Spread. See the general notes and take note of these rockcraft-specific instructions:

  • Initialize/update git submodules to fetch Spread-related helper scripts:

    $ git submodule init
    $ git submodule update
    
  • Spread needs a rockcraft snap in order to run. Create one with snapcraft via:

    $ snapcraft --use-lxd
    $ cp <generated snap> tests/
    
  • Run Spread:

    $ spread tests/spread
    # Or run a specific test
    $ spread tests/spread/tutorials/basic
    # Use "-v" for verbose, and "-debug" to get a shell if the test fails
    $ spread -v -debug tests/spread/tutorials/basic
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Languages

  • Python 97.3%
  • Makefile 1.4%
  • Shell 1.3%