Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration for RMI Azure deployment #212

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/parser/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ oci_push(
name = "push_image",
image = ":image",
remote_tags = ["latest"],
repository = "rmisa.azurecr.io/pactaparser",
repository = "rmisppactaweupatdev.azurecr.io/pactaparser",
)

# Note: This tarball is provided for local testing of the Docker image, see the README.md for details on usage.
Expand Down
9 changes: 9 additions & 0 deletions cmd/parser/configs/test.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
env test
min_log_level warn

azure_event_topic pacta-events-test
azure_topic_location centralus-1

azure_storage_account rmipactatest
azure_dest_portfolio_container parsedportfolios

2 changes: 1 addition & 1 deletion cmd/runner/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ oci_push(
name = "push_image",
image = ":image",
remote_tags = ["latest"],
repository = "rmisa.azurecr.io/runner",
repository = "rmisppactaweupatdev.azurecr.io/runner",
)

# Note: This tarball is provided for local testing of the Docker image, see the README.md for details on usage.
Expand Down
8 changes: 8 additions & 0 deletions cmd/runner/configs/test.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
env test
min_log_level warn

azure_event_topic pacta-events-test
azure_topic_location centralus-1

azure_storage_account rmipactatest
azure_report_container reports
2 changes: 1 addition & 1 deletion cmd/server/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ oci_push(
name = "push_image",
image = ":image",
remote_tags = ["latest"],
repository = "rmisa.azurecr.io/pacta",
repository = "rmisppactaweupatdev.azurecr.io/pacta",
)

# Note: This tarball is provided for local testing of the Docker image, see the README.md for details on usage.
Expand Down
10 changes: 10 additions & 0 deletions cmd/server/configs/test.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
env test
allowed_cors_origin https://pacta.dev.rmi.siliconally.dev
port 80

use_azure_runner true

azure_event_subscription 69b6db12-37e3-4e1f-b48c-aa41dba612a9
azure_event_resource_group rmi-pacta-test
azure_event_topic pacta-events-test

7 changes: 7 additions & 0 deletions scripts/jumphost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ case "$1" in
VNET_NAME="pacta-vn-dev"
SUBNET_NAME="bastion-sn-dev"
;;
rmi-test)
LOCATION="West Europe"
RESOURCE_GROUP="RMI-SP-PACTA-WEU-PAT-DEV"
POSTGRES_HOST="pactadb-test.postgres.database.azure.com"
VNET_NAME="pacta-vn-test"
SUBNET_NAME="bastion-sn-test"
;;
*)
echo "Unknown environment ${1}"
exit 1
Expand Down
Loading