-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(repo): transplant ansible related logic from operator sdk (#2)
Signed-off-by: Bryce Palmer <[email protected]>
- Loading branch information
1 parent
4686ba3
commit 54d3e49
Showing
263 changed files
with
24,473 additions
and
0 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,5 @@ | ||
<!--- | ||
Thanks for filing an issue! Before you submit, please read the following: | ||
Check the other issue templates if you are trying to submit a bug report, feature request, or question. Search open/closed issues before submitting since someone might have asked the same thing before! | ||
--> |
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,63 @@ | ||
--- | ||
name: Bug Report | ||
about: If things aren't working as expected. | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Bug Report | ||
|
||
<!-- | ||
Thanks for filing an issue! Before hitting the button, please answer these questions. | ||
Fill in as much of the template below as you can. If you leave out information, we can't help you as well. | ||
Note: Make sure to first check the prerequisites that can be found in the main README.md file! | ||
--> | ||
|
||
#### What did you do? | ||
|
||
<!-- A clear and concise description of the steps you took (or insert a code snippet). --> | ||
|
||
#### What did you expect to see? | ||
|
||
<!-- A clear and concise description of what you expected to happen (or insert a code snippet). --> | ||
|
||
#### What did you see instead? Under which circumstances? | ||
|
||
<!-- A clear and concise description of what ACTUALLY happened (or insert a code snippet). --> | ||
|
||
#### Environment | ||
|
||
**Operator type:** | ||
|
||
<!-- Uncomment one or more of the following lines corresponding to the language of the operator type --> | ||
|
||
<!-- /language go --> | ||
<!-- /language ansible --> | ||
<!-- /language helm --> | ||
|
||
**Kubernetes cluster type:** | ||
|
||
<!-- The type of cluster used for testing/deployment, ex. "vanilla", "OpenShift" --> | ||
|
||
`$ operator-sdk version` | ||
|
||
<!-- Insert the output of `operator-sdk version` here. --> | ||
|
||
`$ go version` (if language is Go) | ||
|
||
<!-- Insert the output of `go version` here --> | ||
|
||
`$ kubectl version` | ||
|
||
<!-- Insert the output of `kubectl version` here --> | ||
|
||
#### Possible Solution | ||
|
||
<!-- Only if you have suggestions on a fix for the bug --> | ||
|
||
#### Additional context | ||
|
||
<!-- Add any other context about the problem here. --> |
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,28 @@ | ||
--- | ||
name: Doc Report | ||
about: Raise an issue with the documentation. | ||
title: '' | ||
labels: kind/documentation | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- Please submit only documentation-related issues with this form, or follow the | ||
Contribute to Operator SDK guidelines (https://sdk.operatorframework.io/docs/contribution-guidelines/reporting-issues/) to submit a PR. Use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks! | ||
--> | ||
|
||
### What is the URL of the document? | ||
|
||
<!-- The URL to help identify the document. --> | ||
|
||
### Which section(s) is the issue in? | ||
|
||
<!-- The sections(s) within the document that have issue in. --> | ||
|
||
### What needs fixing? | ||
|
||
<!-- A clear and concise description of what the issue is. --> | ||
|
||
#### Additional context | ||
|
||
<!-- Add any other context about the problem here. --> |
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,28 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest a feature | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Feature Request | ||
|
||
#### Describe the problem you need a feature to resolve. | ||
|
||
<!-- | ||
A clear and concise description of what the problem is. Example: | ||
I have an issue when ... | ||
--> | ||
|
||
#### Describe the solution you'd like. | ||
|
||
<!-- A clear and concise description of what you want to happen. Add any considered drawbacks. --> | ||
|
||
<!-- If your request relates to a particular operator type, uncomment one or more of the following lines corresponding to the language of that type --> | ||
|
||
<!-- /language go --> | ||
<!-- /language ansible --> | ||
<!-- /language helm --> |
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,69 @@ | ||
--- | ||
name: Support Question | ||
about: Any support questions you might have. | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- | ||
Thanks for filing an issue! Before hitting the button, please answer these questions. | ||
Fill in as much of the template below as you can. If you leave out information, we can't help you as well. | ||
We will try our best to answer the question, but we also have a mailing list and slack channel for any other questions. | ||
--> | ||
|
||
## Type of question | ||
|
||
<!-- Uncomment one or more of the following lines depending on what you are asking about: --> | ||
|
||
<!-- Best practices --> | ||
<!-- How to implement a specific feature --> | ||
<!-- General operator-related help --> | ||
<!-- Open question --> | ||
|
||
## Question | ||
|
||
#### What did you do? | ||
|
||
<!-- A clear and concise description of the steps you took (or insert a code snippet). --> | ||
|
||
#### What did you expect to see? | ||
|
||
<!-- A clear and concise description of what you expected to happen (or insert a code snippet). --> | ||
|
||
#### What did you see instead? Under which circumstances? | ||
|
||
<!-- A clear and concise description of what you expected to happen (or insert a code snippet). --> | ||
|
||
#### Environment | ||
|
||
**Operator type:** | ||
|
||
<!-- Uncomment one or more of the following lines corresponding to the language of the operator type --> | ||
|
||
<!-- /language go --> | ||
<!-- /language ansible --> | ||
<!-- /language helm --> | ||
|
||
**Kubernetes cluster type:** | ||
|
||
<!-- The type of cluster used for testing/deployment, ex. "vanilla", "OpenShift" --> | ||
|
||
`$ operator-sdk version` | ||
|
||
<!-- Insert the output of `operator-sdk version` here. --> | ||
|
||
`$ go version` (if language is Go) | ||
|
||
<!-- Insert the output of `go version` here --> | ||
|
||
`$ kubectl version` | ||
|
||
<!-- Insert the output of `kubectl version` here --> | ||
|
||
#### Additional context | ||
|
||
<!-- Add any other context about the question here. --> |
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,25 @@ | ||
<!-- | ||
Welcome to the Operator SDK! Before contributing, make sure to: | ||
- Read the contributing guidelines https://github.com/operator-framework/ansible-operator-plugins/blob/master/CONTRIBUTING.MD | ||
- Rebase your branch on the latest upstream master | ||
- Link any relevant issues, PR's, or documentation | ||
- Check that the commit message is concice and helpful: | ||
- When fixing an issue, add "Closes #<ISSUE_NUMBER>" | ||
- Sign your commit https://github.com/apps/dco | ||
- Follow the below checklist if making a user-facing change | ||
--> | ||
|
||
**Description of the change:** | ||
|
||
|
||
**Motivation for the change:** | ||
|
||
|
||
**Checklist** | ||
|
||
If the pull request includes user-facing changes, extra documentation is required: | ||
- [ ] Add a new changelog fragment in `changelog/fragments` (see [`changelog/fragments/00-template.yaml`](https://github.com/operator-framework/ansible-operator-plugins/tree/master/changelog/fragments/00-template.yaml)) | ||
- [ ] Add or update relevant sections of the docs website in [`website/content/en/docs`](https://github.com/operator-framework/ansible-operator-plugins/tree/master/website/content/en/docs) |
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,38 @@ | ||
name: ansible | ||
on: | ||
pull_request: {} | ||
|
||
jobs: | ||
e2e: | ||
name: e2e | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: sudo rm -rf /usr/local/bin/kustomize | ||
- run: make test-e2e-ansible | ||
|
||
e2e-molecule: | ||
name: e2e-molecule | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: sudo rm -rf /usr/local/bin/kustomize | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- name: Run test e2e ansible molecule | ||
run: | | ||
env | ||
pip3 install --user --upgrade setuptools pip | ||
pip3 install --user ansible-core~=2.15.0 | ||
make test-e2e-ansible-molecule |
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 @@ | ||
name: sanity | ||
on: | ||
pull_request: {} | ||
|
||
jobs: | ||
sanity: | ||
name: sanity | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
id: go | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: sudo rm -rf /usr/local/bin/kustomize | ||
- run: make test-sanity |
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 @@ | ||
name: unit | ||
on: | ||
pull_request: {} | ||
|
||
jobs: | ||
unit: | ||
name: unit | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- run: make test-unit | ||
- uses: shogo82148/actions-goveralls@v1 | ||
with: | ||
path-to-profile: coverage.out |
Oops, something went wrong.