Skip to content

Commit

Permalink
Merge pull request #178 from spacetelescope/release/v0.4.35
Browse files Browse the repository at this point in the history
Release/v0.4.35
  • Loading branch information
bhayden53 authored Apr 7, 2022
2 parents 6ba5844 + a7fedd1 commit 5d01dae
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 17 deletions.
4 changes: 2 additions & 2 deletions calcloud/model_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def create_payload(job_data, timestamp):
"mem_bin": int(targets["mem_bin"]),
}
ddb_payload = json.loads(json.dumps(data, allow_nan=True), parse_int=Decimal, parse_float=Decimal)
pprint(ddb_payload, indent=2, sort_dicts=False)
pprint(ddb_payload, indent=2)
return ddb_payload


Expand All @@ -291,7 +291,7 @@ def ddb_ingest(ipst, bucket_name, table_name):
ddb_payload = create_payload(job_data, start_time)
job_resp = put_job_data(ddb_payload, table_name)
print("Put job data succeeded:")
pprint(job_resp, indent=2, sort_dicts=False)
pprint(job_resp, indent=2)
end_time = time.time()
print_timestamp(end_time, "SCRAPE and INGEST", 1)
duration = proc_time(start_time, end_time)
Expand Down
13 changes: 3 additions & 10 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
- pytest via moto (no need for aws creds)
- fix ami-rotation issues caused by yum
- updated memory model training
- bugfix; blackboard 'createdAt' default value supplied (hotfixed previously)
- significantly reduce frequency of blackboard lambda to avoid problems with the file in the storage gateway
- refactor terraform for ami rotation user-data
- terraform package version bumps
- remove terraformed ecr repo in each account; use central ecr via ssm param instead
- significant refactor of deployment scripts to handle central ecr and image promotion/deletion that goes with it
- cache refresh period increased to 9 minutes from 5 (continued gateway tweaks)
- default base docker image set to CALDP_20220406_CAL_final
- default crds update to hst_1002.pmap
- bugfix for model ingest lambda pprint (missing optional param "sort_dicts" after downgrade to 3.7 runtime)
6 changes: 3 additions & 3 deletions terraform/deploy_vars.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#! /bin/bash -xu

export CALCLOUD_VER="v0.4.34"
export CALDP_VER="v0.2.17"
export CAL_BASE_IMAGE="stsci/hst-pipeline:CALDP_20211129_CAL_final"
export CALCLOUD_VER="v0.4.35"
export CALDP_VER="v0.2.18"
export CAL_BASE_IMAGE="stsci/hst-pipeline:CALDP_20220406_CAL_final"

export BASE_IMAGE_TAG=`cut -d ":" -f2- <<< ${CAL_BASE_IMAGE} `

Expand Down
4 changes: 2 additions & 2 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ variable crds_context {
default = {
"-sb" = "hst_0866.pmap"
"-dev" = "hst_0866.pmap"
"-test" = "hst_0981.pmap"
"-ops" = "hst_0981.pmap"
"-test" = "hst_1002.pmap"
"-ops" = "hst_1002.pmap"
}
}

Expand Down

0 comments on commit 5d01dae

Please sign in to comment.