Skip to content

Commit

Permalink
Merge pull request #16 from kosma/fix-job-by-ref-issues
Browse files Browse the repository at this point in the history
Fix issues with new job-by-ref behavior
  • Loading branch information
JonathonReinhart authored May 28, 2020
2 parents 8b0edb7 + 8cbd4a2 commit 0b7de50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
build/apidoc/html/: docs/api/
VERSION: docs/VERSION
- project: kosma/foobar-firmware
ref: tags/1.4.0
ref: 1.4.0
job: firmware-8051
install:
build/8051/release/firmware.bin: blobs/firmware-8051.blob
Expand Down
6 changes: 3 additions & 3 deletions art/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def get_ref_last_successful_job(project, ref, job_name):
# Turn ProjectPipelineJob into ProjectJob
return project.jobs.get(job.id, lazy=True)

raise Exception("Could not find latest successful '{}' job for commit {}".format(
job_name, commit))
raise Exception("Could not find latest successful '{}' job for {} ref {}".format(
job_name, project.path_with_namespace, ref))


def zip_name(project, job_id):
Expand Down Expand Up @@ -95,7 +95,7 @@ def configure(**kwargs):

@main.command()
def update():
"""Update latest tag/branch commits."""
"""Update latest tag/branch job IDs."""

gitlab = get_gitlab()
artifacts = _yaml.load(_paths.artifacts_file)
Expand Down

0 comments on commit 0b7de50

Please sign in to comment.