-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automate adding new operands and generating documentation (#2156)
* Automate adding new operands and generating documentation * Update README.md Co-authored-by: Vittorio Rigamonti <[email protected]> --------- Co-authored-by: Vittorio Rigamonti <[email protected]>
- Loading branch information
1 parent
e1eb70d
commit 233f3d5
Showing
21 changed files
with
428 additions
and
215 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 |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: Add Operand | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
image: | ||
description: "The FQN of the Operand image" | ||
required: true | ||
type: string | ||
version: | ||
description: "The upstream-version of the Operand" | ||
required: true | ||
type: string | ||
ref: | ||
description: "The git reference to checkout" | ||
required: false | ||
default: main | ||
type: string | ||
repository: | ||
description: "The git repository to checkout" | ||
required: false | ||
type: string | ||
|
||
workflow_dispatch: | ||
inputs: | ||
image: | ||
description: "The FQN of the Operand image" | ||
required: true | ||
type: string | ||
version: | ||
description: "The upstream-version of the Operand" | ||
required: true | ||
type: string | ||
ref: | ||
description: "The git reference to checkout" | ||
required: false | ||
default: main | ||
type: string | ||
repository: | ||
description: "The git repository to checkout" | ||
required: false | ||
type: string | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ inputs.ref }} | ||
repository: ${{ inputs.repository }} | ||
|
||
- name: Add Operand | ||
run: ./scripts/ci/add_operand.sh | ||
env: | ||
IMAGE: ${{ inputs.image }} | ||
VERSION: ${{ inputs.version }} | ||
|
||
- name: Commit changes and create tag | ||
run: | | ||
git config user.email "[email protected]" | ||
git config user.name "Infinispan" | ||
git add config/manager/manager.yaml documentation/asciidoc/topics/attributes/community-attributes.adoc documentation/asciidoc/topics/supported_operands/ | ||
git commit -m "Add Operand ${{ inputs.version }}" | ||
- name: Push Git changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: ${{ inputs.ref }} | ||
repository: ${{ inputs.repository }} |
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
15 changes: 15 additions & 0 deletions
15
documentation/asciidoc/topics/supported_operands/2_3_7.adoc
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,15 @@ | ||
//// | ||
Auto-generated file, do not update this manually. | ||
To add additional Operands to this file, update the `INFINISPAN_OPERAND_VERSIONS` array in `config/manager/manager.yaml`. | ||
//// | ||
13.0.10 | ||
14.0.1 | ||
14.0.6 | ||
14.0.9 | ||
14.0.13 | ||
14.0.17 | ||
14.0.19 | ||
14.0.20 | ||
14.0.21 | ||
14.0.24 | ||
14.0.27 |
16 changes: 16 additions & 0 deletions
16
documentation/asciidoc/topics/supported_operands/2_4_0.adoc
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,16 @@ | ||
//// | ||
Auto-generated file, do not update this manually. | ||
To add additional Operands to this file, update the `INFINISPAN_OPERAND_VERSIONS` array in `config/manager/manager.yaml`. | ||
//// | ||
13.0.10 | ||
14.0.1 | ||
14.0.6 | ||
14.0.9 | ||
14.0.13 | ||
14.0.17 | ||
14.0.19 | ||
14.0.20 | ||
14.0.21 | ||
14.0.24 | ||
14.0.27 | ||
15.0.0 |
16 changes: 16 additions & 0 deletions
16
documentation/asciidoc/topics/supported_operands/2_4_1.adoc
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,16 @@ | ||
//// | ||
Auto-generated file, do not update this manually. | ||
To add additional Operands to this file, update the `INFINISPAN_OPERAND_VERSIONS` array in `config/manager/manager.yaml`. | ||
//// | ||
13.0.10 | ||
14.0.1 | ||
14.0.6 | ||
14.0.9 | ||
14.0.13 | ||
14.0.17 | ||
14.0.19 | ||
14.0.20 | ||
14.0.21 | ||
14.0.24 | ||
14.0.27 | ||
= 15.0.0 |
18 changes: 18 additions & 0 deletions
18
documentation/asciidoc/topics/supported_operands/2_4_2.adoc
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,18 @@ | ||
//// | ||
Auto-generated file, do not update this manually. | ||
To add additional Operands to this file, update the `INFINISPAN_OPERAND_VERSIONS` array in `config/manager/manager.yaml`. | ||
//// | ||
13.0.10 | ||
14.0.1 | ||
14.0.6 | ||
14.0.9 | ||
14.0.13 | ||
14.0.17 | ||
14.0.19 | ||
14.0.20 | ||
14.0.21 | ||
14.0.24 | ||
14.0.27 | ||
15.0.0 | ||
15.0.3 | ||
15.0.4 |
18 changes: 18 additions & 0 deletions
18
documentation/asciidoc/topics/supported_operands/2_4_3.adoc
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,18 @@ | ||
//// | ||
Auto-generated file, do not update this manually. | ||
To add additional Operands to this file, update the `INFINISPAN_OPERAND_VERSIONS` array in `config/manager/manager.yaml`. | ||
//// | ||
14.0.1 | ||
14.0.6 | ||
14.0.9 | ||
14.0.13 | ||
14.0.17 | ||
14.0.19 | ||
14.0.20 | ||
14.0.21 | ||
14.0.24 | ||
14.0.27 | ||
15.0.0 | ||
15.0.3 | ||
15.0.4 | ||
15.0.5 |
19 changes: 19 additions & 0 deletions
19
documentation/asciidoc/topics/supported_operands/2_4_4.adoc
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,19 @@ | ||
//// | ||
Auto-generated file, do not update this manually. | ||
To add additional Operands to this file, update the `INFINISPAN_OPERAND_VERSIONS` array in `config/manager/manager.yaml`. | ||
//// | ||
14.0.1 | ||
14.0.6 | ||
14.0.9 | ||
14.0.13 | ||
14.0.17 | ||
14.0.19 | ||
14.0.20 | ||
14.0.21 | ||
14.0.24 | ||
14.0.27 | ||
14.0.32 | ||
15.0.0 | ||
15.0.3 | ||
15.0.4 | ||
15.0.8 |
32 changes: 32 additions & 0 deletions
32
documentation/asciidoc/topics/supported_operands/operand_table.adoc
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,32 @@ | ||
//// | ||
Auto-generated file, do not update this manually, instead update `scripts/ci/docs_generate_operator_operand_table.sh` | ||
//// | ||
[%header,cols=2*] | ||
|=== | ||
| {ispn_operator} version | ||
| {brandname} Server versions | ||
| | ||
2.3.7 | ||
| | ||
include::2_3_7.adoc[] | ||
| | ||
2.4.0 | ||
| | ||
include::2_4_0.adoc[] | ||
| | ||
2.4.1 | ||
| | ||
include::2_4_1.adoc[] | ||
| | ||
2.4.2 | ||
| | ||
include::2_4_2.adoc[] | ||
| | ||
2.4.3 | ||
| | ||
include::2_4_3.adoc[] | ||
| | ||
2.4.4 | ||
| | ||
include::2_4_4.adoc[] | ||
|=== |
Oops, something went wrong.