-
Notifications
You must be signed in to change notification settings - Fork 82
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
Bringing dataplane APIs and controllers #765
Merged
openshift-merge-bot
merged 1 commit into
openstack-k8s-operators:main
from
fao89:mergedataplane
Jun 14, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,58 @@ | ||
name: Build Docs | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- .github/workflows/docs* | ||
- apis/client/v1beta1/** | ||
- apis/core/v1beta1/** | ||
- apis/dataplane/v1beta1/** | ||
- docs/** | ||
- Gemfile | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.20.x | ||
- uses: actions/checkout@v4 | ||
with: | ||
# this fetches all branches. Needed because we need gh-pages branch for deploy to work | ||
fetch-depth: 0 | ||
- uses: ruby/[email protected] | ||
with: | ||
ruby-version: '3.2' | ||
|
||
- name: Install Asciidoc | ||
run: make docs-dependencies | ||
- name: Build docs | ||
run: | | ||
make docs | ||
|
||
- name: Prepare gh-pages branch | ||
run: | | ||
git restore docs/assemblies/custom_resources.adoc | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
|
||
git branch -D gh-pages &>/dev/null || true | ||
git checkout -b gh-pages 4cd0193fc6c5bc7e76f3a0148d0447fb0d7fbe6a | ||
|
||
- name: Commit asciidoc docs | ||
run: | | ||
mkdir user dev | ||
mv docs_build/ctlplane/index-upstream.html index.html | ||
git add index.html | ||
git commit -m "Rendered docs" | ||
|
||
- name: Push rendered docs to gh-pages | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
run: | | ||
git push --force origin gh-pages |
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,36 @@ | ||
name: Kustomize Build | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- config/samples/** | ||
jobs: | ||
kustomize: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.20.x | ||
- uses: actions/checkout@v4 | ||
with: | ||
# this fetches all branches. Needed because we need gh-pages branch for deploy to work | ||
fetch-depth: 0 | ||
- name: download kustomize | ||
run: | | ||
mkdir bin | ||
LINK=https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh | ||
curl -Ss $LINK | bash -s -- 5.0.1 ./bin | ||
- name: kustomize build | ||
run: | | ||
cd config/samples/dataplane | ||
|
||
for d in */ ; do | ||
echo "=============== $d ===============" | ||
../../../bin/kustomize build --load-restrictor LoadRestrictionsNone "$d" | ||
done |
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 |
---|---|---|
|
@@ -37,3 +37,9 @@ CI_TOOLS_REPO | |
# generated workspace file | ||
go.work | ||
go.work.sum | ||
|
||
# docs | ||
.bundle/ | ||
docs_build/ | ||
Gemfile.lock | ||
local/ |
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,9 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'asciidoctor', '~> 2.0', '>= 2.0.20' | ||
|
||
# Uncomment for ability to render pdf: | ||
# gem 'asciidoctor-pdf', '~> 2.0', '>= 2.0.20' | ||
|
||
# Uncomment for ability to convert Markdown to AsciiDoc | ||
gem 'kramdown-asciidoc' |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the dataplane team own the entire repo?
@abays @dprince @olliewalsh @stuggi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its probably useful to introduce responsibilities. same the other way round. I guess we don't want to own the dataplane parts. but there will be shared things where it will be hard to separate ownership. I think we can do that in a follow up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to sticking with a single OWNERS file.