FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ews-coordinator
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gilligan Lab for Epidemiology and Modelling
Wheat rusts
ews-coordinator
Commits
dba46b94
Commit
dba46b94
authored
1 year ago
by
L. Bower
Browse files
Options
Downloads
Patches
Plain Diff
more Docker file work
parent
c6abc9e0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configs/docker/build/build.sh
+6
-0
6 additions, 0 deletions
configs/docker/build/build.sh
tests/integration/partial/run_test_suite.sh
+5
-4
5 additions, 4 deletions
tests/integration/partial/run_test_suite.sh
with
11 additions
and
4 deletions
configs/docker/build/build.sh
+
6
−
0
View file @
dba46b94
cp
../../conda/conda-env-py3EWS-withbuilds.yml .
;
# note that if you want to build an image that runs with your credentials, override the following variables when
# building the image:
# sudo docker build -t ews_coordinator --build-arg GNAME=lb584 --build-arg UNAME=lb584
# --build-arg UID=1001 --build-arg GID=1001 -f Dockerfile .
# the docker container will run commands using this user and group, and will have access to the relevant filesystems
# that are mounted. If the default command is run, the user credentials are set to be those of the Cam group server
sudo
docker build
-t
ews_coordinator
-f
Dockerfile .
;
rm
-v
conda-env-py3EWS-withbuilds.yml
;
This diff is collapsed.
Click to expand it.
tests/integration/partial/run_test_suite.sh
+
5
−
4
View file @
dba46b94
#note this script only works if run in the project docker image, or an environment with the necessary paths and
# software installed
# note this script only works if run in the project docker image, or an environment with the necessary paths and
# software installed. it writes files to a unix tmp dir and is not intended to be used for diagnostic testing, just
# checking the installation is working
source
/storage/app/miniconda3/bin/activate /storage/app/EWS_prod/envs/conda/py3EWS/
...
...
@@ -22,5 +23,5 @@ export PYTHONPATH=$PYTHONPATH:$flagdir:$epimodel:$advisory:$met_processing:$met_
echo
$PYTHONPATH
tempdir
=
`
mktemp
-d
`
python3
-m
coverage run run_test_suite.py
$tempdir
tempdir
=
$(
mktemp
-d
)
python3
-m
coverage run run_test_suite.py
"
$tempdir
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment