Skip to content

Commit 880049d

Browse files
authored
Link to CI/CD documentation after doing ad-hoc deployment (#2230)
1 parent 1ef75c0 commit 880049d

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

guides/deployment/cicd.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ cds add github-actions
3131
3232
### Deploy to Staging
3333

34-
The created workflows do a _Staging_ deployment for pushes on the `main` branch, for example after merging pull requests.
34+
The created workflows do a _Staging_ deployment for pushes on the `main` branch, usually after merging pull requests.
3535

3636
If no defaults are maintained in your GitHub org, a set of variables and secrets has to be provided. Open the repository and navigate here to maintain them:
3737

@@ -41,19 +41,19 @@ For a minimal deployment setup, these variables and secrets are required:
4141

4242
#### Cloud Foundry
4343

44-
| **Type** | **Name** | **Note** | **Example** |
45-
|------------|----------------|-----------|-------------------|
46-
| Variable | `CF_API` | API URL | `https://api.cf.example.com` |
47-
| | `CF_USERNAME` | Username | `user@example.com` |
48-
| | `CF_ORG` | Org Name | `my-org` |
49-
| | `CF_SPACE` | Space Name| `my-space` |
50-
| Secret | `CF_PASSWORD` | Password | `********` |
44+
| **Type** | **Name** | **Note** | **Example** |
45+
|------------|----------------|------------|-------------------|
46+
| Variable | `CF_API` | API URL | `https://api.cf.example.com` |
47+
| | `CF_USERNAME` | Username | `user@example.com` |
48+
| | `CF_ORG` | Org Name | `my-org` |
49+
| | `CF_SPACE` | Space Name | `my-space` |
50+
| Secret | `CF_PASSWORD` | Password | `********` |
5151

5252
#### Kyma
5353

5454
| **Type** | **Name** | **Note** | **Example** |
5555
|------------|----------------|-----------|-------------------|
56-
| Secret | `KUBE_CONFIG` | Base64-encoded Kubernetes config | see below |
56+
| Secret | `KUBE_CONFIG` | Base64-encoded Kubernetes config | see below |
5757

5858

5959
::: details Example of a decoded `KUBE_CONFIG`
@@ -80,7 +80,7 @@ contexts:
8080
user: ci-user
8181
current-context: ci-context
8282
```
83-
[Learn more about configuring Kubernetes](./to-kyma#configure-kubernetes){.learn-more style="margin-top:20px"}
83+
[Learn more about configuring Kubernetes](./to-kyma#configure-kubernetes){.learn-more}
8484

8585
:::
8686

@@ -107,7 +107,7 @@ You can now simply push any CAP project that was set up using `cds add github-ac
107107

108108
For the actual release we want to override org-wide sandbox variables to deploy to a different subaccount/organization and database.
109109

110-
Go to `Settings``Environments``New environment` → enter "Production".
110+
Go to **Settings****Environments****New environment** → enter "Production".
111111

112112
Now override org-wide variables (e.g. `CF_ORG` and `CF_SPACE` in Cloud Foundry) to use a dedicated subaccount you created for the release deployment.
113113

guides/deployment/to-cf.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,11 @@ sed -i 's/org.springframework.boot.loader.JarLauncher/-Dloader.main=com.sap.cds.
382382
383383
:::
384384
385+
## Next Up...
386+
387+
You would then [set up your CI/CD](../deployment/cicd) for automating deployments, for example after merging pull requests.
388+
389+
385390
<!--
386391
---
387392
{style="margin-top:11em"}

guides/deployment/to-kyma.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,10 @@ Try out the [CAP SFLIGHT](https://github.com/SAP-samples/cap-sflight)
236236
and [CAP for Java](https://github.com/SAP-samples/cloud-cap-samples-java) examples on Kyma.
237237
::: -->
238238

239-
---
239+
## Next Up...
240+
241+
You would then [set up your CI/CD](../deployment/cicd) for automating deployments, for example after merging pull requests.
242+
240243
{style="margin-top:11em"}
241244

242245
## Deep Dives

0 commit comments

Comments
 (0)