aboutsummaryrefslogtreecommitdiff
path: root/jwstdp
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2019-11-15 16:29:10 -0500
committerGitHub <noreply@github.com>2019-11-15 16:29:10 -0500
commit33fde33643cec5633e5efbcd6b060bb3e96f6957 (patch)
treed0afb9eedbe72a5d556cb0443e86a41467a0cc6f /jwstdp
parent26741563e5749f63aee9079c924cb28a36a6aedf (diff)
downloadastroconda-releases-33fde33643cec5633e5efbcd6b060bb3e96f6957.tar.gz
JWSTDP refinement (#101)
* Remove redundant internal values after implementing config file approach * Add credential helper to support git pushes from Jenkins
Diffstat (limited to 'jwstdp')
-rwxr-xr-xjwstdp/utils/credential_helper.sh3
-rwxr-xr-xjwstdp/utils/jwst_delivery_prep8
2 files changed, 4 insertions, 7 deletions
diff --git a/jwstdp/utils/credential_helper.sh b/jwstdp/utils/credential_helper.sh
new file mode 100755
index 0000000..1e69279
--- /dev/null
+++ b/jwstdp/utils/credential_helper.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+echo username=$USERNAME
+echo password=$PASSWORD
diff --git a/jwstdp/utils/jwst_delivery_prep b/jwstdp/utils/jwst_delivery_prep
index 83645d2..6fe869b 100755
--- a/jwstdp/utils/jwst_delivery_prep
+++ b/jwstdp/utils/jwst_delivery_prep
@@ -15,12 +15,6 @@ import re
import configparser
-# TODO: Take from config file.
-artifact_prefixes = ['conda_python_', 'reqs_']
-art_url_base = 'https://bytesalad.stsci.edu/artifactory'
-art_repo = 'jwst-pipeline-results'
-
-
def modify_dep(line, text):
'''Replace value appearing after the last '@' in the pip
spec line for the 'jwst' package with the provided text.'''
@@ -197,7 +191,7 @@ def main():
write_readme(release_tag, config_map, 'README.md')
- # Display the build_config to OS mappings.
+ # Output the build_config to OS mappings.
for cset in config_map:
print(f"{cset.config}:{cset.os}")