Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test(functional): bump GitLab docker image to 15.2.0-ee.0#2194

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nejch merged 3 commits intomainfromjlvillal/update-gitlab
Jul 29, 2022

Conversation

JohnVillalovos
Copy link
Member

Use the GitLab docker image 15.2.0-ee.0 in the functional testing.

Use the GitLab docker image 15.2.0-ee.0 in the functional testing.
@JohnVillalovosJohnVillalovosforce-pushed thejlvillal/update-gitlab branch 3 times, most recently fromf1603e2 to3e07453CompareJuly 28, 2022 23:39
@codecov-commenter
Copy link

Codecov Report

Merging#2194 (3e07453) intomain (194ee01) willdecrease coverage by0.05%.
The diff coverage isn/a.

@@            Coverage Diff             @@##             main    #2194      +/-   ##==========================================- Coverage   95.54%   95.49%   -0.06%==========================================  Files          81       81                Lines        5296     5344      +48     ==========================================+ Hits         5060     5103      +43- Misses        236      241       +5
FlagCoverage Δ
api_func_v481.34% <ø> (-0.14%)⬇️
cli_func_v483.06% <ø> (-0.06%)⬇️
unit87.31% <ø> (+0.02%)⬆️

Flags with carried forward coverage won't be shown.Click here to find out more.

Impacted FilesCoverage Δ
gitlab/v4/objects/topics.py100.00% <ø> (ø)
gitlab/v4/objects/clusters.py82.35% <0.00%> (-11.77%)⬇️
gitlab/utils.py98.59% <0.00%> (-1.41%)⬇️
gitlab/cli.py100.00% <0.00%> (ø)
gitlab/mixins.py92.30% <0.00%> (ø)
gitlab/v4/cli.py90.78% <0.00%> (ø)
gitlab/v4/objects/members.py94.82% <0.00%> (ø)
gitlab/v4/objects/projects.py100.00% <0.00%> (ø)
gitlab/v4/objects/releases.py100.00% <0.00%> (ø)
gitlab/v4/objects/statistics.py100.00% <0.00%> (ø)
... and10 more

In GitLab >= 15.0 `title` is required when creating a topic.
Cluster support was deprecated in GitLab 14.5 [1]. And disabled bydefault in GitLab 15.0 [2]  * Update docs to mark clusters as deprecated  * Remove testing of clusters[1]https://docs.gitlab.com/ee/api/project_clusters.html[2]https://gitlab.com/groups/gitlab-org/configure/-/epics/8
Comment on lines +10 to +18
create_dict = {"name": "my-topic", "description": "My Topic"}
if gitlab_version.major >= 15:
create_dict["title"] = "my topic title"
topic = gl.topics.create(
{"name": "my-topic", "title": "my topic title", "description": "My Topic"}
)
assert topic.name == "my-topic"
if gitlab_version.major >= 15:
assert topic.title == "my topic title"
Copy link
Member

Choose a reason for hiding this comment

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

FWIW I don't think we need to test multiple major versions as tests get complicated quickly, but I agree it'll be helpful having version checks when developing new features.

@nejchnejch merged commit7a53c69 intomainJul 29, 2022
@nejchnejch deleted the jlvillal/update-gitlab branchJuly 29, 2022 08:09
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nejchnejchnejch left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@JohnVillalovos@codecov-commenter@nejch

[8]ページ先頭

©2009-2025 Movatter.jp