From 933aeb701b36c8ef8059395498e55e7294919970 Mon Sep 17 00:00:00 2001 From: Andrew Block Date: Thu, 1 Dec 2022 20:09:26 +0100 Subject: [PATCH] Added Ansible Validated Content for Automation CoP (#24) * Added Ansible Validated Content for Automation CoP Signed-off-by: Andrew Block * Updated broken link Signed-off-by: Andrew Block * Fix broken links Signed-off-by: Andrew Block * Disable external checking Signed-off-by: Andrew Block Signed-off-by: Andrew Block --- .github/workflows/test-doc-build.yml | 2 +- ci/linting-testing-helm-charts.md | 4 +--- ci/repository-request-access.md | 2 +- cop/automation-cop/index.md | 8 ++++++++ cop/automation-cop/validated-content-submit.md | 6 ++++++ cop/index.md | 8 ++++++++ index.md | 1 + 7 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 cop/automation-cop/index.md create mode 100644 cop/automation-cop/validated-content-submit.md create mode 100644 cop/index.md diff --git a/.github/workflows/test-doc-build.yml b/.github/workflows/test-doc-build.yml index 1855e30..c19bec4 100644 --- a/.github/workflows/test-doc-build.yml +++ b/.github/workflows/test-doc-build.yml @@ -22,4 +22,4 @@ jobs: - name: Build and Test run: | bundle exec jekyll build - bundle exec htmlproofer ./_site + bundle exec htmlproofer --disable-external=true ./_site diff --git a/ci/linting-testing-helm-charts.md b/ci/linting-testing-helm-charts.md index 8003660..2f6435c 100644 --- a/ci/linting-testing-helm-charts.md +++ b/ci/linting-testing-helm-charts.md @@ -157,9 +157,7 @@ rules: Now that we have reviewed each of the files required for ct, let's explore an example. ## Example -For this example, we will look at the [Pelorus repo](https://github.com/redhat-cop/pelorus). This repo has two separate workflows under [.github/workflows](https://github.com/redhat-cop/pelorus/tree/master/.github/workflows), one specifically for ct and another for building the app (though both workflows could be combined). Here is an example ct build - https://github.com/redhat-cop/pelorus/runs/894996440?check_suite_focus=true. - -Let’s look closely at the Lint task of the [ct example](https://github.com/redhat-cop/pelorus/runs/894996440?check_suite_focus=true). After the workflow clones the source code, the “Lint Helm charts” step begins. When ct detects chart changes, you’ll see a message similar to the following. +For this example, we will look at the [Pelorus repo](https://github.com/konveyor/pelorus). There is a [Makefile](https://github.com/konveyor/pelorus/blob/master/Makefile) with a dedicated target called `chart-lint`. When ct detects chart changes, you’ll see a message similar to the following. ``` Charts to be processed: diff --git a/ci/repository-request-access.md b/ci/repository-request-access.md index 14437ba..99b3252 100644 --- a/ci/repository-request-access.md +++ b/ci/repository-request-access.md @@ -133,4 +133,4 @@ When complete, submit a new Pull Request against the repository as described in Content produced by the CoP can be published to Ansible Galaxy and an API key can be provided to aid in the publishing of content. Access can be requested through the [issue request process](https://github.com/redhat-cop/org/issues/new/choose) described earlier. -For repositories hosted on GitHub within the CoP organization, a [Secret](https://docs.github.com/en/rest/reference/actions#secrets) called _ANSIBLE_GALAXY_APIKEY_ can be made available within your repository to use as part of a [GitHub Action workflow](https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#about-workflows). Be sure to include the desire to leverage this option as part of your request. +For repositories hosted on GitHub within the CoP organization, a `Secret` called _ANSIBLE_GALAXY_APIKEY_ can be made available within your repository to use as part of a `GitHub Action workflow`. Be sure to include the desire to leverage this option as part of your request. diff --git a/cop/automation-cop/index.md b/cop/automation-cop/index.md new file mode 100644 index 0000000..a18f8f4 --- /dev/null +++ b/cop/automation-cop/index.md @@ -0,0 +1,8 @@ +--- +title: Automation Community of Practice +--- + +Resources provided by the Automation Community of Practice. + +* [Ansible Validated Content Submission](./validated-content-submit.html) + diff --git a/cop/automation-cop/validated-content-submit.md b/cop/automation-cop/validated-content-submit.md new file mode 100644 index 0000000..f575ea4 --- /dev/null +++ b/cop/automation-cop/validated-content-submit.md @@ -0,0 +1,6 @@ +--- +title: Ansible Validated Content Submission +--- + + + \ No newline at end of file diff --git a/cop/index.md b/cop/index.md new file mode 100644 index 0000000..322b90a --- /dev/null +++ b/cop/index.md @@ -0,0 +1,8 @@ +--- +title: Communities at Red Hat Content +--- + +This section contains content that are specific to each Red Hat Community of Practice. + +* [Automation Community of Practice](./automation-cop) + diff --git a/index.md b/index.md index db71fd2..803fe7b 100644 --- a/index.md +++ b/index.md @@ -12,4 +12,5 @@ This wiki site outlines the workflows for contributing to our various Community * [Red Hat CoP Repository Map](./repos/) * [Repository Contribution Guidelines](./contrib/) +* [Red Hat CoP Specific Content](./cop/) * [How to implement continuous integration for redhat-cop repositories](./ci/)