-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #971 from jnummelin/cherry-picks-for-june-release
Cherry picks for June release
- Loading branch information
Showing
169 changed files
with
4,360 additions
and
2,924 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,24 @@ | ||
name: Publish docs via GitHub Pages | ||
name: Lint docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
release: | ||
types: | ||
- published | ||
- release-* | ||
paths: | ||
- '**.md' | ||
pull_request: | ||
branches: | ||
- main | ||
- release-* | ||
paths: | ||
- '**.md' | ||
jobs: | ||
build: | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
name: Deploy docs | ||
lint: | ||
name: Lint markdown | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12.x] | ||
steps: | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v2 | ||
- uses: actions/checkout@v1 | ||
- uses: articulate/actions-markdownlint@v1 | ||
with: | ||
python-version: '3.x' | ||
- name: Checkout deps | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: lensapp/mkdocs-material-insiders | ||
token: ${{ env.GITHUB_TOKEN }} | ||
path: mkdocs-material-insiders | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip -v --log /tmp/pip.log install ./mkdocs-material-insiders | ||
pip install mike | ||
- name: Checkout K0s release | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: git config | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
- name: Using Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: mkdocs deploy main | ||
if: contains(github.ref, 'refs/heads/main') | ||
run: | | ||
mike deploy --push main | ||
- name: Get the release version | ||
if: contains(github.ref, 'refs/tags/v') && !github.event.release.prerelease # (don't generate for pre-releases) | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
|
||
- name: mkdocs deploy new release | ||
if: contains(github.ref, 'refs/tags/v') && !github.event.release.prerelease # (don't generate for pre-releases) | ||
run: | | ||
mike deploy --push --update-aliases ${{ steps.get_version.outputs.VERSION }} latest | ||
mike set-default --push ${{ steps.get_version.outputs.VERSION }} | ||
config: .github/workflows/markdownlint-config.json |
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,8 @@ | ||
{ | ||
"default": true, | ||
"line_length": false, | ||
"no-bare-urls": false, | ||
"first-line-h1": false, | ||
"single-trailing-newline": false, | ||
"ol-prefix": "one_or_ordered" | ||
} |
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,61 @@ | ||
name: Publish docs via GitHub Pages | ||
on: | ||
push: | ||
branches: | ||
- main | ||
release: | ||
types: | ||
- published | ||
jobs: | ||
build: | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12.x] | ||
steps: | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
- name: Checkout deps | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: lensapp/mkdocs-material-insiders | ||
token: ${{ env.GITHUB_TOKEN }} | ||
path: mkdocs-material-insiders | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip -v --log /tmp/pip.log install ./mkdocs-material-insiders | ||
pip install mike | ||
- name: Checkout K0s release | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: git config | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
- name: Using Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: mkdocs deploy main | ||
if: contains(github.ref, 'refs/heads/main') | ||
run: | | ||
mike deploy --push main | ||
- name: Get the release version | ||
if: contains(github.ref, 'refs/tags/v') && !github.event.release.prerelease # (don't generate for pre-releases) | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
|
||
- name: mkdocs deploy new release | ||
if: contains(github.ref, 'refs/tags/v') && !github.event.release.prerelease # (don't generate for pre-releases) | ||
run: | | ||
mike deploy --push --update-aliases ${{ steps.get_version.outputs.VERSION }} latest | ||
mike set-default --push ${{ steps.get_version.outputs.VERSION }} |
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 @@ | ||
# k0s Community Code Of Conduct | ||
|
||
Please refer to our [contributor code of conduct](contributors/CODE_OF_CONDUCT.md). | ||
Please refer to our [contributor code of conduct](contributors/CODE_OF_CONDUCT.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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# K0s Contributor Guide | ||
Our contributor's guide can be found [here](docs/contributors/overview.md). | ||
|
||
Please refer to our [contributor's guide](docs/contributors/overview.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
Oops, something went wrong.