Help talk:Toolforge/Jobs framework/Archives/2024

Rendered with Parsoid
From Wikitech
Latest comment: 2 months ago by Samwilson in topic Paths in job yaml files
Warning! Please do not post any new comments on this page. This is a discussion archive See current discussion or the archives index.

Paths in job yaml files

The docs show an example YAML file with relative paths, e.g. command: ./mycommand.sh --argument1. Where are these paths relative to, the directory of the job.yaml file, or where toolforge-jobs load job.yaml is run? I've been trying to experiment, and my theory is that it doesn't matter where the file is nor where the toolforge-jobs command is run, the paths are always relative to the home directory. Is that right? Sam Wilson 05:26, 23 February 2024 (UTC)Reply

@Samwilson Yes, when using a pre-built image the working directory is always the tool home directory. Taavi (talk!) 07:30, 23 February 2024 (UTC)Reply
@Majavah: Thanks! Sam Wilson 07:37, 23 February 2024 (UTC)Reply