-
Notifications
You must be signed in to change notification settings - Fork 771
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
flatpak: Add workflow #4151
flatpak: Add workflow #4151
Conversation
Have you thought about using https://github.com/actions/upload-artifact At the end you can also use https://github.com/marketplace/actions/delete-artifact to delete the temporary data. My worry with using a cache is that other jobs might delete data in between the steps due to the 10GB limit. |
Oh, that would be much better! |
What if you .tar the dir manually before uploading the .tar? https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files |
|
x86_64 flatpak-builder.tar was uploaded succesfully, so now I'm waiting for X hours. :) |
It seems alternatively you could also manually delete the socket file: https://github.com/input-output-hk/cardano-node/pull/2012/files |
93e51b4
to
fd80954
Compare
<url type="contribute">https://getmonero.org/get-started/contributing</url> | ||
|
||
<releases> | ||
<release version="0.18.2.2" date="2023-04-10"/> |
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.
Does this have to be changed in advanced? Sometimes we don't know the exact release date.
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.
Does this have to be changed in advanced?
Yes.
Sometimes we don't know the exact release date.
Even, for example, the day before the release or the day? I could create a PR that will be accepted before release, or the problem still is not solved so?
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.
In OBS it's done interesting.
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.
So this can be changed after the release tag is set? Or can it be automatically set by a script before the workflow is running?
I'll think about it more.
Also seems OBS doesn't have any historical releases. Are they necessary?
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.
So this can be changed after the release tag is set? Or can it be automatically set by a script before the workflow is running?
It will be need to add some CMake files, so it won't be need to change the appdata file every release.
Also seems OBS doesn't have any historical releases. Are they necessary?
Desirable, but not required.
For now there are 2 problems: metainfo updating and CI checks before flatpak building (or wait for a new release of flat-manager or make it manually). |
Can you expand on this? I would like to wait with the build process until a new release is set here: https://github.com/monero-project/monero-gui/releases We don't want that every tag gets pushed since sometimes we have tags that are buggy or miss something. |
93f44be
to
7a737fb
Compare
It will push to the beta branch because we should test the beta token. |
7a737fb
to
eaa8620
Compare
eaa8620
to
bf153c5
Compare
I changed the token |
.github/workflows/flatpak.yml
Outdated
|
||
on: | ||
release: | ||
types: push |
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.
Is this documented somewhere? I don't see push
here, but maybe I'm looking at the wrong place or missing something.
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
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, you're right. That's a beta token which pushes to the beta repo. I wanted it to push every commit (temporary).
on:
push
Is it correct?
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.
Now resolved?
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.
Yes, but this will need planning. I don't want to run a multi-hour long CI on each commit after this is merged. So this has to be merged, then one test commit is run and then reverted.
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.
OK, so is it better to push before other prs now or at the final after (to not create a lot of workflows)?
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.
Probably best to merge this last.
|
bf153c5
to
7765b8b
Compare
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.
I think this can be tested now.
A new release will trigger the workflow. It builds the flatpak package in 3 parts (because of slow QEMU), prints hashes and pushes to Flathub via the secret token.