-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: add script for building rocks via lpci #8
Conversation
31895f5
to
04e0f56
Compare
04e0f56
to
35666d7
Compare
1336eb9
to
ea6f8bd
Compare
Add a README with the following steps:
|
Is the |
I am not sure if this is a desired effect, but I'll mentioned it here. |
Y that's the case. I could add an option to "--keep-repo-alive". But since the script downloads the logs, I don't think there's a need for that. |
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.
Looks good to go.
This includes the rockcraft.yaml, plus automations, to build, test and upload a Rockcraft rocks everytime there is a new tag in the upstream repo.
4f0cd16
to
f4b665e
Compare
@linostar this is ready for review. the unit tests are still very minimal, but we might just go ahead with them like this just to get something started for now |
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.
A wholesome effort. Great work.
In this PR there is a new standalone Python script that takes a
rockcraft.yaml
file from the current directory and offloads the corresponding builds to Launchpad, via lpci.How does it work?
.launchpad.yaml
configuration file is created in this temporary git repo. The yaml file is populated according to therockcraft.yaml
'sbuild-base
andplatforms
.launchpad.yaml
file, is pushed to the newly created LP repoTry it
To try it, you can simply