Skip to content

Commit

Permalink
ci: Adapt to workspace being HOME
Browse files Browse the repository at this point in the history
The CoreOS CI shared lib sets `HOME` to the workspace:

coreos/coreos-ci-lib@a81bfab

and there's no easy way for it to detect when `HOME` is correctly set:

coreos/coreos-ci-lib@8574f04
coreos/coreos-ci-lib@853d5fd

For now, just work around this until we have a cleaner solution. (Though
it makes sense overall to uses `$HOME` anyway instead of hardcoding
`/root`).
  • Loading branch information
jlebon authored and openshift-merge-robot committed Jun 17, 2020
1 parent 83b385b commit 8e63215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cci.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ parallel rpms: {
# restore those through a build opt later on. Being able to stash RPMs directly is
# super nice (and archiving later on will make it easy for anyone to download
# binaries from PRs in the future) and meshes well with the following stages.
export PATH="/root/.cargo/bin:\$PATH"
export PATH="\$HOME/.cargo/bin:\$PATH"
cargo install cbindgen
cbindgen -c rust/cbindgen.toml -o rpmostree-rust.h rust

Expand Down

0 comments on commit 8e63215

Please sign in to comment.