Closed Bug 1590848 Opened 5 years ago Closed 5 years ago

[tc-github] include rootUrl in JSON-e context

Categories

(Taskcluster :: Services, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: SimonSapin)

Details

This will make it possible to have conditionals in a .taskcluster.yml to do different things in different deployments. It will also enable easier URL creation.

This has landed and been deployed, thanks! Verified in https://tools.taskcluster.net/groups/HDauCkJuTcO0ikYYBfz1KQ/tasks/HDauCkJuTcO0ikYYBfz1KQ/details with a TC_ROOT_URL env variable set from .taskcluster.yml.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

Note that all workers set TASKCLUSTER_ROOT_URL within a task anyway, so there's no need to pass it explicitly from .taskcluster.yml. It doesn't hurt, of course!

Good to know! The above was mostly to have evidence of .taskcluster.yml expansion working as expected.

You need to log in before you can comment on or make changes to this bug.