-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-run-once
- Loading branch information
Showing
293 changed files
with
128,288 additions
and
3,653 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 |
---|---|---|
|
@@ -3,3 +3,6 @@ exclude_paths: | |
- .github | ||
- charts | ||
- molecule | ||
- roles/cluster_api/files/providers | ||
skip_list: | ||
- role-name |
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,26 @@ | ||
name: docs | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout project | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Earthly | ||
uses: earthly/actions-setup@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build image | ||
run: earthly --secret GITHUB_TOKEN +mkdocs-build | ||
env: | ||
EARTHLY_CI: true | ||
EARTHLY_PUSH: "${{ github.event_name == 'push' }}" | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,3 @@ | ||
{ | ||
".": "1.4.0" | ||
".": "1.10.0" | ||
} |
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,69 @@ | ||
VERSION 0.7 | ||
|
||
CURL_IF_UPDATED: | ||
COMMAND | ||
ARG --required url | ||
ARG --required path | ||
RUN curl \ | ||
-sL ${url} \ | ||
-z ${path} \ | ||
-o ${path} | ||
|
||
DOWNLOAD_PROVIDER: | ||
COMMAND | ||
ARG --required repository | ||
ARG --required type | ||
ARG name | ||
ARG --required version | ||
ARG path=${type}-${name} | ||
RUN mkdir -p roles/cluster_api/files/providers/${path}/${version} | ||
DO +CURL_IF_UPDATED \ | ||
--url=https://github.com/${repository}/releases/download/${version}/${type}-components.yaml \ | ||
--path=roles/cluster_api/files/providers/${path}/${version}/${type}-components.yaml | ||
DO +CURL_IF_UPDATED \ | ||
--url=https://github.com/${repository}/releases/download/${version}/metadata.yaml \ | ||
--path=roles/cluster_api/files/providers/${path}/${version}/metadata.yaml | ||
|
||
vendor.cluster-api: | ||
LOCALLY | ||
ARG capi=v$(grep cluster_api_core_version roles/cluster_api/defaults/main.yml | cut -d' ' -f2) | ||
ARG capo=v$(grep cluster_api_infrastructure_version roles/cluster_api/defaults/main.yml | cut -d' ' -f2) | ||
DO +DOWNLOAD_PROVIDER \ | ||
--repository=kubernetes-sigs/cluster-api \ | ||
--type=core \ | ||
--path=cluster-api \ | ||
--version=${capi} | ||
DO +DOWNLOAD_PROVIDER \ | ||
--repository=kubernetes-sigs/cluster-api \ | ||
--type=bootstrap \ | ||
--name=kubeadm \ | ||
--version=${capi} | ||
DO +DOWNLOAD_PROVIDER \ | ||
--repository=kubernetes-sigs/cluster-api \ | ||
--type=control-plane \ | ||
--name=kubeadm \ | ||
--version=${capi} | ||
DO +DOWNLOAD_PROVIDER \ | ||
--repository=kubernetes-sigs/cluster-api-provider-openstack \ | ||
--type=infrastructure \ | ||
--name=openstack \ | ||
--version=${capo} | ||
|
||
mkdocs-image: | ||
FROM squidfunk/mkdocs-material:9.1.15 | ||
RUN pip install \ | ||
mkdocs-literate-nav | ||
SAVE IMAGE mkdocs | ||
|
||
mkdocs-serve: | ||
LOCALLY | ||
WITH DOCKER --load=+mkdocs-image | ||
RUN docker run --rm -p 8000:8000 -v ${PWD}:/docs mkdocs | ||
END | ||
|
||
mkdocs-build: | ||
FROM +mkdocs-image | ||
COPY . /docs | ||
RUN mkdocs build | ||
RUN --push --secret GITHUB_TOKEN git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/vexxhost/ansible-collection-kubernetes.git | ||
RUN --push mkdocs gh-deploy --force |
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 @@ | ||
annotations: | ||
artifacthub.io/prerelease: "false" | ||
apiVersion: v1 | ||
appVersion: v1.7.1 | ||
description: A Helm chart for cert-manager | ||
home: https://github.com/jetstack/cert-manager | ||
icon: https://raw.githubusercontent.com/jetstack/cert-manager/master/logo/logo.png | ||
keywords: | ||
- cert-manager | ||
- kube-lego | ||
- letsencrypt | ||
- tls | ||
maintainers: | ||
- email: [email protected] | ||
name: cert-manager-maintainers | ||
name: cert-manager | ||
sources: | ||
- https://github.com/jetstack/cert-manager | ||
version: v1.7.1 |
Oops, something went wrong.