Consider the following build manifest:
image: archlinux
enviroment:
project: foo.bar
tasks:
- asdf: cat ~/.buildenv
This produces a ~/.buildenv file:
#!/bin/sh
function complete-build() {
exit 255
}
export JOB_ID=389103
export JOB_URL='https://builds.sr.ht/~ladams/job/389103'
export JOB_ID=389103
I was expecting an additional line with
export project='foo.bar'
Am I being stupid here, or something broken?
Luke
On Wed Jan 6, 2021 at 4:32 PM MST, Luke Adams wrote:
> Am I being stupid here, or something broken?
Stupid it is: enviroment vs. environment. Would you accept a patch to
log a warning when an unknown key is encountered?
Luke
On Wed Jan 6, 2021 at 6:40 PM EST, Luke Adams wrote:
> On Wed Jan 6, 2021 at 4:32 PM MST, Luke Adams wrote:> > Am I being stupid here, or something broken?>> Would you accept a patch to log a warning when an unknown key is> encountered?
Probably not - we have some plans to let you use arbitrary keys in some
situations.