Skip to content

Commit b4e0c1e

Browse files
committed
fix: broken links
Signed-off-by: Daniel Hu <[email protected]>
1 parent a45be6f commit b4e0c1e

File tree

9 files changed

+25
-25
lines changed

9 files changed

+25
-25
lines changed

docs/plugins/argocdapp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This plugin creates an [Argo CD Application](https://argo-cd.readthedocs.io/en/s
77
- Argo CD itself must have been already installed before the usage of this plugin.
88
To install Argo CD, use the [helm-installer plugin](./helm-installer/argocd.md).
99
Or you can use both plugins(argocd+argocdapp) at the same time.
10-
See [GitOps Toolchain](../use-cases/gitops.md) for more info.
10+
See [GitOps Toolchain](../use-cases/gitops/2-gitops-tools.md) for more info.
1111
- Currently, only the Helm chart is supported when creating the Argo CD application.
1212

1313
## Usage

docs/plugins/helm-installer/harbor.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ export IMAGE_REPO_ADDR=harbor.devstream.io
490490
./image-pull-push.sh -f harbor-images.txt -r ${IMAGE_REPO_ADDR} -l -u
491491
```
492492

493-
如果你还没有一个私有镜像仓库,可以参考[这篇文章](../../use-cases/image-registry.zh.md)快速部署一个 Docker Registry。
493+
如果你还没有一个私有镜像仓库,可以参考[这篇文章](../../use-cases/reference/image-registry.zh.md)快速部署一个 Docker Registry。
494494

495495
### 5.3、参考配置
496496

docs/plugins/helm-installer/jenkins.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export IMAGE_REPO_ADDR=harbor.devstream.io
379379
./image-pull-push.sh -f jenkins-images.txt -r ${IMAGE_REPO_ADDR} -l -u
380380
```
381381

382-
如果你还没有一个私有镜像仓库,可以参考[这篇文章](../../use-cases/image-registry.zh.md)快速部署一个 Docker Registry。
382+
如果你还没有一个私有镜像仓库,可以参考[这篇文章](../../use-cases/reference/image-registry.zh.md)快速部署一个 Docker Registry。
383383

384384
### 5.3、参考配置
385385

docs/understanding_the_basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ Go through the online Docker and Kubernetes tutorials. You can search for:
3636
## Getting Started
3737

3838
- [Quick Start](./quickstart.md)
39-
- [Best Pratices - GitOps Toolchain](./use-cases/gitops.md)
39+
- [Use Case - GitOps Toolchain](./use-cases/gitops/2-gitops-tools.md)

docs/understanding_the_basics.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@
3636
## 让我们开始吧!
3737

3838
- [快速入门](./quickstart.zh.md)
39-
- [最佳实践 - GitOps工具链](./use-cases/gitops.zh.md)
39+
- [用户场景 - GitOps 工具链](./use-cases/gitops/2-gitops-tools.zh.md)

docs/use-cases/gitops/2-gitops-tools.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ However, if you are like us, who prefer to do things hands-on and get their hand
4040

4141
DevStream will use the following plugins to achieve the goal described in [Section 0](#0-goal):
4242

43-
1. [repo-scaffolding](../plugins/repo-scaffolding.md)
44-
2. [github-actions](../plugins/github-actions.md)
45-
3. [helm-installer](../plugins/helm-installer/helm-installer.md)
46-
4. [argocdapp](../plugins/argocdapp.md)
43+
1. [repo-scaffolding](../../plugins/repo-scaffolding.md)
44+
2. [github-actions](../../plugins/github-actions.md)
45+
3. [helm-installer](../../plugins/helm-installer/helm-installer.md)
46+
4. [argocdapp](../../plugins/argocdapp.md)
4747

4848
However, you do not have to worry about these plugins because DevStream will manage them automatically for you.
4949

@@ -113,7 +113,7 @@ Use "dtm [command] --help" for more information about a command.
113113
114114
> Optional: you can move `dtm` to a directory which is in your $PATH. For example: `mv dtm /usr/local/bin/`. This will allow you to run `dtm` directly without having to prefix it with the dot and slash (`./dtm`).
115115
>
116-
> For more methods on how to install DevStream, see [install dtm](../install.md).
116+
> For more methods on how to install DevStream, see [install dtm](../../install.md).
117117
118118
---
119119
@@ -214,13 +214,13 @@ Let's continue to look at the results of the `apply` command.
214214
215215
The repository is created automatically by DevStream with scaffolding code:
216216
217-
![](../images/gitops-a.png)
217+
![](../../images/gitops-a.png)
218218
219219
### 8.2 CI Pipelines with GitHub Actions
220220
221221
GitHub Actions pipelines are created and executed:
222222
223-
![](../images/gitops-b.png)
223+
![](../../images/gitops-b.png)
224224
225225
### 8.3 Argo CD Installation
226226

docs/use-cases/gitops/2-gitops-tools.zh.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040

4141
DevStream 将使用下面的插件来实现[第 0 节](#)中描述的目标:
4242

43-
1. [repo-scaffolding](../plugins/repo-scaffolding.md)
44-
2. [github-actions](../plugins/github-actions.md)
45-
3. [helm-installer](../plugins/helm-installer/helm-installer.md)
46-
4. [argocdapp](../plugins/argocdapp.md)
43+
1. [repo-scaffolding](../../plugins/repo-scaffolding.md)
44+
2. [github-actions](../../plugins/github-actions.md)
45+
3. [helm-installer](../../plugins/helm-installer/helm-installer.md)
46+
4. [argocdapp](../../plugins/argocdapp.md)
4747

4848
不过,你不需要担心这些插件,因为 DevStream 会帮你自动管理它们。
4949

@@ -113,7 +113,7 @@ Use "dtm [command] --help" for more information about a command.
113113
114114
> 可选:你可以把 `dtm` 移动到 $PATH 环境变量中的某个目录下。例如:`mv dtm /usr/local/bin/`。这样,你就可以直接运行 `dtm` 而不需要再加上 `./` 前缀了。
115115
>
116-
> 更多安装方式详见[安装 dtm](../install.zh.md)。
116+
> 更多安装方式详见[安装 dtm](../../install.zh.md)。
117117
118118
---
119119
@@ -211,13 +211,13 @@ export IMAGE_REPO_PASSWORD="YOUR_DOCKERHUB_TOKEN_HERE"
211211
212212
DevStream 已经通过 `repo-scaffolding` 插件自动创建了一个仓库:
213213
214-
![](../images/gitops-a.png)
214+
![](../../images/gitops-a.png)
215215
216216
### 8.2 基于 GitHub Actions 的 CI 流水线
217217
218218
GitHub Actions 流水线已经被创建并运行:
219219
220-
![](../images/gitops-b.png)
220+
![](../../images/gitops-b.png)
221221
222222
### 8.3 Argo CD 的安装
223223

docs/use-cases/gitops/3-gitops-apps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 0 Goal
44

5-
In this tutorial, we will try to use DevStream's new feature "Apps" to achieve similar result to the [GitOps](./gitops-tools.md), but using much less configuration, to show the power of "Apps" in the config. If you haven't read the original GitOps best practice, click the above link first.
5+
In this tutorial, we will try to use DevStream's new feature "Apps" to achieve similar result to the [GitOps](./2-gitops-tools.md), but using much less configuration, to show the power of "Apps" in the config. If you haven't read the original GitOps best practice, click the above link first.
66

77
Two applications will be created (one Python, one Golang), CI/CD pipelines will be set up for both, and both apps will be deployed via Argo CD, just like the GitOps best practice.
88

@@ -23,7 +23,7 @@ mkdir test
2323
cd test/
2424
```
2525

26-
Download dtm (see the [GitOps](./gitops-tools.md) best practice if you haven't).
26+
Download dtm (see the [GitOps](./2-gitops-tools.md) best practice if you haven't).
2727

2828
Then generate the config file by running:
2929

@@ -108,7 +108,7 @@ tiexin@mbp ~/work/devstream-io/test $ ./dtm apply -f config.yaml -y
108108
109109
Let's continue to look at the results of the `apply` command.
110110

111-
Similar to what we did in the [GitOps](./gitops-tools.md) best practice, we can check that repositories for two applications are created, CI pipelins are created for both apps too, Argo CD is installed, and both apps are deployed by Argo CD into our Kubernetes cluster.
111+
Similar to what we did in the [GitOps](./2-gitops-tools.md) best practice, we can check that repositories for two applications are created, CI pipelins are created for both apps too, Argo CD is installed, and both apps are deployed by Argo CD into our Kubernetes cluster.
112112

113113
---
114114

docs/use-cases/gitops/3-gitops-apps.zh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 0 目标
44

5-
在本教程中,我们会使用 DevStream 的新特性 应用(Apps),来达到与 [GitOps](gitops-tools.zh.md) 相似的效果。但它的配置更短,来展示 应用 的强大能力。如果你还没有读过原始的 GitOps 最佳实践,可以先点击前面的链接。
5+
在本教程中,我们会使用 DevStream 的新特性 应用(Apps),来达到与 [GitOps](2-gitops-tools.zh.md) 相似的效果。但它的配置更短,来展示 应用 的强大能力。如果你还没有读过原始的 GitOps 最佳实践,可以先点击前面的链接。
66

77
我们会创建两个应用程序(一个基于 Python,另一个是 Go 语言),并且创建共用的 CI/CD 流水线,即两个应用程序都会通过 Argo CD 来部署,就像前面的 GitOps 做到的那样。
88

@@ -23,7 +23,7 @@ mkdir test
2323
cd test/
2424
```
2525

26-
下载 dtm(详见 [GitOps](./gitops-tools.zh.md) 最佳实践,如果你还没有下载过的话)
26+
下载 dtm(详见 [GitOps](./2-gitops-tools.zh.md) 最佳实践,如果你还没有下载过的话)
2727

2828
运行以下命令以生成配置文件:
2929

@@ -106,7 +106,7 @@ tiexin@mbp ~/work/devstream-io/test $ ./dtm apply -f config.yaml -y
106106
107107
让我们来继续看看 `apply` 命令的结果:
108108
109-
与我们在[GitOps](./gitops-tools.zh.md)最佳实践中所做的类似,我们可以检查 dtm 是否为两个应用程序创建了代码仓库并为其创建了 CI 流水线,同时安装了 Argo CD,而且两个应用程序都使用了 Argo CD 来部署到了 Kubernetes 集群中。
109+
与我们在[GitOps](./2-gitops-tools.zh.md)最佳实践中所做的类似,我们可以检查 dtm 是否为两个应用程序创建了代码仓库并为其创建了 CI 流水线,同时安装了 Argo CD,而且两个应用程序都使用了 Argo CD 来部署到了 Kubernetes 集群中。
110110
111111
---
112112

0 commit comments

Comments
 (0)