Skip to content

Commit

Permalink
0.1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
matllubos committed Jun 24, 2024
1 parent 0975210 commit 5a8bbdb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions developers_chamber/gitlab_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ def run_job(
)
if response.status_code != 201:
raise UsageError(f'GitLab error: {response.content.decode("utf-8")}')
else:
return response.json()["web_url"]
3 changes: 2 additions & 1 deletion developers_chamber/scripts/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,5 +176,6 @@ def run_job(api_url, token, project, branch, variables):
Run a job in a GitLab project.
"""
variables = dict([var.split('=') for var in variables.split(',')]) if variables else []
run_job_func(api_url, token, project, f'refs/heads/{branch}', variables)
ci_job_url = run_job_func(api_url, token, project, f'refs/heads/{branch}', variables)

click.echo(f"CI job was started: {ci_job_url}")
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="developers-chamber",
version="0.1.14",
version="0.1.15",
description="A small plugin which help with development, deployment, git",
keywords="django, skripts, easy live, git, bitbucket, Jira",
author="Druids team",
Expand Down

0 comments on commit 5a8bbdb

Please sign in to comment.