Skip to content

Commit 9ae1e11

Browse files
committed
chore(docs): add offtopic with local project initialization steps
Signed-off-by: Evgeniy Frolov <evgeniy.frolov@flant.com>
1 parent 2067cbf commit 9ae1e11

28 files changed

Lines changed: 89 additions & 6 deletions

File tree

bin/configurator/static/_includes/en/configurator/partials/ci/argocd_host_project_section.md.liquid

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,14 @@ This is what the repository that uses werf for building and deploying might look
8989

9090
{% if include.type == "docker" %}
9191
{% tree_file_viewer '/examples/configurator/ci-cd/simple/argocd-with-gitlab-ci-cd/host-runner/linux/docker' default_file='.gitlab-ci.yml' %}
92+
9293
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/argocd-with-gitlab-ci-cd/host-runner/linux/docker" %}
94+
9395
{% elsif include.type == "buildah" %}
9496
{% tree_file_viewer '/examples/configurator/ci-cd/simple/argocd-with-gitlab-ci-cd/host-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
97+
9598
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/argocd-with-gitlab-ci-cd/host-runner/linux/buildah" %}
99+
96100
{% endif %}
97101

98102
Extras:
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Initialize the demo project on the local machine:
1+
{% offtopic title="Working with sources locally" %}
22

33
```bash
44
git clone https://github.com/werf/website
@@ -7,4 +7,5 @@ cd example
77
git init
88
git add .
99
git commit -m-
10-
```
10+
```
11+
{% endofftopic %}

bin/configurator/static/_includes/en/configurator/partials/ci/gitlab_project_main_section.md.liquid

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,40 +48,64 @@ This is how the repository that uses werf for build and deploy might look:
4848

4949
{% if include.type == "docker-buildah" %}
5050
{% tree_file_viewer '/examples/configurator/ci-cd/simple/gitlab-ci-cd/docker-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
51+
5152
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/gitlab-ci-cd/docker-runner/linux/buildah" %}
53+
5254
{% elsif include.type == "host-buildah" %}
5355
{% tree_file_viewer '/examples/configurator/ci-cd/simple/gitlab-ci-cd/host-runner/linux/docker' default_file='.gitlab-ci.yml' %}
56+
5457
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/gitlab-ci-cd/host-runner/linux/docker" %}
58+
5559
{% elsif include.type == "host-linux-buildah" %}
5660
{% tree_file_viewer '/examples/configurator/ci-cd/simple/gitlab-ci-cd/host-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
61+
5762
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/gitlab-ci-cd/host-runner/linux/buildah" %}
63+
5864
{% elsif include.type == "kubernetes-linux-buildah" %}
5965
{% tree_file_viewer '/examples/configurator/ci-cd/simple/gitlab-ci-cd/kubernetes-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
66+
6067
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/gitlab-ci-cd/kubernetes-runner/linux/buildah" %}
68+
6169
{% elsif include.type == "best-monorepo-linux-buildah" %}
6270
{% tree_file_viewer '/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/monorepo/host-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
71+
6372
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/monorepo/host-runner/linux/buildah" %}
73+
6474
{% elsif include.type == "best-monorepo-linux-docker" %}
6575
{% tree_file_viewer '/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/monorepo/host-runner/linux/docker' default_file='.gitlab-ci.yml' %}
76+
6677
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/monorepo/host-runner/linux/docker" %}
78+
6779
{% elsif include.type == "best-monorepo-kubernetes" %}
6880
{% tree_file_viewer '/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/monorepo/kubernetes-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
81+
6982
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/monorepo/kubernetes-runner/linux/buildah" %}
83+
7084
{% elsif include.type == "best-monorepo-docker" %}
7185
{% tree_file_viewer '/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/monorepo/docker-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
86+
7287
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/monorepo/docker-runner/linux/buildah" %}
88+
7389
{% elsif include.type == "best-application-docker" %}
7490
{% tree_file_viewer '/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/app-repo/docker-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
91+
7592
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/app-repo/docker-runner/linux/buildah" %}
93+
7694
{% elsif include.type == "best-application-buildah" %}
7795
{% tree_file_viewer '/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/app-repo/host-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
96+
7897
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/app-repo/host-runner/linux/buildah" %}
98+
7999
{% elsif include.type == "best-application-host-docker" %}
80100
{% tree_file_viewer '/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/app-repo/host-runner/linux/docker' default_file='.gitlab-ci.yml' %}
101+
81102
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/app-repo/host-runner/linux/docker" %}
103+
82104
{% elsif include.type == "best-application-kubernetes-buildah" %}
83105
{% tree_file_viewer '/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/app-repo/kubernetes-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
106+
84107
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/best-practice/with-per-repo-ci-cd/gitlab-ci-cd/app-repo/kubernetes-runner/linux/buildah" %}
108+
85109
{% endif %}
86110

87111
Extras:

bin/configurator/static/_includes/en/configurator/partials/dev/run_main_block.md.liquid

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Contents of the demo project:
1515

1616
{% tree_file_viewer '/examples/configurator/local-dev' default_file='werf.yaml' %}
1717

18-
Initialize the demo project on the local machine:
18+
{% offtopic title="Working with sources locally" %}
1919

2020
```{{include.shell}}
2121
git clone https://github.com/werf/website
@@ -29,6 +29,8 @@ git init
2929
git add .
3030
git commit -m-
3131
```
32+
{% endofftopic %}
33+
3234
{% if include.buildah == true and include.os == "linux" %}
3335
Activate Buildah builder:
3436

bin/configurator/static/_includes/en/configurator/tab/ci/argocd-with-gitlab-ci-cd/simple/docker-runner/linux/buildah/project.md.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ EOF
7878
This is what the repository that uses werf for building and deploying might look like:
7979

8080
{% tree_file_viewer '/examples/configurator/ci-cd/simple/argocd-with-gitlab-ci-cd/docker-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
81+
8182
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/argocd-with-gitlab-ci-cd/docker-runner/linux/buildah" %}
8283

8384
Extras:

bin/configurator/static/_includes/en/configurator/tab/ci/argocd-with-gitlab-ci-cd/simple/kubernetes-runner/linux/buildah/project.md.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ EOF
7878
This is what the repository that uses werf for building and deploying might look like:
7979

8080
{% tree_file_viewer '/examples/configurator/ci-cd/simple/argocd-with-gitlab-ci-cd/kubernetes-runner/linux/buildah' default_file='.gitlab-ci.yml' %}
81+
8182
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/argocd-with-gitlab-ci-cd/kubernetes-runner/linux/buildah" %}
8283

8384
Extras:

bin/configurator/static/_includes/en/configurator/tab/ci/github-actions/simple/docker-runner/linux/buildah/project.md.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
This is how the repository that uses werf for build and deploy might look:
2828

2929
{% tree_file_viewer '/examples/configurator/ci-cd/simple/github-actions/docker-runner/linux/buildah' default_file='.github/workflows/prod.yml' %}
30+
3031
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/github-actions/docker-runner/linux/buildah" %}
3132

3233
Extras:

bin/configurator/static/_includes/en/configurator/tab/ci/github-actions/simple/host-runner/linux/buildah/project.md.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
This is how the repository that uses werf for build and deploy might look:
2828

2929
{% tree_file_viewer '/examples/configurator/ci-cd/simple/github-actions/host-runner/linux/buildah' default_file='.github/workflows/prod.yml' %}
30+
3031
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/github-actions/host-runner/linux/buildah" %}
3132

3233
Extras:

bin/configurator/static/_includes/en/configurator/tab/ci/github-actions/simple/host-runner/linux/docker/project.md.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
This is how the repository that uses werf for build and deploy might look:
2828

2929
{% tree_file_viewer '/examples/configurator/ci-cd/simple/github-actions/host-runner/linux/docker' default_file='.github/workflows/prod.yml' %}
30+
3031
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/github-actions/host-runner/linux/docker" %}
3132

3233
Extras:

bin/configurator/static/_includes/en/configurator/tab/ci/github-actions/simple/kubernetes-runner/linux/buildah/project.md.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
This is how the repository that uses werf for build and deploy might look:
2626

2727
{% tree_file_viewer '/examples/configurator/ci-cd/simple/github-actions/kubernetes-runner/linux/buildah' default_file='.github/workflows/prod.yml' %}
28+
2829
{% include configurator/partials/ci/file_viewer_local_example.md.liquid path="website/examples/configurator/ci-cd/simple/github-actions/kubernetes-runner/linux/buildah" %}
2930

3031
Extras:

0 commit comments

Comments
 (0)