Skip to content

Commit

Permalink
Add org parameter to jobs
Browse files Browse the repository at this point in the history
A job should be configured to pass parameters to the commands it
executes, but no job is passing the `org` parameter to a command.

Add `org` parameter to all jobs that execute a command which accepts the
`org` parameter.
  • Loading branch information
keimlink committed Sep 10, 2020
1 parent 220b398 commit 33ab2af
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/jobs/@jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,19 @@ create-release:
type: env_var_name
default: SENTRY_PROJECT
steps:
- create-release
- create-release:
org: << parameters.org >>
finalize-release-set-commits:
description: >
Finalize a Sentry release and set commits. Execute only once per release.
executor: default
parameters:
org: *org-parameter
steps:
- finalize-release
- set-commits
- finalize-release:
org: << parameters.org >>
- set-commits:
org: << parameters.org >>
create-deployment:
description: >
Create a new Sentry release deployment. Execute for each deployment of a release. If the
Expand All @@ -54,3 +57,4 @@ create-deployment:
steps:
- create-deployment:
env: << parameters.env >>
org: << parameters.org >>

0 comments on commit 33ab2af

Please sign in to comment.