Skip to content

Commit

Permalink
update deployment readme.md and fix links in docs/RELEASE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
saudkhan116 committed Mar 1, 2023
1 parent 4ddd84a commit 0d9fdeb
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 18 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ docker stop consumer-ui; docker rm consumer-ui;
```
You can run the application in docker container with existing image from GitHub packages.

See consumer frontend docker image in registry: [consumer-ui](https://github.com/eclipse-tractusx/digital-product-pass/pkgs/container/product-battery-passport-consumer-app%2Fconsumer-ui)

```bash
# pull the image
# Replace placeholder <LATEST_TAG> with the most recent tag in registry
Expand Down
37 changes: 22 additions & 15 deletions deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
## Technical Guide - Deployment in ArgoCD Hotel Budapest


> [Getting Started Documentation](getting-started.md)
> [Getting Started Documentation](../docs/GETTING-STARTED.md)
This document describes the battery pass application deployment steps in hotel budapest using helm charts. In order to deploy the app components, the following artifacts are required.

Expand All @@ -27,8 +27,9 @@ This document describes the battery pass application deployment steps in hotel b

- [edc-provider](./helm/edc-provider)

- [consumer-ui](./helm/consumer-ui)
- [consumer-ui](../charts/consumer-ui)

- [consumer-backend](../charts/consumer-backend)

#### Sign in via the GitHub account

Expand All @@ -40,30 +41,34 @@ Create new app from the top-left corner button.
Fill out the following required fields.
- **Application Name:** <APP_NAME> (e.g., materialpass-edc)
- **Project:** project-material-pass
- **Source:** Git repository where the application artifacts are stored (https://github.com/catenax-ng/product-battery-passport-consumer-app)
- **Source:** Git repository where the application artifacts are stored (https://github.com/eclipse-tractusx/digital-product-pass)
- **Revision:** select branch or a tag
- **Path:** The path to the deployment (possible values: deployment/helm/edc-consumer, deployment/helm/edc-provider, deployment/helm/consumer-ui)
- **Path:** The path to the deployment (possible values: deployment/helm/edc-consumer, deployment/helm/edc-provider, charts/consumer-ui, charts/consumer-backend)
- **Cluster URL:** https://kubernetes.default.svc
- **Namespace:** product-material-pass
- **Plugin:** argocd-vault-plugin-helm-args
- set ENV as ***helm_args : --set image.tag='$ARGOCD_APP_REVISION'***
- Set following helm args with the corresponding application:
- consumer-ui: set ENV as ***helm_args = --set productpass.backend=true -f values.yaml -f values-int.yaml'***
- consumer-backend: set ENV as ***helm_args = -f values.yaml -f values-int.yaml'***
- edc-consumer: set ENV as ***helm_args = -f values-int.yaml'***
- edc-consumer: set ENV as ***helm_args = -f values-int.yaml'***

Click on 'Create' button

![Create New App](./images/create_application_with_vault_plugin.png)
![Create New App](./images/create-app-with-vault-plugin.png)

- Go inside the application and sync it. It would take some time to get synced.

![Sync App](./images/app_sync.png)
![Sync App](./images/sync-app.png)

![Sync App](./images/pod_sync.png)
![Sync App](./images/pod-sync.png)

- Navigate inside the pod

![Consumer Pod](./images/consumer-ui_pod.png)
![Consumer Pod](./images/pod-consumer-ui.png)
- Go to the logs tab

![Consumer connector logs](./images/logs.png)
![Consumer connector logs](./images/consumer-ui-logs.png)

If everything works fine then the application is deployed...

Expand All @@ -75,18 +80,20 @@ In the end, the frontend should be accessible at https://materialpass.int.demo.c

##### Login credentails:
- **Company Selection:** CX-Test-Access
- **User 1:** Role: OEM, user: company 1 user, Password: changeme
- **User 1:** Role: Dismantler, user: company 1 user, Password: changeme
- **User 2:** Role: Recycler, user: company 2 user, Password: changeme

#### Example Screenshots:

![Login Page](./images/cx_login.png)
![Company Selection Page](./images/company-selection.png)

![QR Code Scanner](./images/qr_code_scanner.png)
![Login Page](./images/login.png)

![Dashboard](./images/dashboard.png)
![QR Code Scanner](./images/qr-code-scanner.png)

![Battery Passport](./images/battery_pass.png)
![Dashboard](./images/battery-pass-dashboard.png)

![Battery Passport](./images/battery-pass.png)

<br />

Expand Down
Binary file removed deployment/images/app_sync.png
Binary file not shown.
Binary file added deployment/images/battery-pass-dashboard.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added deployment/images/battery-pass.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed deployment/images/battery_pass.png
Binary file not shown.
Binary file added deployment/images/company-selection.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added deployment/images/consumer-ui-logs.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed deployment/images/consumer-ui_pod.png
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file removed deployment/images/cx_login.png
Binary file not shown.
Binary file removed deployment/images/dashboard.png
Binary file not shown.
Binary file added deployment/images/login.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed deployment/images/logs.png
Binary file not shown.
Binary file added deployment/images/pod-consumer-ui.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added deployment/images/pod-sync.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed deployment/images/pod_sync.png
Binary file not shown.
Binary file added deployment/images/qr-code-scanner.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed deployment/images/qr_code_scanner.png
Binary file not shown.
Binary file added deployment/images/sync-app.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

## Release an application

The application is released through [GitHub Releases page](https://github.com/catenax-ng/product-battery-passport-consumer-app/releases) by creating a new release and tag. Follow the [Semantic Versioning Scheme](https://semver.org/spec/v2.0.0.html) while creating a new tag.
The application is released through [GitHub Releases page](https://github.com/eclipse-tractusx/digital-product-pass/releases) by creating a new release and tag. Follow the [Semantic Versioning Scheme](https://semver.org/spec/v2.0.0.html) while creating a new tag.


The changelog must also be updated from [CHANGELOG.md](../CHANGELOG.md) file, showing the changes in release using [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format.
Expand Down

0 comments on commit 0d9fdeb

Please sign in to comment.