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

ci: use gitlab-runner:v17.7.1 for the CI#3093

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 2 commits intomainfromjlvillal/version_gitlab_runner
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions.renovaterc.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -23,6 +23,17 @@
"depNameTemplate": "gitlab/gitlab-ee",
"datasourceTemplate": "docker",
"versioningTemplate": "loose"
},
{
"fileMatch": [
"(^|/)tests\\/functional\\/fixtures\\/\\.env$"
],
"matchStrings": [
"GITLAB_RUNNER_TAG=(?<currentValue>.*?)\n"
],
"depNameTemplate": "gitlab/gitlab-runner",
"datasourceTemplate": "docker",
"versioningTemplate": "loose"
}
],
"packageRules": [
Expand Down
11 changes: 11 additions & 0 deletionstests/functional/cli/test_cli_artifacts.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
import logging
import subprocess
import textwrap
import time
Expand All@@ -24,12 +25,22 @@

@pytest.fixture(scope="module")
def job_with_artifacts(gitlab_runner, project):
start_time = time.time()

project.files.create(data)

jobs = None
while not jobs:
time.sleep(0.5)
jobs = project.jobs.list(scope="success")
if time.time() - start_time < 60:
continue
logging.error("job never succeeded")
for job in project.jobs.list():
job = project.jobs.get(job.id)
logging.info(f"{job.status} job: {job.pformat()}")
logging.info(f"job log:\n{job.trace()}\n")
pytest.fail("Fixture 'job_with_artifact' failed")

return project.jobs.get(jobs[0].id)

Expand Down
2 changes: 2 additions & 0 deletionstests/functional/fixtures/.env
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
GITLAB_IMAGE=gitlab/gitlab-ee
GITLAB_TAG=17.7.1-ee.0
GITLAB_RUNNER_IMAGE=gitlab/gitlab-runner
GITLAB_RUNNER_TAG=v17.7.1
2 changes: 1 addition & 1 deletiontests/functional/fixtures/docker-compose.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -45,7 +45,7 @@ services:
- gitlab-network

gitlab-runner:
image:gitlab/gitlab-runner:latest
image:'${GITLAB_RUNNER_IMAGE}:${GITLAB_RUNNER_TAG}'
container_name: 'gitlab-runner-test'
depends_on:
- gitlab
Expand Down
2 changes: 2 additions & 0 deletionstox.ini
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,6 +21,8 @@ passenv =
GITHUB_WORKSPACE
GITLAB_IMAGE
GITLAB_TAG
GITLAB_RUNNER_IMAGE
GITLAB_RUNNER_TAG
NO_COLOR
PWD
PY_COLORS
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp