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

Allow for read-only inputs #55

Closed
AlexAxthelm opened this issue Feb 26, 2024 · 2 comments · Fixed by #77 or #80
Closed

Allow for read-only inputs #55

AlexAxthelm opened this issue Feb 26, 2024 · 2 comments · Fixed by #77 or #80

Comments

@AlexAxthelm
Copy link
Contributor

Currently, the workflow writes tot he same directory that it reads data from. Since the input data (which is the outputs from workflow.data.preparation) should be read only, we need to update to write the output files from this process to a separate directory.

working_dir <- file.path(transition_monitor_dir, "working_dir")
input_dir <- file.path("/pacta-data/", pacta_financial_timestamp)
output_dir <- input_dir

cc @jdhoffa

@cjyetman
Copy link
Member

closed by #77

@AlexAxthelm AlexAxthelm reopened this Feb 27, 2024
@AlexAxthelm
Copy link
Contributor Author

#77 didn't actually mark the inputs as read only.

AlexAxthelm added a commit that referenced this issue Feb 27, 2024
update docker-compose such that the inputs (`pacta-data`) directory is
read-only, while write is permitted for outputs

Closes: #55
AlexAxthelm added a commit that referenced this issue Feb 27, 2024
update docker-compose such that the inputs (`pacta-data`) directory is
read-only, while write is permitted for outputs

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