Recent activity

Re: Enviroment variables in builds 21 days ago

From Luke Adams to ~sircmpwn/sr.ht-discuss

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

Enviroment variables in builds 21 days ago

From Luke Adams to ~sircmpwn/sr.ht-discuss

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'