-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Improve GitLab support #66
base: main
Are you sure you want to change the base?
Conversation
@erral What's the status of this one? I'd like to include it, but I can't easily test it myself. |
I am polishing the configuration file and doing some more tests.
I want to finish this later this week.
|
@stevepiercy can you review the documentation I added in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some grammar fixes, GitHub Markdown syntax flavoring, and a few questions. Otherwise docs look good.
project/{{ cookiecutter.__folder_name }}/devops/README-GITLAB.md
Outdated
Show resolved
Hide resolved
project/{{ cookiecutter.__folder_name }}/devops/README-GITLAB.md
Outdated
Show resolved
Hide resolved
project/{{ cookiecutter.__folder_name }}/devops/README-GITLAB.md
Outdated
Show resolved
Hide resolved
project/{{ cookiecutter.__folder_name }}/devops/README-GITLAB.md
Outdated
Show resolved
Hide resolved
project/{{ cookiecutter.__folder_name }}/devops/README-GITLAB.md
Outdated
Show resolved
Hide resolved
project/{{ cookiecutter.__folder_name }}/devops/README-GITLAB.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs and comments LGTM. Needs a technical review. Thank you!
@erral Could you sync this with the main branch? |
Co-authored-by: Steve Piercy <[email protected]>
Co-authored-by: Steve Piercy <[email protected]>
Co-authored-by: Steve Piercy <[email protected]>
Co-authored-by: Steve Piercy <[email protected]>
Co-authored-by: Steve Piercy <[email protected]>
Co-authored-by: Steve Piercy <[email protected]>
Co-authored-by: Steve Piercy <[email protected]>
a212489
to
a20657d
Compare
done! |
With this PR I bring back GitLab CI/CD support with the following features:
Add a question whether to use GitLab based deployment. If so, add a
.gitlab-ci.yml
file that will add the required job pipelines which check, test, build, release and deploy the containers.I have slightly changed the generated docker image names only when GitLab deployment is enabled because of GitLab peculiarities: in a single GitLab repo you can save different docker files, but their name must match the structure gitlab_url/gitlab_username/project_slug/docker_image/variant so, instead of having registry.gitlab.com/codesyntax/project-backend we are having registry.gitlab.com/codesyntax/project/backend (- vs. /)
I am open to discuss the release procedure stated in the CI file, which I tried to copy from the GHA procedure. But we can discuss or change it later too.