Skip to content

#1010 get .gitlab-ci.yml template #1026

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

Merged
merged 4 commits into from
Sep 8, 2023
Merged

#1010 get .gitlab-ci.yml template #1026

merged 4 commits into from
Sep 8, 2023

Conversation

DoubleDPro
Copy link
Contributor

Added Gitlab CI YAML templates API

Fixes #1010

Added Gitlab CI YAML templates API
Copy link
Collaborator

@jmini jmini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good to me. Thank you for this contribution.

I will test this manually and merge.

*
* @see <a href="https://https://docs.gitlab.com/ee/api/templates/gitlab_ci_ymls.html">GitLab CI YAML API</a>
*/
public class CiYamlTemplatesApi extends AbstractApi {
Copy link
Collaborator

@jmini jmini Sep 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the class should be named CiYaml or GitLabCiYaml

to match the title of the docs GitLab CI YAML API
https://docs.gitlab.com/ee/api/templates/gitlab_ci_ymls.html

@@ -0,0 +1,49 @@
package org.gitlab4j.api.models;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong package

/**
* This class provides an entry point to all the GitLab CI YAML API calls.
*
* @see <a href="https://https://docs.gitlab.com/ee/api/templates/gitlab_ci_ymls.html">GitLab CI YAML API</a>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

link is wrong

# Conflicts:
#	src/main/java/org/gitlab4j/api/GitLabApi.java
#	src/test/java/org/gitlab4j/api/TestGitLabApiBeans.java
@jmini jmini merged commit 32d00b1 into gitlab4j:main Sep 8, 2023
jmini added a commit to jmini/gitlab-experiments that referenced this pull request Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

get .gitlab-ci.yml template
2 participants