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

add gitlab ci to the template #264

Closed
1 task done
EverVino opened this issue Apr 12, 2024 · 7 comments
Closed
1 task done

add gitlab ci to the template #264

EverVino opened this issue Apr 12, 2024 · 7 comments

Comments

@EverVino
Copy link

Summary

To let to the user have the option to select gitlab CI instead of the github CI
https://docs.gitlab.com/ee/ci/

Additional Information

Code of Conduct

  • I agree to follow the Code of Conduct
@YurelyCamacho
Copy link
Collaborator

@xmnlab @EverVino Could you give me a guide of the steps to follow. I have been reading the reference left and looking at other Gitlab CI/CD template links. Thanks

@EverVino
Copy link
Author

A first approach could be, create your own remote gitlab repo and check what are the differences.
The main issue is replace github with gitlab (remote repo in git config)
github has in .github/workflows/main.yaml, gitlab should have something similar to that

@xmnlab
Copy link
Member

xmnlab commented Jul 3, 2024

@YurelyCamacho as reference .. you can try to get the output for the github CI from the current template, and ask gpt to convert it to gitlab ci ... then you can try that on gitlab to check if that works fine

@xmnlab
Copy link
Member

xmnlab commented Sep 26, 2024

ref https://github.com/cookiecutter/cookiecutter-django/blob/master/%7B%7Bcookiecutter.project_slug%7D%7D/.gitlab-ci.yml

@xmnlab
Copy link
Member

xmnlab commented Sep 26, 2024

I am not sure how gitlab works .. if we could have multiple workflow files that would be great... otherwise we would need to keep both in the same file ...

@YurelyCamacho
Copy link
Collaborator

I asked the question to an LLM and he tells me that a single .gitlab-ci.yaml file

@xmnlab
Copy link
Member

xmnlab commented Oct 27, 2024

completed, thanks @YurelyCamacho

@xmnlab xmnlab closed this as completed Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants