Skip to content

Commit

Permalink
feat: update 'rockcraft init' base to 24.04
Browse files Browse the repository at this point in the history
Fixes #748
  • Loading branch information
tigarmo committed Nov 29, 2024
1 parent 484099f commit 7b1936d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rockcraft/templates/simple/rockcraft.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: {{name}}
# see {{versioned_url}}/explanation/bases/
# for more information about bases and using 'bare' bases for chiselled rocks
base: ubuntu@22.04 # the base environment for this rock
base: ubuntu@24.04 # the base environment for this rock
version: '0.1' # just for humans. Semantic versioning is recommended
summary: Single-line elevator pitch for your amazing rock # 79 char long summary
description: |
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def test_run_init(mocker):
assert len(rock_project.summary) < 80
assert len(rock_project.description.split()) < 100
assert mock_ended_ok.mock_calls == [call()]
assert rock_project.base == "[email protected]"


@pytest.mark.usefixtures("valid_dir")
Expand Down

0 comments on commit 7b1936d

Please sign in to comment.