-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
034bdf5
commit 927d0c7
Showing
15 changed files
with
259 additions
and
167 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
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
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
This file was deleted.
Oops, something went wrong.
52 changes: 52 additions & 0 deletions
52
docs/content/en/docs/Jikkou CLI/Automating/GitHubActions.md
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
title: "Automate Jikkou with GitHub Actions" | ||
linkTitle: "GitHub Actions" | ||
weight: 3 | ||
description: > | ||
Learn Jikkou Setup Github Action in your CI/CD Workflows | ||
--- | ||
|
||
## Setup Jikkou | ||
|
||
The [`streamthoughts/setup-jikkou`](https://github.com/streamthoughts/setup-jikkou) action is a JavaScript action that | ||
sets up Jikkou in your **GitHub Actions** workflow by: | ||
|
||
* Downloading a specific version of **Jikkou CLI** and adding it to the `PATH`. | ||
* Configuring **JIKKOU CLI** with a custom configuration file. | ||
|
||
After you've used the action, subsequent steps in the same job can run arbitrary Jikkou commands using the GitHub | ||
Actions run syntax. This allows most Jikkou commands to work exactly like they do on your local command line. | ||
|
||
### Usage | ||
|
||
```yaml | ||
steps: | ||
- uses: streamthoughts/setup-jikkou@v1 | ||
``` | ||
A specific version of Jikkou CLI can be installed: | ||
```yaml | ||
steps: | ||
- uses: streamthoughts/[email protected] | ||
with: | ||
jikkou_version: 0.29.0 | ||
``` | ||
A custom configuration file can be specified: | ||
```yaml | ||
steps: | ||
- uses: streamthoughts/[email protected] | ||
with: | ||
jikkou_config: ./config/jikkouconfig.json | ||
``` | ||
### Inputs | ||
This Action additionally supports the following inputs : | ||
| Property | Default | Description | | ||
|------------------|----------|--------------------------------------------------------------------------------------------------------------------------------| | ||
| `jikkou_version` | `latest` | The version of Jikkou CLI to install. A value of `latest` will install the latest version of Jikkou CLI. | | ||
| `jikkou_config` | | The path to the Jikkou CLI config file. If set, Jikkou CLI will be configured through the `JIKKOUCONFIG` environment variable. | |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: "Automating Jikkou" | ||
linkTitle: "Automating Jikkou" | ||
weight: 3 | ||
description: > | ||
Learn automating Jikkou | ||
--- | ||
|
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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
title: "Basic CLI Features" | ||
linkTitle: "Basic CLI Features" | ||
weight: 1 | ||
description: | ||
--- | ||
|
||
{{% pageinfo %}} | ||
**Hands-on:** Try the Jikkou: [Get Started tutorials]({{% relref "../Tutorials/get_started.md" %}}). | ||
{{% /pageinfo %}} | ||
|
||
The command line interface to **Jikkou** is the `jikkou` command, which accepts a variety of subcommands such as | ||
`jikkou apply` or `jikkou validate`. | ||
|
||
To view a list of the commands available in your current Jikkou version, run `jikkou` with no additional arguments: | ||
|
||
```bash | ||
Usage: | ||
jikkou [-hV] [COMMAND] | ||
|
||
|
||
Jikkou CLI:: A command-line client designed to provide an efficient and easy way to manage, automate, and provision resources for any kafka infrastructure. | ||
|
||
Find more information at: https://streamthoughts.github.io/jikkou/. | ||
|
||
Options: | ||
|
||
-h, --help Show this help message and exit. | ||
-V, --version Print version information and exit. | ||
|
||
Commands: | ||
|
||
create Create resources from the resource definition files (only non-existing resources will be created). | ||
delete Delete resources that are no longer described by the resource definition files. | ||
update Create or update resources from the resource definition files | ||
apply Update the resources as described by the resource definition files. | ||
resources List supported resources | ||
extensions List or describe the extensions of Jikkou | ||
config Sets or retrieves the configuration of this client | ||
diff Display all resource changes. | ||
validate Validate resource definition files. | ||
health Print or describe health indicators. | ||
help Display help information about the specified command. | ||
get List and describe all resources of a specific kind. | ||
``` | ||
|
||
(The output from your current Jikkou version may be different than the above example.) | ||
|
||
## Checking Jikkou Version | ||
|
||
Run the `jikkou --version` to display your current installation version: | ||
|
||
```bash 2 ↵ | ||
Jikkou version "0.29.0" 2023-09-29 | ||
JVM: 17.0.7 (Oracle Corporation Substrate VM 17.0.7+8-LTS) | ||
``` | ||
|
||
## Shell Tab-completion | ||
|
||
It is recommended to install the bash/zsh completion script `jikkou_completion`. | ||
|
||
The completion script can be downloaded from the project Github repository: | ||
|
||
```bash | ||
wget https://raw.githubusercontent.com/streamthoughts/jikkou/main/jikkou_completion . jikkou_completion | ||
``` | ||
|
||
or alternatively, you can run the following command to generate it. | ||
|
||
```bash | ||
source <(jikkou generate-completion) | ||
``` | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: "Jikkou CLI Documentation" | ||
linkTitle: "Jikkou CLI" | ||
weight: 3 | ||
description: > | ||
Learn Jikkou's CLI-based workflows. | ||
--- | ||
|
||
{{% pageinfo %}} | ||
**Hands-on:** Try the Jikkou: [Get Started tutorials]({{% relref "../Tutorials/get_started.md" %}}). | ||
{{% /pageinfo %}} | ||
|
Oops, something went wrong.