Skip to content

feat: make lockfile directory configurable#5

Open
msessa wants to merge 1 commit intoimprobable-eng:mainfrom
sv-oss:feat/configurable_lockdir
Open

feat: make lockfile directory configurable#5
msessa wants to merge 1 commit intoimprobable-eng:mainfrom
sv-oss:feat/configurable_lockdir

Conversation

@msessa
Copy link

@msessa msessa commented Oct 21, 2021

Rationale

The buildkite-agent user on agents provisioned using the standard elastic agent stack doesn't have write permissions to /var/lock

Changes

  • introduced the lockfile-dir parameter which allows to configure where the lock file will be created

Verification

Tested in our environment by setting the lockfile-dir parameter to /tmp

@dhess
Copy link

dhess commented Mar 5, 2022

We'd like to use this plugin, but this is a problem for us, as well. None of our Buildkite agents have /var/lock write privileges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants