linutil icon indicating copy to clipboard operation
linutil copied to clipboard

ci: Seperate preview from Linutil Release

Open jeevithakannan2 opened this issue 1 year ago • 2 comments

Type of Change

  • [ ] New feature
  • [ ] Bug fix
  • [ ] Documentation update
  • [x] Refactoring
  • [ ] Hotfix
  • [ ] Security patch
  • [ ] UI/UX improvement

Description

  • Separate preview generation from linutil release.

  • This PR depends on https://github.com/ChrisTitusTech/linutil/pull/791

  • Auto runs with Linutil Release workflow.

  • We can trigger the preview generation for any specific release with Linutil Release workflow run id that is created after this PR.

  • Run ID can be obtained from the URL of the workflow run.

  • Preview commit message contains the run id which can be used to browse the files at the specific commit.

  • Doesn't have a x in linutil.yml if the preview generation fails.

Testing

  • Auto run with Linutil Release workflow https://github.com/jeevithakannan2/linutil_ci/actions/runs/11260453100
  • Manual run with Linutil Release run id https://github.com/jeevithakannan2/linutil_ci/actions/runs/11260675235

Checklist

  • [x] My code adheres to the coding and style guidelines of the project.
  • [x] I have performed a self-review of my own code.
  • [x] I have commented my code, particularly in hard-to-understand areas.
  • [ ] I have made corresponding changes to the documentation.
  • [x] My changes generate no errors/warnings/merge conflicts.

jeevithakannan2 avatar Oct 09 '24 18:10 jeevithakannan2

@adamperkowski Did you try with artifact?

jeevithakannan2 avatar Oct 09 '24 19:10 jeevithakannan2

@adamperkowski Did you try with artifact?

I don't really remember. Probably.

adamperkowski avatar Oct 09 '24 19:10 adamperkowski