Skip to content

Commit

Permalink
Update the GitHub action documentation
Browse files Browse the repository at this point in the history
- To indicate which Jenkins pipelines are replaced by the new workflow.

Signed-off-by: Wade Barnes <[email protected]>
  • Loading branch information
WadeBarnes authored and ryjones committed Feb 25, 2021
1 parent 6351075 commit 306fa45
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
# GHA workflow
# GitHub Actions Workflow

The workflow in the [build.yaml](build.yaml) file replaces the existing [Jenkins.ci](../../Jenkinsfile.ci) build process.

The `lint` job replaces the `Static code validation` stage of the Jenkins pipeline, while the remainder of the jobs replace the `Build / Test` stage.

The `Build result notification` stage was not moved to GHA, as build failures will be reports via GHA.

Support for Windows continues as a `ToDo` item.


## Configuring actions

If you are cloning or forking this repo you will need to configure two secrets for Actions to run correctly.

Expand All @@ -7,7 +18,7 @@ Secrets can be set via Settings -> Secrets -> New repository secret:
`CR_USER`: is your GH username. It must be lowercase.
`CR_PAT`: can be created by following the [Creating a personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) documentation.

When you create your token, the only permission you need to select is `write:packages` **Upload packages to github package registry**, all other necessary permissions will be selected by default.
When you create your token, the only permission you need to select is `write:packages` **Upload packages to GitHub package registry**, all other necessary permissions will be selected by default.

You may also need to enable [Improved container support](https://docs.github.com/en/packages/guides/enabling-improved-container-support) in order to allow the images to be written to your repository. You'll see an error to this affect if this is the case.

Expand Down

0 comments on commit 306fa45

Please sign in to comment.