Skip to content

Commit

Permalink
Added env veriables for docker compose run
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhadapaithankar committed Oct 4, 2024
1 parent 626c80b commit 3f00bcf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ DOCKER_BUILD_CI_ARGS ?=

# Image names that will be found in the local podman image registry after build
# (tags are always VERSION).
LOCAL_ARO_RP_IMAGE ?= aro
LOCAL_ARO_PORTAL_BUILD_IMAGE ?= $(LOCAL_ARO_RP_IMAGE)-portal-build
LOCAL_ARO_RP_BUILD_IMAGE ?= $(LOCAL_ARO_RP_IMAGE)-build
LOCAL_AZ_EXT_ARO_IMAGE ?= azext-aro
Expand Down Expand Up @@ -480,6 +481,7 @@ run-portal: ci-rp podman-secrets
# run-rp executes the RP locally as similarly as possible to production. That
# includes the use of Hive, meaning you need a VPN connection.
.PHONY: run-rp
run-rp:
docker compose rm -sf rp
docker compose up rp

Expand Down
6 changes: 6 additions & 0 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,10 @@ export MOCK_MSI_CERT="replace_with_value_output_by_hack/devtools/msi.sh"
export MOCK_MSI_TENANT_ID="replace_with_value_output_by_hack/devtools/msi.sh"
export PLATFORM_WORKLOAD_IDENTITY_ROLE_SETS="replace_with_value_output_by_hack/devtools/msi.sh"

# you will need this to run-rp , vpn and ci-rp using Docker compose
export REGISTRY=registry.access.redhat.com
export VERSION=latest
export TAG=latest
export LOCAL_VPN_IMAGE=arosvcdev.azurecr.io/vpn

. secrets/env

0 comments on commit 3f00bcf

Please sign in to comment.