From 33fde33643cec5633e5efbcd6b060bb3e96f6957 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Fri, 15 Nov 2019 16:29:10 -0500 Subject: JWSTDP refinement (#101) * Remove redundant internal values after implementing config file approach * Add credential helper to support git pushes from Jenkins --- jwstdp/utils/credential_helper.sh | 3 +++ jwstdp/utils/jwst_delivery_prep | 8 +------- 2 files changed, 4 insertions(+), 7 deletions(-) create mode 100755 jwstdp/utils/credential_helper.sh 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}") -- cgit