Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Commit

Permalink
shipit_code_coverage: Make hook scope depend on the branch (staging o…
Browse files Browse the repository at this point in the history
…r production) (#1125)
  • Loading branch information
marco-c authored and Bastien Abadie committed May 3, 2018
1 parent 09daf26 commit 2c9ef71
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/shipit_code_coverage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ let
# Used by cache
("docker-worker:cache:" + cacheKey)

# Needed to post build status to GitHub
("github:create-status:marco-c/gecko-dev")

# Needed to index the task in the TaskCluster index
("index:insert-task:project.releng.services.project.staging.shipit_code_coverage.*")
];
("index:insert-task:project.releng.services.project." + branch + ".shipit_code_coverage.*")
] ++ (
# Needed to post build status to GitHub
if (branch == "staging") then ["github:create-status:marco-c/gecko-dev"] else []
);
cache = {
"${cacheKey}" = "/cache";
};
Expand Down

0 comments on commit 2c9ef71

Please sign in to comment.