Skip to content

Commit

Permalink
Add CANDIG_VERSION for front-end dynamic update (#402)
Browse files Browse the repository at this point in the history
* Add CANDIG_VERSION for front-end dynamic update
* Add to example.env
* Remove added file
* Addition from Marion for linking version in footer
* Updated version to match current release version

Signed-off-by: Courtney Gosselin <[email protected]>

---------

Signed-off-by: Courtney Gosselin <[email protected]>
  • Loading branch information
CourtneyGosselin authored Feb 6, 2024
1 parent 2ec3927 commit 10d5e78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions PULL_REQUEST_TEMPLATE/stable_pr_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Add a summary description of the main user-facing changes made in this release,
### Other changes

- [ ] All submodule versions have been updated in etc/env/example.env
- [ ] Update .etc/env/example.env for .env CANDIG_VERSION to current release vX.X.X. The version needs to match tag for linking `https://github.com/CanDIG/CanDIGv2/releases/tag/${CANDIG_VERSION}`
- [ ] Submodules point to latest stable release on each repo
- [ ] Appropriate integration tests have been made to validate the changes
- [ ] Passes integration tests on a development instance
1 change: 1 addition & 0 deletions etc/env/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ CANDIG_DOMAIN=candig.docker.internal
CANDIG_AUTH_DOMAIN=candig.docker.internal
CANDIG_SITE_LOCATION=UHN
CANDIG_DEBUG_MODE=1
CANDIG_VERSION=v3.0.0

# set this to your local IP address (i.e. 192.168.x.x on most networks) if `make init-authx` cannot automatically determine your IP
LOCAL_IP_ADDR=
Expand Down
1 change: 1 addition & 0 deletions lib/candig-data-portal/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ services:
- REACT_APP_FEDERATION_API_SERVER=${FEDERATION_PUBLIC_URL}
- REACT_APP_BASE_NAME=
- REACT_APP_SITE_LOCATION=${CANDIG_SITE_LOCATION}
- REACT_APP_CANDIG_VERSION=${CANDIG_VERSION}
- WDS_SOCKET_PORT=0
healthcheck:
test: [ "CMD", "curl", "http://localhost:2543" ]
Expand Down

0 comments on commit 10d5e78

Please sign in to comment.