-
Notifications
You must be signed in to change notification settings - Fork 88
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
You can't enable builds for private projects #2
Comments
with possibility to skip configuration sections per project (a workaround for #2) and unified skipping using "skip" keyword (changed from "ignore" used up to this point for single files)
So as a workaround for this you should skip project_settings for single projects within a group which have this problem, like this: my_group/my_project:
project_settings:
skip: true |
|
This issue is not valid anymore. Note that the syntax of the config has changedin the mean time. Please see an example how you should enable builds for a private project here: https://github.com/egnyte/gitlabform/blob/master/gitlabform/gitlabform/test/test_project_settings.py#L24 |
Because of GitLab bug https://gitlab.com/gitlab-org/gitlab-ce/issues/27298 you can't use the following config:
because it results in HTTP 400 response from GitLab API:
This is of the long standing bugs that was one of the reasons we implemented project skipping: https://github.com/egnyte/gitlabform/blob/master/config.yml#L119
But we can no longer skip such projects so I plan to implement a better workaround that will allow skipping only a part of project config (such as
project_settings
,deploy_keys
etc.), even if it is configured on a group level (like we do for files: https://github.com/egnyte/gitlabform/blob/master/config.yml#L117 ).The text was updated successfully, but these errors were encountered: