Skip to content

Commit

Permalink
Merge pull request #79 from unity-sds/2.0.1-release
Browse files Browse the repository at this point in the history
Release v2.0.1
  • Loading branch information
drewm-jpl authored Apr 25, 2024
2 parents 7255d3b + 35fbf52 commit fc444b1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/smoke_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
MCP_VENUE_TEST_AIRFLOW_ENDPOINT:
description: "Base URL for the Airflow endpoint in MCP Venue Test (i.e. http://abc.def.ghi:port-number)"
type: string
MCP_VENUE_OPS_AIRFLOW_ENDPOINT:
description: "Base URL for the Airflow endpoint in MCP Venue Ops (i.e. http://abc.def.ghi:port-number)"
type: string
MCP_VENUE_SBG_DEV_AIRFLOW_ENDPOINT:
description: "Base URL for the Airflow endpoint in MCP Venue SBG Dev (i.e. http://abc.def.ghi:port-number)"
type: string
Expand Down Expand Up @@ -51,6 +54,16 @@ jobs:
unity-test/system/smoke \
--airflow-endpoint=${{ github.event.inputs.MCP_VENUE_TEST_AIRFLOW_ENDPOINT || vars.MCP_VENUE_TEST_AIRFLOW_ENDPOINT }}
- name: MCP Venue Ops - Smoke tests
id: mcp_venue_ops_smoke_tests
env:
AIRFLOW_WEBSERVER_PASSWORD: ${{ secrets.MCP_VENUE_OPS_AIRFLOW_WEBSERVER_PASSWORD }}
continue-on-error: true
run: |
pytest -vv --gherkin-terminal-reporter \
unity-test/system/smoke \
--airflow-endpoint=${{ github.event.inputs.MCP_VENUE_OPS_AIRFLOW_ENDPOINT || vars.MCP_VENUE_OPS_AIRFLOW_ENDPOINT }}
- name: MCP Venue SBG Dev - Smoke tests
id: mcp_sbg_dev_smoke_tests
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ locals {
}
oidc_provider_url = replace(data.aws_eks_cluster.cluster.identity[0].oidc[0].issuer, "https://", "")
airflow_webserver_navbar_color = {
"ops" = "#bf4f4f"
"prod" = "#bf4f4f"
"test" = "#cfdf4f"
"dev" = "#58cc35"
Expand Down
2 changes: 1 addition & 1 deletion terraform-unity/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ variable "venue" {
description = "The MCP venue in which the resources will be deployed."
type = string
validation {
condition = can(regex("^(dev|test|prod|sbg-dev)$", var.venue))
condition = can(regex("^(dev|test|prod|ops|sbg-dev)$", var.venue))
error_message = "Invalid deployment type."
}
}
Expand Down

0 comments on commit fc444b1

Please sign in to comment.