-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[examples] enable stacks-django and rust examples to pass #880
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
33755df
to
fad67f5
Compare
6cf163c
to
6e234a1
Compare
fad67f5
to
7ef9aac
Compare
6cba2d1
to
31183e7
Compare
31183e7
to
2847358
Compare
7038c73
to
ad06e55
Compare
@@ -10,14 +10,17 @@ | |||
"mkdir -p $rustupHomeDir", | |||
"export RUSTUP_HOME=$rustupHomeDir", | |||
"export LIBRARY_PATH=$LIBRARY_PATH:\"$projectDir/nix/profile/default/lib\"", | |||
"source conf/set-env.sh", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work? We had to change the mariadb example to use source
in order for the env variables to stick in the shell
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking more closely, I don't understand why we need the lines prior to . conf/set-env.sh
.
With the above lines, the mkdir -p $rustupHomeDir
gives an error when I do devbox run run_test
.
When I try devbox run run_test
without the above lines, everything works as expected. Also, did devbox shell
and echo $RUSTUP_HOME
to confirm it prints the path/to/projectDir/conf
as expected.
I've removed the lines prior to . conf/set-env.sh
ccdce85
to
4005b19
Compare
ad06e55
to
73ba576
Compare
4005b19
to
d926d71
Compare
73ba576
to
327692e
Compare
d926d71
to
b3f465b
Compare
327692e
to
3c1b417
Compare
b3f465b
to
783be5c
Compare
3c1b417
to
069ec79
Compare
…t path is too long" error
…sureVirtenvXYZ functions, use 5 length hash, and minor other changes
…kPath (3) override XDG_STATE_HOME for examples testscripts
783be5c
to
9497fff
Compare
1f39049
to
3397c47
Compare
"export RUSTUP_HOME=$rustupHomeDir", | ||
"export LIBRARY_PATH=$LIBRARY_PATH:\"$projectDir/nix/profile/default/lib\"", | ||
"source conf/set-env.sh", | ||
". conf/set-env.sh", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: #890 improves the rust-example further. Will land this PR as-is, and merge with that PR's changes.
3397c47
to
3d43a84
Compare
Summary
Fixes issues:
django:
8089
which is different than the default which wasn't working in CICD for some reason.devbox services start
anddevbox services stop
rust: changed non-posix
source
to posix-compliant.
How was it tested?
added
set -e
to both and see buildkite run be green.