Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebaslineing #188

Open
wants to merge 30 commits into
base: cloudbees-cdro-compliance
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
cb2c2a9
reformat
zvercodebender Sep 18, 2023
6d9ab42
Merge branch 'main' into cd-ro-workshop
zvercodebender Sep 18, 2023
615335e
Merge pull request #178 from cloudbees-days/cd-ro-workshop
zvercodebender Sep 18, 2023
84aed31
fix broken link
zvercodebender Sep 18, 2023
9d16b91
Merge pull request #179 from cloudbees-days/cd-ro-workshop
zvercodebender Sep 18, 2023
5169fdb
update workshop catalog
zvercodebender Sep 18, 2023
769dfc9
Update Building Application
zvercodebender Sep 20, 2023
cb3b722
Merge pull request #180 from cloudbees-days/cd-ro-workshop
zvercodebender Sep 20, 2023
b3d540b
up to release from pipeline
zvercodebender Sep 20, 2023
1d7c638
Merge pull request #181 from cloudbees-days/cd-ro-workshop
zvercodebender Sep 20, 2023
5a73af6
fix microservice application table
zvercodebender Oct 2, 2023
fe2e986
Merge pull request #182 from cloudbees-days/cd-ro-workshop
zvercodebender Oct 2, 2023
a95b0ad
fix image links
zvercodebender Oct 2, 2023
134eb3f
Merge pull request #183 from cloudbees-days/cd-ro-workshop
zvercodebender Oct 2, 2023
f067151
Merge pull request #184 from cloudbees-days/cloudbees-cdro-compliance
zvercodebender Oct 13, 2023
605dc70
Merge pull request #185 from cloudbees-days/cloudbees-cdro-compliance
zvercodebender Oct 16, 2023
328b338
updates to lab order (#186)
wasabibob Oct 16, 2023
80f0de2
Cloudbees cdro compliance (#187)
wasabibob Oct 16, 2023
927d273
Update pipeline-template-catalog.md
johns2te Oct 17, 2023
aa7f86e
Update pipeline-template-catalog.md
johns2te Oct 17, 2023
66e07c6
Update pre-workshop-setup.md
johns2te Oct 17, 2023
f163d7a
Update pipeline-template-catalog.md
johns2te Oct 17, 2023
f030630
Merge pull request #190 from cloudbees-days/johns2te-patch-1
johns2te Oct 17, 2023
cdecd0e
Update casc.md
johns2te Oct 17, 2023
1943b33
Update pipeline-policies.md
johns2te Oct 17, 2023
2bbba49
Update _index.md
johns2te Oct 17, 2023
e91a725
Update pre-workshop-setup.md
johns2te Oct 17, 2023
19f3688
Update cloudbees-ci-login.md
johns2te Oct 17, 2023
f21b6d9
Update rbac-casc.md
johns2te Oct 17, 2023
08490da
removed lab content, will merge back in later
wasabibob Oct 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion labs/cloudbees-cdro-compliance/content/labs/01_pre-reqs.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Pre-requisites"
chapter: false
weight: 2
weight: 1
---

Welcome to the workshop.
Expand Down

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.

This file was deleted.

Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.

This file was deleted.

Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.

This file was deleted.

Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.

This file was deleted.

Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ With a release pipeline in place you can be certain that all the operations occu

When you're first logged in you'll see something that looks like this.

![Release screen](basic-release/1.png)
![Release screen](1.png)

This is where you'll see all the release across everyone's projects. You can filter this down using the set of filters at the top. We'll come back to this in a minute.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ As you can see, there are two big components standing out here. There is the mic

First we'll start with the microservice definition on the left. This is where you'll specify the Helm chart you want to deploy as well as any values you need to pass in.

To begin, click the inner, pink "New microservice" button which will bring up the necessary form.
To begin, click on the blue "Add microservice" button which will bring up the necessary form.
![New microservice button](new-microservice-button.png)


Expand All @@ -104,7 +104,7 @@ Next you need to fill out the definition form.
| Description | *optional* | A field to help understand the context of this application |
| Definition type | `Helm` | The type of microservice deployment you want to run |
| Definition source | `Git repository` | The source for where to look for the target Helm chart. It could be a Helm registry, but for this workshop we're using a Git repo. |
| Configuration Name | `Git Bot` | The credentials to use for the Git connection when pulling the repository. In this case, we'll be using a shared GitHub service account since the repository is public. |
| Configuration Name | `cb-bot-Workshop` | The credentials to use for the Git connection when pulling the repository. In this case, we'll be using a shared GitHub service account since the repository is public. |
| Git repository | https://github.com/cloudbees-days/cdro-workshop-demo-app | The target repository where it will look for the Helm chart |
| Remote branch | `main` | The branch in GitHub it will checkout |
| Release name | `hello-app` | The name Helm will use to track your app release |
Expand Down Expand Up @@ -140,7 +140,7 @@ Now hit "OK" and the microservice component will be created.

Now, before we're able to deploy our newly-defined application, we need to define an environment to deploy it into.

Get started by clicking the "New cluster" button on the right side.
Get started by clicking the blue "+" button on the right side.
![New cluster](new-environment-1.png)

*It should be noted that we aren't creating a new Kubernetes cluster, but rather a new environment definition based on a cluster.*
Expand All @@ -155,16 +155,30 @@ Now you'll define the cluster environment.
| Environment name | `QA` | The name to identify your environment |
| Project | Select your project | The project inside which this environment will be stored |
| Environment description | *Optional* | A field to give textual details about this environment |
| Utility resource name | k8s-agent |

![New cluster - part 3](new-environment-3.png)

Next you'll define the cluster reference.

| Field | Value | Description |
| --- | --- | --- |
| Cluster name | `default` | A name to identify this cluster |
| Cluster description | *Optional* | A field to give textual details about this cluster |
| Configuration provider | `Kubernetes (via Helm)` | The type of environment you're defining |
| Configuration name | `helm` | A reference to a configuration that lets CD/RO know where to use Helm |
| Configuration name | `k8s-Workshop` | A reference to a configuration that lets CD/RO know where to use Helm |
| Namespace | `my-username-qa` | The Kubernetes namespace where your application will be deployed. You should update this to be YOUR_USERNAME-qa. |
| Kubeconfig context | | This allows you to target a specific cluster if your configuration is pointed at multiple. For this workshop you can leave this blank. |
| Utility resource name | `k8s-agent` | This is the name to identify the utility resource |
| Resource | `k8s-agent` | This is the agent which will communicate with the Kubernetes cluster |
| Resource | `k8s-agent-0` | This is the agent which will communicate with the Kubernetes cluster |

![New cluster - part 3](new-environment-3.png)
![New cluster - part 3](new-environment-4.png)

The last step in configuring our microservice application is to map the microservice (hello-app) to your environment (QA). To do that click on the ![Add mapping](AddMapping.png) button and map your application

| Mapping Tile | Mapped Application |
|--------|--------|
| ![mapping](mappingTile.png) | ![mapped](mappedApplication.png) |


## Running the deployment
Expand All @@ -191,7 +205,7 @@ You can click the top list item to see more detail on the overall run and you ca

### Visiting our application

Now we can visit the application we just deployed by visiting the URL from the values definition of our application. This will be in the form of `https://my-username.cdro-workshop.cb-demos.io`.
Now we can visit the application we just deployed by visiting the URL from the values definition of our application. This will be in the form of [https://my-username.cdro-workshop.cb-demos.io](https://my-username.cdro-workshop.cb-demos.io).

You should see the name of your username and the environment QA listed.

Expand Down
Loading