-
Notifications
You must be signed in to change notification settings - Fork 0
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 add-storageClassWhitelist
- Loading branch information
Showing
11 changed files
with
49 additions
and
41 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 |
---|---|---|
|
@@ -7,6 +7,6 @@ on: | |
|
||
jobs: | ||
push: | ||
uses: stakater/.github/.github/workflows/[email protected].98 | ||
uses: stakater/.github/.github/workflows/[email protected].103 | ||
secrets: | ||
GH_TOKEN: ${{ secrets.PUBLISH_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ on: delete | |
|
||
jobs: | ||
delete: | ||
uses: stakater/.github/.github/workflows/[email protected] | ||
uses: stakater/.github/.github/workflows/[email protected] | ||
with: | ||
LATEST_DOC_VERSION: "1.0" | ||
secrets: | ||
GH_TOKEN: ${{ secrets.PUBLISH_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,19 @@ on: | |
|
||
jobs: | ||
doc_qa: | ||
uses: stakater/.github/.github/workflows/[email protected].98 | ||
uses: stakater/.github/.github/workflows/[email protected].103 | ||
with: | ||
MD_CONFIG: .github/md_config.json | ||
DOC_SRC: content | ||
DOC_SRC: content README.md | ||
MD_LINT_CONFIG: .markdownlint.yaml | ||
deploy_doc: | ||
uses: stakater/.github/.github/workflows/[email protected] | ||
secrets: | ||
GH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} | ||
build_container: | ||
needs: deploy_doc | ||
if: ${{ github.base_ref == 'main' }} | ||
uses: stakater/.github/.github/workflows/[email protected].98 | ||
uses: stakater/.github/.github/workflows/[email protected].103 | ||
with: | ||
DOCKER_BUILD_CONTEXTS: content=https://github.com/stakater/mto-docs.git#pull-request-deployments | ||
DOCKER_FILE_PATH: Dockerfile | ||
|
@@ -25,8 +30,3 @@ jobs: | |
CONTAINER_REGISTRY_PASSWORD: ${{ secrets.GHCR_TOKEN }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }} | ||
DOCKER_SECRETS: GIT_AUTH_TOKEN=${{ secrets.PUBLISH_TOKEN }} | ||
|
||
deploy_doc: | ||
uses: stakater/.github/.github/workflows/[email protected] | ||
secrets: | ||
GH_TOKEN: ${{ secrets.PUBLISH_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ on: | |
|
||
jobs: | ||
push: | ||
uses: stakater/.github/.github/workflows/[email protected] | ||
uses: stakater/.github/.github/workflows/[email protected] | ||
with: | ||
LATEST_DOC_VERSION: "1.0" | ||
secrets: | ||
GH_TOKEN: ${{ secrets.PUBLISH_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,11 @@ on: | |
|
||
jobs: | ||
create_release: | ||
uses: stakater/.github/.github/workflows/[email protected].98 | ||
uses: stakater/.github/.github/workflows/[email protected].103 | ||
secrets: | ||
SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }} | ||
build_container: | ||
uses: stakater/.github/.github/workflows/[email protected].98 | ||
uses: stakater/.github/.github/workflows/[email protected].103 | ||
with: | ||
DOCKER_BUILD_CONTEXTS: content=https://github.com/stakater/mto-docs.git#gh-pages | ||
DOCKER_FILE_PATH: Dockerfile | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
pip install -r theme_common/requirements.txt | ||
python theme_common/scripts/combine_theme_resources.py theme_common/resources theme_override/resources dist/_theme | ||
python theme_common/scripts/combine_theme_resources.py -s theme_common/resources -ov theme_override/resources -o dist/_theme | ||
python theme_common/scripts/combine_mkdocs_config_yaml.py theme_common/mkdocs.yml theme_override/mkdocs.yml mkdocs.yml |
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,6 @@ | ||
# This script is meant to be used for pull request builds | ||
pip install -r theme_common/requirements.txt | ||
python theme_common/scripts/combine_theme_resources.py -s theme_common/resources -ov theme_override/resources -o dist/_theme | ||
# The next step is used to override resources for pull request builds - these overrides could as well have been put in the local theme_override folder, but this is a generic solution | ||
python theme_common/scripts/combine_theme_resources.py -s theme_common/resources_pr_specific -ov theme_override/resources -o dist/_theme -skiprmtree | ||
python theme_common/scripts/combine_mkdocs_config_yaml.py theme_common/mkdocs.yml theme_override/mkdocs.yml mkdocs.yml |
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
Submodule theme_common
updated
10 files
+1 −1 | .github/workflows/pull_request.yaml | |
+1 −2 | .github/workflows/push_container.yaml | |
+1 −1 | .github/workflows/release.yaml | |
+1 −1 | .vale.ini | |
+1 −1 | README.md | |
+1 −1 | prepare_theme.sh | |
+10 −0 | prepare_theme_pr.sh | |
+3 −3 | resources/main.html | |
+16 −0 | resources_pr_specific/main.html | |
+20 −11 | scripts/combine_theme_resources.py |