Skip to content

Commit

Permalink
Remove PCM Release Tag (#29)
Browse files Browse the repository at this point in the history
* Update terraform to remove explicit PCM tag

* Update to use hotfix of auto-versioning

* Update submit_raster to use autoversioning

* Update swodlr-commons-py version
  • Loading branch information
joshgarde committed May 1, 2024
1 parent bc56cb4 commit 83ede30
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion podaac/swodlr_raster_create/submit_raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

validate_jobset = utils.load_json_schema('jobset')
raster_job_type = utils.mozart_client.get_job_type(
f'job-SCIFLO_L2_HR_Raster:{PCM_RELEASE_TAG}'
utils.get_latest_job_version('job-SCIFLO_L2_HR_Raster')
)
raster_job_type.initialize()

Expand Down
93 changes: 47 additions & 46 deletions poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion terraform/environments/ops.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export REGION=us-west-2
export BUCKET=podaac-services-ops-terraform
export TF_VAR_sds_pcm_release_tag=pcm-v5.0.0-pge-v5.1.1
1 change: 0 additions & 1 deletion terraform/environments/sit.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export REGION=us-west-2
export BUCKET=podaac-services-sit-terraform

export TF_VAR_sds_pcm_release_tag=pcm-v5.0.0-pge-v5.1.1
export TF_VAR_cmr_graphql_endpoint=https://graphql.earthdata.nasa.gov/api
export TF_VAR_pixc_concept_id=C2799438266-POCLOUD
export TF_VAR_pixcvec_concept_id=C2799438260-POCLOUD
Expand Down
1 change: 0 additions & 1 deletion terraform/environments/uat.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export REGION=us-west-2
export BUCKET=podaac-services-uat-terraform

export TF_VAR_sds_pcm_release_tag=pcm-v5.0.0-pge-v5.1.1
export TF_VAR_cmr_graphql_endpoint=https://graphql.earthdata.nasa.gov/api
export TF_VAR_pixc_concept_id=C2799438266-POCLOUD
export TF_VAR_pixcvec_concept_id=C2799438260-POCLOUD
Expand Down
1 change: 1 addition & 0 deletions terraform/lambdas.tf
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ resource "aws_ssm_parameter" "publish_bucket" {
}

resource "aws_ssm_parameter" "sds_pcm_release_tag" {
count = var.sds_pcm_release_tag == null ? 0 : 1
name = "${local.service_path}/sds_pcm_release_tag"
type = "String"
overwrite = true
Expand Down
1 change: 1 addition & 0 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ variable "xdf_orbit_concept_id" {

variable "sds_pcm_release_tag" {
type = string
default = null
}

variable "sds_host" {
Expand Down

0 comments on commit 83ede30

Please sign in to comment.