Skip to content

Commit

Permalink
updating the logging for this script and removing unneeded variables
Browse files Browse the repository at this point in the history
  • Loading branch information
EliseCastle23 committed Apr 25, 2024
1 parent 57965a1 commit 388dee0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gen3/bin/kube-setup-batch-export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ if ! g3kubectl get secrets | grep batch-export-g3auto /dev/null 2>&1; then
ref_hostname=$(echo "$hostname" | sed 's/\./-/g')
bucket_name="${ref_hostname}-batch-export-bucket"
sa_name="batch-export-sa"
mkdir -p $(gen3_secrets_folder)/g3auto/batch-export
creds_file="$(gen3_secrets_folder)/g3auto/batch-export/config.json"

gen3_log_info "Creating batch export secret"

gen3_log_info "Creating batch export bucket"

if [[ -z "$JENKINS_HOME" ]]; then
gen3 s3 create $bucket_name
Expand Down

0 comments on commit 388dee0

Please sign in to comment.