aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}")