Skip to content
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

post-merge addressing of PR comments #74

Merged
merged 1 commit into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions nomad/poc-2.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ job "poc-2" {
<<ENDOFSCRIPT
set -xeu

# source the init script to inherit its PWD
source local/init.sh
env

Expand Down
2 changes: 1 addition & 1 deletion nomad/poc-2/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pwd
ls -lha

# this directory is persisted across job runs and can be used to persist state over time.
export JOB_STATE_DIRECTORY="${STATE_DIRECTORY}/${NOMAD_JOB_ID}"
JOB_STATE_DIRECTORY="${STATE_DIRECTORY}/${NOMAD_JOB_ID}"
mkdir -p "${JOB_STATE_DIRECTORY}"
cd "${JOB_STATE_DIRECTORY}"

Expand Down