-
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.
1.0 changelog updates and workflow updates (#213)
- Loading branch information
1 parent
00392bd
commit bc1bd94
Showing
12 changed files
with
56 additions
and
20 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].97 | ||
uses: stakater/.github/.github/workflows/[email protected].108 | ||
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,14 @@ on: | |
|
||
jobs: | ||
doc_qa: | ||
uses: stakater/.github/.github/workflows/[email protected].97 | ||
uses: stakater/.github/.github/workflows/[email protected].108 | ||
with: | ||
MD_CONFIG: .github/md_config.json | ||
DOC_SRC: content | ||
MD_LINT_CONFIG: .markdownlint.yaml | ||
build_container: | ||
if: ${{ github.base_ref == 'main' }} | ||
uses: stakater/.github/.github/workflows/[email protected].97 | ||
uses: stakater/.github/.github/workflows/[email protected].108 | ||
with: | ||
DOCKER_BUILD_CONTEXTS: content=https://github.com/stakater/mto-docs.git#pull-request-deployments | ||
DOCKER_FILE_PATH: Dockerfile | ||
|
@@ -27,6 +27,6 @@ jobs: | |
DOCKER_SECRETS: GIT_AUTH_TOKEN=${{ secrets.PUBLISH_TOKEN }} | ||
|
||
deploy_doc: | ||
uses: stakater/.github/.github/workflows/[email protected].97 | ||
uses: stakater/.github/.github/workflows/[email protected].108 | ||
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].97 | ||
uses: stakater/.github/.github/workflows/[email protected].108 | ||
secrets: | ||
SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }} | ||
build_container: | ||
uses: stakater/.github/.github/workflows/[email protected].97 | ||
uses: stakater/.github/.github/workflows/[email protected].108 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"MD007": { "indent": 4 }, | ||
"MD013": false, | ||
"MD024": false, | ||
"MD029": { "style": one }, | ||
} | ||
MD007: | ||
indent: 4 | ||
MD013: false | ||
MD024: false | ||
MD029: | ||
style: one |
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 |
---|---|---|
|
@@ -116,15 +116,15 @@ az role assignment create --assignee $OPSSRE_ID --role "Azure Kubernetes Service | |
|
||
### Create test users in `Entra ID` | ||
|
||
Set User Principal Name (UPN) and password for your users. The UPN must include the verified domain name of your tenant, for example [email protected]. | ||
Set User Principal Name (UPN) and password for your users. The UPN must include the verified domain name of your tenant, for example `[email protected]`. | ||
|
||
Following command reads the UPN for the appdev group and stores it in the AAD_DEV_UPN variable: | ||
|
||
```terminal | ||
echo "Please enter the UPN for application developers: " && read AAD_DEV_UPN | ||
``` | ||
|
||
For this scope of this blog, we will assume that the entered UPN was [email protected]. | ||
For this scope of this blog, we will assume that the entered UPN was `[email protected]`. | ||
|
||
Following command reads the password for your user and stores it in the AAD_DEV_PW variable: | ||
|
||
|
@@ -152,7 +152,7 @@ The following command reads the UPN for your user and stores it in the AAD_SRE_U | |
echo "Please enter the UPN for SREs: " && read AAD_SRE_UPN | ||
``` | ||
|
||
For this scope of this blog, we will assume that the entered UPN was [email protected]. | ||
For this scope of this blog, we will assume that the entered UPN was `[email protected]`. | ||
|
||
The following command reads the password for your user and stores it in the AAD_SRE_PW variable: | ||
|
||
|
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 |
Submodule theme_common
updated
11 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 | |
+5 −1 | README.md | |
+1 −1 | prepare_theme.sh | |
+10 −0 | prepare_theme_pr.sh | |
+3 −3 | resources/main.html | |
+2 −44 | resources/partials/footer.html | |
+16 −0 | resources_pr_specific/main.html | |
+19 −11 | scripts/combine_theme_resources.py |