Skip to content

Commit 989eebd

Browse files
authored
Inv app (#263)
* Updated inv-app docs Signed-off-by: Noé Samaille <[email protected]> * Fix spellchecks Signed-off-by: Noé Samaille <[email protected]> * Pipeline setup updates Signed-off-by: Noé Samaille <[email protected]> Signed-off-by: Noé Samaille <[email protected]>
1 parent 9c4b839 commit 989eebd

File tree

3 files changed

+12
-70
lines changed

3 files changed

+12
-70
lines changed

docs/developer-intermediate/inventory-bff/index.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -43,32 +43,19 @@ The Inventory solution will use [GraphQL](https://graphql.org/) for its BFF laye
4343
You have access to 71 projects, the list has been suppressed. You can list all projects with 'oc projects'
4444
```
4545

46-
- Clone the repository you created earlier
47-
48-
```
49-
git clone https://github.com/cnw-team-{team}/inv-bff-{your initials}.git
50-
```
51-
52-
- Run the command
46+
- Run the following command to setup your project:
5347

5448
```
5549
oc sync dev-{your initials}
5650
```
5751

58-
- Go to the directory of the repository your cloned and [Register the pipeline](/developer-intermediate/deploy-app#5-register-the-application-in-a-openshift-pipeline)
52+
- [Register the pipeline](/developer-intermediate/deploy-app#5-register-the-application-in-a-openshift-pipeline)
5953

6054
```
61-
oc pipeline --tekton
55+
oc pipeline --tekton https://github.com/cnw-team-{team}/inv-bff-{your initials}
6256
```
6357

64-
- Give git credentials if prompted, and master as the git branch to use. When prompted for the pipeline, select `ibm-nodejs`
65-
66-
```bash
67-
$ oc pipeline --tekton
68-
...
69-
70-
Pipeline run started: inv-bff-ns-181f77c24a4
71-
```
58+
- Give git credentials if prompted, and master as the git branch to use. When prompted for the pipeline, select `ibm-nodejs`.
7259

7360
- [Open the pipeline](/developer-intermediate/deploy-app/#5-register-the-application-in-a-openshift-pipeline) to see it running
7461

docs/developer-intermediate/inventory-service/index.md

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,8 @@
4949
You have access to 71 projects, the list has been suppressed. You can list all projects with 'oc projects'
5050
```
5151

52-
- Clone the repository you created earlier
5352

54-
```
55-
git clone https://github.com/ibm-workshop-team-one/inv-svc-{your initials}.git
56-
```
57-
58-
- Run the command
53+
- Run the following command to setup your project:
5954

6055
```
6156
oc sync dev-{your initials}
@@ -64,38 +59,10 @@
6459
- Go to the directory of the repository your cloned and [Register the pipeline](/developer-intermediate/deploy-app#5-register-the-application-in-a-openshift-pipeline)
6560

6661
```
67-
oc pipeline --tekton
62+
oc pipeline --tekton https://github.com/ibm-workshop-team-one/inv-svc-{your initials}
6863
```
6964

70-
- Give git credentials if prompted, and master as the git branch to use. When prompted for the pipeline, select `ibm-java-gradle`
71-
72-
```bash
73-
$ oc pipeline --tekton
74-
Creating pipeline on openshift cluster in dev-ar namespace
75-
Retrieving git parameters
76-
Project git repo: https://github.com/aminerachyd/inv-svc-ar.git
77-
? Provide the git username: aminerachyd
78-
? Provide the git password or personal access token: [hidden]
79-
Branch: main
80-
Retrieving available template pipelines from tools
81-
Pipeline templates filtered based on detected runtime: openjdk/gradle
82-
? Select the Pipeline to use in the PipelineRun: ibm-java-gradle
83-
? scan-image: Enable the pipeline to scan the image for vulnerabilities? Yes
84-
? health-endpoint: Endpoint to check health after deployment, liberty uses / not /health? /health
85-
? lint-dockerfile: Enable the pipeline to lint the Dockerfile for best practices? Yes
86-
Copying tasks from tools....
87-
Copied Pipeline from tools/ibm-java-gradle to dev-ar/inv-svc-ar
88-
Creating TriggerTemplate for pipeline: inv-svc-ar
89-
Creating TriggerBinding for pipeline: inv-svc-ar
90-
Creating/updating TriggerEventListener for pipeline: tekton
91-
Waiting for event listener rollout: dev-ar/el-tekton
92-
Creating/updating Route for pipeline: tekton
93-
Creating PipelineRun for pipeline: inv-svc-ar
94-
Creating Github webhook for repo: https://github.com/aminerachyd/inv-svc-ar.git
95-
Warning: Webhook already exists for this trigger in this repository.
96-
97-
Pipeline run started: inv-svc-ar-181f77c24a4
98-
```
65+
- Give git credentials if prompted, and master as the git branch to use. When prompted for the pipeline, select `ibm-java-gradle`.
9966

10067
- [Open the pipeline](/developer-intermediate/deploy-app/#5-register-the-application-in-a-openshift-pipeline) to see it running
10168

docs/developer-intermediate/inventory-ui/index.md

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
- Create a new repository from the [Carbon React template](https://github.com/IBM/template-carbon-react/generate) into your Git org.
1010

11+
1112
!!! warning
1213
If you are developing on a shared education cluster, place the repository in the **Git Organization** listed in your notification email and remember to add your initials as a suffix to the app name.
1314
- In order to prevent naming collisions, name the repository `inv-ui-{your initials}` replacing `{your initials}` with your actual initials.
@@ -38,32 +39,19 @@
3839
You have access to 71 projects, the list has been suppressed. You can list all projects with 'oc projects'
3940
```
4041

41-
- Clone the repository you created earlier
42-
43-
```
44-
git clone https://github.com/cnw-team-{team}/inv-ui-{your initials}.git
45-
```
46-
47-
- Run the command
42+
- Run the following command to setup your project:
4843

4944
```
5045
oc sync dev-{your initials}
5146
```
5247

53-
- Go to the directory of the repository your cloned and [Register the pipeline](/developer-intermediate/deploy-app#5-register-the-application-in-a-openshift-pipeline)
48+
- [Register the pipeline](/developer-intermediate/deploy-app#5-register-the-application-in-a-openshift-pipeline)
5449

5550
```
56-
oc pipeline --tekton
51+
oc pipeline --tekton https://github.com/cnw-team-{team}/inv-ui-{your initials}
5752
```
5853

59-
- Give git credentials if prompted, and master as the git branch to use. When prompted for the pipeline, select `ibm-nodejs`
60-
61-
```bash
62-
$ oc pipeline --tekton
63-
...
64-
65-
Pipeline run started: inv-ui-ns-181f77c24a4
66-
```
54+
- Give git credentials if prompted, and master as the git branch to use. When prompted for the pipeline, select `ibm-nodejs`.
6755

6856
- [Open the pipeline](/developer-intermediate/deploy-app/#5-register-the-application-in-a-openshift-pipeline) to see it running
6957

0 commit comments

Comments
 (0)