Skip to content

Commit 6705843

Browse files
authored
docs: add upgrade instructions for CE v1.1.0 (#183)
## 📝 Description Update installation instructions to use v1.1.0 Add upgrade instructions to go from v1.0.1 to v1.1.0 See #139 ## ✅ Checklist - [X] I have tested this change - [ ] This change requires documentation update
1 parent 25ef3e4 commit 6705843

File tree

7 files changed

+152
-13
lines changed

7 files changed

+152
-13
lines changed

docs/docs-contributing/VERSIONING.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,20 @@ The latest version ID is always "CE" (without the semver). Older versions have t
2323

2424
For example:
2525

26-
- Latest version: "CE"
26+
- Latest version: "CE" (could be v2.0 or greater)
2727
- Version 1.0: "CE-1.0"
2828
- Version 1.1: "CE-1.1"
2929

30+
When a new version is released, update the version number on `docusaurus.config.js`
31+
32+
```js
33+
"CE": {
34+
label: 'Community Edition (1.1)',
35+
path: 'CE',
36+
banner: "none"
37+
}
38+
```
39+
3040
### Enterprise Edition
3141

3242
The latest version ID is always "EE" (without the semver). Older versions have the semver appended.

docs/docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const config = {
6565
banner: "none",
6666
},
6767
"CE": {
68-
label: 'Community Edition (1.0)',
68+
label: 'Community Edition (1.1)',
6969
path: 'CE',
7070
banner: "none"
7171
}
@@ -184,7 +184,7 @@ const config = {
184184
// This is an optional announcement bar. It goes on the top of the page
185185
announcementBar: {
186186
id: `announcementBar-1`,
187-
content: `⭐️ If you like Semaphore, <b>give it a star</b> on <a target="_blank" rel="noopener noreferrer" href="https://github.com/semaphoreio/semaphore">GitHub</a> and follow us on <a target="_blank" rel="noopener noreferrer" href="https://twitter.com/semaphoreci">X (Twitter)</a>`,
187+
content: `Semaphore CE <strong>v1.1.0 is out</strong> — ⭐️ If you like Semaphore, <em>give it a star</em> on <a target="_blank" rel="noopener noreferrer" href="https://github.com/semaphoreio/semaphore">GitHub</a>`,
188188
backgroundColor: '#49a26e',
189189
textColor: '#f5f6f7'
190190
},

docs/versioned_docs/version-CE/getting-started/install-aws-ec2.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,9 @@ kubectl wait --timeout=90s --for=condition=available deployment emissary-apiext
329329
Finally, install the Semaphore with Helm:
330330

331331
```shell
332-
helm upgrade --install --debug semaphore oci://ghcr.io/semaphoreio/semaphore \
333-
--version v1.0.1 \
332+
helm upgrade --install semaphore oci://ghcr.io/semaphoreio/semaphore \
333+
--debug \
334+
--version v1.1.0 \
334335
--timeout 20m \
335336
--set global.domain.ip=${IP_ADDRESS} \
336337
--set global.domain.name=${DOMAIN} \
@@ -397,6 +398,31 @@ Once your have Semaphore up and running, check out the following pages to finish
397398
- [Invite users](../using-semaphore/organizations#people): invite users to your instance so they can start working on projects
398399
- [Add self-hosted agents](../using-semaphore/self-hosted): add more machines to scale up the capacity of your CI/CD platform
399400

401+
## How to Upgrade Semaphore {#upgrade}
402+
403+
To upgrade Semaphore from version `v1.0.x`, follow these steps:
404+
405+
<Steps>
406+
407+
1. Connect to your server running Semaphore (see [Step 7](#env))
408+
2. Check that you can access the Kubernetes cluster (k3s):
409+
410+
```shell
411+
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
412+
kubectl get nodes
413+
```
414+
415+
3. Run the following command to upgrade to `v1.1.0`
416+
417+
```shell
418+
helm upgrade --install semaphore oci://ghcr.io/semaphoreio/semaphore \
419+
--debug \
420+
--version v1.1.0 \
421+
--reuse-values
422+
```
423+
424+
</Steps>
425+
400426
## How to Uninstall Semaphore from AWS EC2
401427

402428
If you want to completely uninstall Semaphore, follow these steps.

docs/versioned_docs/version-CE/getting-started/install-eks.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,9 @@ echo "CERT_NAME=${CERT_NAME}"
146146
Install Semaphore with Helm:
147147

148148
```shell
149-
helm upgrade --install --debug semaphore oci://ghcr.io/semaphoreio/semaphore \
150-
--version v1.0.1 \
149+
helm upgrade --install semaphore oci://ghcr.io/semaphoreio/semaphore \
150+
--debug \
151+
--version v1.1.0 \
151152
--timeout 20m \
152153
--set global.domain.name="${DOMAIN}" \
153154
--set ingress.ssl.certName="${CERT_NAME}" \
@@ -211,6 +212,30 @@ Once your have Semaphore up and running, check out the following pages to finish
211212
- [Guided tour](./guided-tour): complete the guided tour to get familiarized with Semaphore Community Edition
212213
- [Add self-hosted agents](../using-semaphore/self-hosted): add more machines to scale up the capacity of your CI/CD platform
213214

215+
## How to Upgrade Semaphore {#upgrade}
216+
217+
To upgrade Semaphore from version `v1.0.x`, follow these steps:
218+
219+
<Steps>
220+
221+
1. Connect to your AWS EKS cluster (see [Step 5](#crds))
222+
2. Check that you can access the Kubernetes cluster:
223+
224+
```shell
225+
kubectl get nodes
226+
```
227+
228+
3. Run the following command to upgrade to `v1.1.0`
229+
230+
```shell
231+
helm upgrade --install semaphore oci://ghcr.io/semaphoreio/semaphore \
232+
--debug \
233+
--version v1.1.0 \
234+
--reuse-values
235+
```
236+
237+
</Steps>
238+
214239
## How to Uninstall Semaphore from EKS
215240

216241
If you want to completely uninstall Semaphore, follow these steps.

docs/versioned_docs/version-CE/getting-started/install-gcompute.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,9 @@ kubectl wait --timeout=90s --for=condition=available deployment emissary-apiext
321321
Finally, install Semaphore with Helm:
322322

323323
```shell title="remote shell - install Semaphore"
324-
helm upgrade --install --debug semaphore oci://ghcr.io/semaphoreio/semaphore \
325-
--version v1.0.1 \
324+
helm upgrade --install semaphore oci://ghcr.io/semaphoreio/semaphore \
325+
--debug \
326+
--version v1.1.0 \
326327
--timeout 20m \
327328
--set global.domain.ip=${IP_ADDRESS} \
328329
--set global.domain.name=${DOMAIN} \
@@ -390,6 +391,30 @@ Once you have Semaphore up and running, check out the following pages to finish
390391
- [Invite users](../using-semaphore/organizations#people): invite users to your instance so they can start working on projects
391392
- [Add self-hosted agents](../using-semaphore/self-hosted): add more machines to scale up the capacity of your CI/CD platform
392393

394+
## How to Upgrade Semaphore {#upgrade}
395+
396+
To upgrade Semaphore from version `v1.0.x`, follow these steps:
397+
398+
<Steps>
399+
400+
1. Connect to your server running Semaphore (see [Step 8](#env))
401+
2. Check that you can access the Kubernetes cluster (k3s):
402+
403+
```shell
404+
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
405+
kubectl get nodes
406+
```
407+
408+
3. Run the following command to upgrade to `v1.1.0`
409+
410+
```shell
411+
helm upgrade --install semaphore oci://ghcr.io/semaphoreio/semaphore \
412+
--version v1.1.0 \
413+
--reuse-values
414+
```
415+
416+
</Steps>
417+
393418
## How to Uninstall Semaphore from Google Compute
394419

395420
If you want to completely uninstall Semaphore, follow these steps.

docs/versioned_docs/version-CE/getting-started/install-gke.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,9 @@ ls certs/live/${DOMAIN}/privkey.pem certs/live/${DOMAIN}/fullchain.pem
278278
Run the following to install Semaphore:
279279

280280
```shell title="Install Semaphore"
281-
helm upgrade --install --debug semaphore oci://ghcr.io/semaphoreio/semaphore \
282-
--version v1.0.1 \
281+
helm upgrade --install semaphore oci://ghcr.io/semaphoreio/semaphore \
282+
--debug \
283+
--version v1.1.0 \
283284
--timeout 20m \
284285
--set global.domain.ip=${IP_ADDRESS} \
285286
--set global.domain.name="${DOMAIN}" \
@@ -371,6 +372,30 @@ Once your have Semaphore up and running, check out the following pages to finish
371372
- [Guided tour](./guided-tour): complete the guided tour to get familiarized with Semaphore Community Edition
372373
- [Add self-hosted agents](../using-semaphore/self-hosted): add more machines to scale up the capacity of your CI/CD platform
373374
375+
## How to Upgrade Semaphore {#upgrade}
376+
377+
To upgrade Semaphore from version `v1.0.x`, follow these steps:
378+
379+
<Steps>
380+
381+
1. Connect to your Google project (see [Step 2](#setup))
382+
2. Check that you can access the Kubernetes cluster:
383+
384+
```shell
385+
kubectl get nodes
386+
```
387+
388+
3. Run the following command to upgrade to `v1.1.0`
389+
390+
```shell
391+
helm upgrade --install semaphore oci://ghcr.io/semaphoreio/semaphore \
392+
--debug \
393+
--version v1.1.0 \
394+
--reuse-values
395+
```
396+
397+
</Steps>
398+
374399
## How to Uninstall Semaphore from GKE
375400
376401
If you want to completely uninstall Semaphore, follow these steps.

docs/versioned_docs/version-CE/getting-started/install-ubuntu.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,9 @@ kubectl wait --timeout=90s --for=condition=available deployment emissary-apiext
196196
Finally, install Semaphore with Helm:
197197

198198
```shell title="remote shell - install Semaphore"
199-
helm upgrade --install --debug semaphore oci://ghcr.io/semaphoreio/semaphore \
200-
--version v1.0.1 \
199+
helm upgrade --install semaphore oci://ghcr.io/semaphoreio/semaphore \
200+
--debug \
201+
--version v1.1.0 \
201202
--timeout 20m \
202203
--set global.domain.ip=${IP_ADDRESS} \
203204
--set global.domain.name=${DOMAIN} \
@@ -265,6 +266,33 @@ Once you have Semaphore up and running, check out the following pages to finish
265266
- [Invite users](../using-semaphore/organizations#people): invite users to your instance so they can start working on projects
266267
- [Add self-hosted agents](../using-semaphore/self-hosted): add more machines to scale up the capacity of your CI/CD platform
267268

269+
270+
## How to Upgrade Semaphore {#upgrade}
271+
272+
To upgrade Semaphore from version `v1.0.x`, follow these steps:
273+
274+
<Steps>
275+
276+
1. Connect to your server running Semaphore via SSH
277+
2. Check that you can access the Kubernetes cluster (k3s):
278+
279+
```shell
280+
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
281+
kubectl get nodes
282+
```
283+
284+
3. Run the following command to upgrade to `v1.1.0`
285+
286+
```shell
287+
helm upgrade --install semaphore oci://ghcr.io/semaphoreio/semaphore \
288+
--debug \
289+
--version v1.1.0 \
290+
--reuse-values
291+
```
292+
293+
</Steps>
294+
295+
268296
## How to Uninstall Semaphore
269297

270298
If you want to completely uninstall Semaphore, follow these steps.

0 commit comments

Comments
 (0)