Commit 87adb64
authored
Add DCA and Schematic versions to footer of dashboard. (#564)
* WIP: Add DCA and Schematic versions to footer of dashboard.
* Get schematic version via api call
* Use schematic version from variable in global.R
* Add version as an env variable to docker container
* When building docker container, use the github ref as a build arg to note the version.
* Change version variable to DCA_VERSION
* Set DCA_VERSION env var to a variable in the global env
* Show DCA version from the env var
* Use GITHUB_REF_NAME env var to set version env var.
* specify github context for github_ref_name var
* Update github ref name to github.REF_NAME
* For clarity, set build arg to DCA_VERSION instead of TAG.
* Add DCA_VERSION env var to .Renviron so it is loaded as env var in shiny server.
* Make DCA_VERSION from docker build-arg an env var in the container. Then in dca_startup.sh, add the env var to Renviron
* Add error handling for schematic version api call1 parent 1c131a0 commit 87adb64
File tree
5 files changed
+23
-1
lines changed- .github/workflows
5 files changed
+23
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
64 | 72 | | |
65 | 73 | | |
| 74 | + | |
| 75 | + | |
66 | 76 | | |
67 | 77 | | |
68 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
297 | 300 | | |
298 | 301 | | |
299 | 302 | | |
| |||
0 commit comments