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 template for gitlab continuous integration #92

Closed
wants to merge 2 commits into from

Conversation

cmarmo
Copy link

@cmarmo cmarmo commented Nov 15, 2024

Dear maintainers,

this pull request adds a template file with a basic gitlab continuous integration configuration.
The generation of the template is submitted to the user answer about which CI service they would like to use.

The release step is not implemented as hosted and on premises gitlab instances may offer different mechanisms for the upload.

Thanks for your attention.

@fcollonval
Copy link
Member

Thanks @cmarmo for the proposal. I am a bit reluctant to approve this PR as the Jupyter Developer team is not well versed in GitLab CI configuration what will make the new file unlikely to be correctly updated when needed. Moreover the current test script does not cover all the tests done in GitHub workflows.

That said, one of the reason to switch to copier is its ability to apply multiple templates to the same project. This is a perfect case for that feature as the gitlab configuration is independent of the other files.

Therefore I would advice you to create a specific template for GitLab (on GitLab?) to combine with this one following copier documentation. Then we could definitely reference that template in this repository for interested users.

@fcollonval fcollonval added the enhancement New feature or request label Nov 21, 2024
@cmarmo
Copy link
Author

cmarmo commented Nov 21, 2024

Thanks @cmarmo for the proposal. I am a bit reluctant to approve this PR as the Jupyter Developer team is not well versed in GitLab CI configuration what will make the new file unlikely to be correctly updated when needed.

Thanks @fcollonval for your answer, I understand your concerns.

That said, one of the reason to switch to copier is its ability to apply multiple templates to the same project. This is a perfect case for that feature as the gitlab configuration is independent of the other files.

Thank you for the reference!

Therefore I would advice you to create a specific template for GitLab (on GitLab?) to combine with this one following copier documentation. Then we could definitely reference that template in this repository for interested users.

I would definitely do that. Thank you for your suggestion.

@cmarmo
Copy link
Author

cmarmo commented Nov 25, 2024

@fcollonval a first usable version of the template is available at
https://gitlab.com/cmarmo/jupyterlab-extension-ci-template

As you said not all the workflows are covered for now ... my time is limited by other engagements.
If you think this will be useful feel free to link the repo wherever you prefer.
I will be happy to receive any kind of contribution.

Also, I'm going to close this pull request.

Thank you again for your suggestions 🙏 .

@cmarmo cmarmo closed this Nov 25, 2024
@fcollonval
Copy link
Member

Thanks a lot @cmarmo for sharing that template.

@cmarmo cmarmo deleted the gitlab-ci branch November 25, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants