Skip to content
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

Is it possible to add support for Gitlab CI? #257

Open
smirnoffmv opened this issue Apr 10, 2024 · 1 comment
Open

Is it possible to add support for Gitlab CI? #257

smirnoffmv opened this issue Apr 10, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@smirnoffmv
Copy link

smirnoffmv commented Apr 10, 2024

I would like to add this application to my project, but I use Gitlab to store the project. I understand it, it is possible to use it only in Github Actions? Or am I wrong?

@benschwarz
Copy link
Member

@smirnoffmv Yes, this is possible, although I'm not a Gitlab user so I am not well positioned to advise on writing a howto guide.

At a high level, you would likely need to:

  • Use image-actions docker image directly
  • Set any required environment variables expected of image actions (e.g.; GITHUB_ prefixed vars)
  • Make use of the compressOnly flag
  • Run the command
  • Capture the markdown report output
  • Post the markdown report on your PR discussion using Gitlab API/CLI/whatever equivalent
  • Commit the file changes to your repository/deploy/etc

If you, or someone else is interested in adding this functionality, I'd happily help to review the necessary changes and help get it merged.

@benschwarz benschwarz added enhancement New feature or request help wanted Extra attention is needed labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Development

No branches or pull requests

2 participants