Skip to content

Commit 94f2110

Browse files
authored
fix: remove mirror option for petclinic repo (#112)
1 parent b5ba49b commit 94f2110

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed

docs/get-started/labs/use-otel.md

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -51,28 +51,7 @@ Sometimes instrumenting the nginx-ingress controller requires a restart of the p
5151

5252
## Build an image from source code
5353

54-
For this lab we're going to use the [Spring PetClinic Sample Application](https://github.com/spring-projects/spring-petclinic). Follow these steps to build an image from source code:
55-
56-
:::note
57-
Using a Gitea repository is not required. You can also build using public repositories.
58-
:::
59-
60-
### Create the code repository
61-
62-
1. Create a new repo called `petclinic` in the `team-labs` Gitea organization.
63-
64-
2. Clone the Spring PetClinic Sample Application:
65-
66-
```bash
67-
git clone https://github.com/spring-projects/spring-petclinic.git
68-
cd spring-petclinic
69-
```
70-
71-
3. Mirror the Spring PetClinic Sample Application to the `petclinc` repo:
72-
73-
```
74-
git push --mirror https://gitea.<your-domain>/<team-name>/petclinic.git
75-
```
54+
For this lab we're going to use the [Spring PetClinic Sample Application](https://github.com/spring-projects/spring-petclinic). Follow these steps to build an image from source code.
7655

7756
### Add the code repository
7857

@@ -82,9 +61,9 @@ git push --mirror https://gitea.<your-domain>/<team-name>/petclinic.git
8261

8362
3. Provide a name for this code repository. The name will be used to identify the code repository in App Platform. You can only use the name once within a Team. We are going to use the name `petclinic` for this code repository.
8463

85-
4. Select `Gitea` for the Git service (default)
64+
4. Select `GitHub` for the Git service.
8665

87-
5. Select `petclinic` from the `Repository` drop-down list:
66+
5. Fill in the following `Repository URL`: https://github.com/spring-projects/spring-petclinic.git
8867

8968
6. Click `Add Code repository`
9069

0 commit comments

Comments
 (0)