Skip to content

Commit

Permalink
Fix paths of gov-action-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
mesudip committed May 6, 2024
1 parent 0b90757 commit d86245a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/test-infrastructure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Services required for testing GovTool
`docker stack deploy` command doesn't support `.env` file secret/config files.
There's a helper script `deploy-swarm.sh` to load the environment variables from `.env` file and generate rendered docker compose file.
```bash
cd ./test/test-infrastructire # cd into the test-infrastructure folder
cd ./test/test-infrastructure # cd into the test-infrastructure folder
docker swarm init # if swarm mode is not enabled yet.
docker compose build # build the images
docker node update xxxx --label-add govtool-test-stack=true ## set the node to be used for deploying the services
Expand Down Expand Up @@ -73,7 +73,7 @@ It is used for visualizing the test metrics and the api response times over time
**Docker Image:** [metabase/metabase:v0.46.6.4](https://hub.docker.com/layers/metabase/metabase/v0.46.6.4/images/sha256-95c60db0c87c5da9cb81f6aefd0cd548fe2c14ff8c8dcba2ea58a338865cdbd9?context=explore)

### Initial Configuration
- Setup initial account for ligin via the webapp.
- Setup initial account for login via the webapp.
- Under database section in admin settings, add the `govtool_lithghouse` and `govtool_metrics` databases
- Select the database and add visualizations, queries for the data.

Expand All @@ -82,7 +82,7 @@ It is used for visualizing the test metrics and the api response times over time
- postgres database

#### Used by
- Github Action to submit lighthouse report.
- GitHub Action to submit lighthouse report.

Lighthouse has audits for performance, accessibility, progressive web apps, SEO, and more.
Lighthouse-Server is used to host and display the audits generated by lighthouse.
Expand Down
8 changes: 5 additions & 3 deletions tests/test-infrastructure/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ services:
governance-action-loader-ui:
image: voltaire-era/govtool-governance-action-loader
build:
context: ../../src/gov-action-loader-fe
context: ../../gov-action-loader/frontend
dockerfile: Dockerfile
environment:
VIRTUAL_HOST: https://governance-${BASE_DOMAIN}
Expand All @@ -118,7 +118,7 @@ services:
governance-action-loader-api:
image: voltaire-era/govtool-kuber-proposal-loader-proxy
build:
context: ../../src/gov-action-loader-be
context: ../../gov-action-loader/backend
dockerfile: Dockerfile
environment:
KUBER_API_URL: "http://kuber:8081"
Expand All @@ -140,6 +140,7 @@ services:
memory: 1G
reservations:
memory: 500M

cardano-node:
image: ghcr.io/intersectmbo/cardano-node:8.7.1-pre
environment:
Expand All @@ -165,8 +166,9 @@ services:
restart_policy:
condition: on-failure
delay: 15s

kuber:
image: dquadrant/kuber
image: dquadrant/kuber:4c3c5230db9a9b8ac84487fbc11ccd28b0cd5917-amd64
environment:
CARDANO_NODE_SOCKET_PATH: /ipc/node.socket
VIRTUAL_HOST: https://kuber-${BASE_DOMAIN}
Expand Down

0 comments on commit d86245a

Please sign in to comment.