-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update getting-started.md As the Jenkins tutorials were condensed into one, update this file to point to the full tutorial. * Update index.md (ISD-2291) Adopt template landing page: - Removed jargon from overview section - Added "project and community" section - Updated links * Update order of Contents section (ISD-2323) * Update contents section (ISD-2298) Update the how-to page title to follow the convention laid out in the style guide * Update actions.md (ISD-2304) Add link to Juju docs * Update configurations.md (ISD-2304) - "Configure" --> "Configurations" - Add link to Juju docs * Update integrations.md (ISD-2318) Put example command in command block * Junkins --> Jenkins * update trivyignore --------- Co-authored-by: Arturo Seijas <[email protected]>
- Loading branch information
1 parent
9b7b145
commit 050c531
Showing
6 changed files
with
35 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
CVE-2023-45288 | ||
CVE-2024-24790 | ||
CVE-2024-34156 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Actions | ||
|
||
See [Actions](https://charmhub.io/jenkins-agent-k8s/actions). | ||
See [Actions](https://charmhub.io/jenkins-agent-k8s/actions). | ||
|
||
> Read more about actions in the Juju docs: [Action](https://juju.is/docs/juju/action) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Configurations | ||
|
||
See [Configure](https://charmhub.io/jenkins-agent-k8s/configure). | ||
See [Configurations](https://charmhub.io/jenkins-agent-k8s/configure). | ||
|
||
> Read more about configurations in the Juju docs: [Configuration](https://juju.is/docs/juju/configuration) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,3 @@ | ||
# Quick guide | ||
# Deploy the jenkins-agent-k8s-operator charm for the first time | ||
|
||
## What you’ll do | ||
|
||
- Deploy the [Jenkins agent k8s charm](https://charmhub.io/jenkins-agent-k8s). | ||
- Integrate with [the Jenkins charm](https://charmhub.io/jenkins) | ||
|
||
Through the process, you'll inspect the Kubernetes resources created and verify the workload state. | ||
|
||
## Requirements | ||
|
||
- Juju 3 installed. | ||
- Juju controller and model created. | ||
|
||
For more information about how to install Juju, see [Get started with Juju](https://juju.is/docs/olm/get-started-with-juju). | ||
|
||
### Deploy the Jenkins agent k8s charm | ||
|
||
Since the Jenkins agent k8s charm requires a connection to Jenkins, you'll deploy the Jenkins charm too. For more information, see [Charm Architecture](https://charmhub.io/jenkins-agent-k8s/docs/explanation-charm-architecture). | ||
|
||
|
||
Deploy the charms: | ||
|
||
```bash | ||
juju deploy jenkins-agent-k8s | ||
juju deploy jenkins-k8s | ||
``` | ||
|
||
To see the pod created by the Jenkins agent k8s charm, run `kubectl get pods` on a namespace named for the Juju model you've deployed the charm into. The output is similar to the following: | ||
|
||
```bash | ||
NAME READY STATUS RESTARTS AGE | ||
jenkins-agent-k8s-0 2/2 Running 0 2m2s | ||
``` | ||
|
||
Run [`juju status`](https://juju.is/docs/olm/juju-status) to see the current status of the deployment. In the Unit list, you can see that Jenkins agent k8s is waiting: | ||
|
||
```bash | ||
jenkins-agent-k8s/0* blocked idle 10.1.180.75 Waiting for config/relation. | ||
``` | ||
|
||
This means that Jenkins k8s agent charm isn't integrated with Jenkins yet. | ||
|
||
### Integrate with the Jenkins charm | ||
|
||
Provide integration between Jenkins agent k8s and Jenkins by running the following [`juju integrate`](https://juju.is/docs/juju/juju-integrate) command: | ||
|
||
```bash | ||
juju integrate jenkins-k8s jenkins-agent-k8s | ||
``` | ||
|
||
Run `juju status` and wait until the Application status is `Active` as the following example: | ||
|
||
Optional: run `juju status --relations --watch 5s` to watch the status every 5 seconds with the Relations section. | ||
|
||
```bash | ||
App Version Status Scale Charm Channel Rev Address Exposed Message | ||
jenkins-agent-k8s active 1 jenkins-agent-k8s stable 18 10.152.183.135 no | ||
|
||
``` | ||
|
||
The deployment finishes when the status shows "Active". | ||
See the [full Jenkins tutorial](https://charmhub.io/jenkins-k8s/docs/tutorial-getting-started) in the jenkins-k8s-operator documentation. |