-
Notifications
You must be signed in to change notification settings - Fork 50
Now build core24 #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Now build core24 #90
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,10 +7,10 @@ set -x | |
| . "$TESTSLIB/prepare-utils.sh" | ||
|
|
||
| # install dependencies | ||
| install_core22_deps | ||
| install_base_deps | ||
|
|
||
| # download snaps required for us to build the image | ||
| download_core22_snaps "$SNAP_BRANCH" | ||
| download_core24_snaps "$SNAP_BRANCH" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. download_base_snaps or similar
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, given the implementation is only for core24, I am not sure I want to change that.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, that's fine |
||
|
|
||
| # create test user for spread to use | ||
| groupadd --gid 12345 test | ||
|
|
@@ -115,17 +115,17 @@ rm upstream-snapd.snap | |
| snap pack --filename=upstream-snapd.snap "$snapddir" | ||
| rm -r $snapddir | ||
|
|
||
| # build the core22 snap if it has not been provided to us by CI | ||
| # build the core24 snap if it has not been provided to us by CI | ||
| uc_snap="$(get_core_snap_name)" | ||
| if [ ! -f "$PROJECT_PATH/core${UC_VERSION}.artifact" ]; then | ||
| build_core22_snap "$PROJECT_PATH" | ||
| build_base_snap "$PROJECT_PATH" | ||
| else | ||
| # use provided core22 snap | ||
| # use provided core24 snap | ||
| cp "$PROJECT_PATH/core${UC_VERSION}.artifact" "$uc_snap" | ||
| fi | ||
|
|
||
| # finally build the uc image | ||
| build_core22_image | ||
| build_base_image | ||
|
|
||
| # setup some data we will inject into ubuntu-seed partition of the image above | ||
| # that snapd.spread-tests-run-mode-tweaks.service will ingest | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are not we doing this anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PPA does not exist yet. It would fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, it exists, but maybe is it failing because there is no kinetic package in the PPA? Please add some TODO it that is the case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to open a PR readding this so it's visible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reading?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, re-adding. Well it will be needed once we need to backport some packages. Which is probably not going to happen until we get close to or passed 24.04. It does not need to be re-added if we do not have any package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, excuse my lack of hyphen, that definitely reads wrong. I just wanted to make sure that it's added again if neccessary, but then a TODO is probably good enough,