Skip to content

Commit

Permalink
use webbpsf data from grp in jenkins runs
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Oct 16, 2023
1 parent c2671f0 commit df22046
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions JenkinsfileRT
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ env_vars = [
'CRDS_PATH=/grp/crds/roman/test/',
'DD_ENV=ci',
'DD_SERVICE=romancal',
'WEBBPSF_PATH=data/webbpsf-data'
'WEBBPSF_PATH=/grp/jwst/ote/webbpsf-data',
'PYSYN_CDBS=/grp/hst/cdbs',
]
if (env.ENV_VARS) {
env_vars.addAll(MultiLineToArray(env.ENV_VARS))
Expand Down Expand Up @@ -88,9 +89,6 @@ bc0.build_cmds = [
"pip install -e .[test]",
"pip install pytest-xdist pytest-sugar ddtrace",
'echo "CRDS_CONTEXT = $(crds list --contexts $CRDS_CONTEXT --mappings | grep pmap)"',
"mkdir data",
"curl -L https://stsci.box.com/shared/static/0ojjfg3cieqdpd18vl1bjnpe63r82dx8.gz -o data/webbpsf-data.tar.gz",
"tar -xzvf data/webbpsf-data.tar.gz -C data",
]
bc0.build_cmds = bc0.build_cmds + PipInject(env.OVERRIDE_REQUIREMENTS)
bc0.build_cmds = bc0.build_cmds + [
Expand Down
2 changes: 2 additions & 0 deletions JenkinsfileRT_dev
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ env_vars = [
"CRDS_CONTEXT=roman_0051.pmap",
"CRDS_SERVER_URL=https://serverless",
'CRDS_PATH=/grp/crds/roman/test/',
'WEBBPSF_PATH=/grp/jwst/ote/webbpsf-data',
'PYSYN_CDBS=/grp/hst/cdbs',
]
if (env.ENV_VARS) {
env_vars.addAll(MultiLineToArray(env.ENV_VARS))
Expand Down

0 comments on commit df22046

Please sign in to comment.