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

Outstanding tasks on refresh of the calibration analyses [aka dev] server #1244

Open
4 of 10 tasks
tamuri opened this issue Dec 20, 2023 · 1 comment
Open
4 of 10 tasks
Assignees

Comments

@tamuri
Copy link
Collaborator

tamuri commented Dec 20, 2023

  • write file info.txt in commit output directory (e.g. /mnt/tlodev2stg/tlo-dev-fs-2/task-runner/output/2023-11-24_152805_d06d3d4) with two lines:
    • line 1: a git log message with format: git log --pretty=format:"%H%x09%ad%x09%s" --date=iso-strict ${commit_sha1}
    • line 2: URL to action run page on GitHub e.g. https://github.com/UCL/TLOmodel/actions/runs/7256652901
  • gzip *.log files from all runs at end of post-processing step
    • check with @tbhallett if we can get rid of (i) module-specific log files (tlo.*.log) (ii) pickled module dataframes (tlo.*.pickle)
  • setup webserver on new vm (tlo-dev-vm-1) & make results publically accessible
    • use Caddy webserver - write Caddyfile
    • Ansible playbook to provision server with Caddy
    • open inbound ports 80, 443 on NIC (via Azure)
    • setup DNS record (e.g. analyses.tlomodel.org) - speak to TimH re. GoDaddy record
@tamuri
Copy link
Collaborator Author

tamuri commented Dec 26, 2023

The info file is being written in calibration runs whether or not it's a new commit that's running. If it's a commit that's already run, the workfow writes over the original file, meaning the URL to workflow run points to the run that is skipped. (Hope that made sense!)

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

No branches or pull requests

2 participants