Hello everyone !

I have a quite complicated question/setup. I have my software on a Gitlab repo, and I’m publishing the software on flathub. everytime I do a release on Gitlab, I need to also update the flathub repo with the commit and the release tag, and I’m thinking this could be automated with Gitlab CI/CD.

Exemple repo :

When modifying the Flathub repo, I need to create a PR with my modifications and wait for the build process to complete. Then, I can merge the request.

Do you have any idea how can I automate the flathub part everytime I create a new release on Gitlab ?

My explaination might be a bit blurry, if that’s the case, please feel free to ask for clarification.

Thank you for your time and answers!

You are viewing a single thread.
View all comments
3 points

Why not use a lightweight bash or git image and do your gitops in the job’s script block? If you don’t want to mess with your build job, then a job in the upstream stage of the build would create the PR, the build runs, another job would then merge the PR if the build succeeds.

permalink
report
reply

Programming

!programming@programming.dev

Create post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Community stats

  • 3.2K

    Monthly active users

  • 1.8K

    Posts

  • 30K

    Comments