Skip to content

Commit 00f26a3

Browse files
committed
Add GitHub workflow explanations
1 parent 4488f91 commit 00f26a3

File tree

6 files changed

+38
-2
lines changed

6 files changed

+38
-2
lines changed

.github/workflows/images-build.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
name: Build images
22

3-
on: [pull_request, push]
3+
# Verifies whether the build of the Docker images is valid. It does not publish
4+
# the image to a registry. It's triggered by new commits and a daily schedule
5+
# for the default branch. If any of the jobs fail for new commits they're not
6+
# allowed to be merged into the default branch. If it starts failing because of
7+
# changes to dependencies of the build process, it must be fixed before new
8+
# features are merged to ensure integrity.
9+
10+
on:
11+
pull_request:
12+
push:
13+
schedule:
14+
- cron: "30 4 * * *"
415

516
jobs:
617
build-standalone:

.github/workflows/images-publish.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
name: Publish images
22

3+
# Builds and publishes the Docker images to the GitHub registry. There are 2
4+
# triggers for this workflow, a scheduled trigger to publish the latest
5+
# development version (the default branch) every night, and a trigger for tags
6+
# formatted as a semver version to publish releases. For any other image, it's
7+
# recommended to download the source code and build it locally as explained in
8+
# the documentation.
9+
310
on:
411
push:
5-
tags: [v*]
12+
tags: ["v*.*.*"]
613
schedule:
714
- cron: "30 4 * * *"
815

.github/workflows/linting-dependencies.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: Lint dependencies
22

3+
# Runs tools to validate dependencies. This workflow is triggered for new
4+
# commits and every night for the default branch. If any of the jobs fail for
5+
# new commits they're not allowed to be merged into the default branch. If it
6+
# starts failing because of vulnerabilities, they must be fixed before new
7+
# features are merged and a security release must be made.
8+
39
on:
410
pull_request:
511
push:

.github/workflows/linting.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Lint code & configuration
22

3+
# Runs tools to lint and validate the code and configuration. Only triggered by
4+
# creating new commits. If any of the jobs fail for new commits they're not
5+
# allowed to be merged into the default branch.
6+
37
on: [pull_request, push]
48

59
jobs:

.github/workflows/tests-images.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Run image tests
22

3+
# Runs tests to validate and ensure code quality of the images. It's only
4+
# triggered for new commits. If any of the jobs fail for new commits they're
5+
# not allowed to be merged into the default branch.
6+
37
on: [pull_request, push]
48

59
env:

.github/workflows/tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Run tests
22

3+
# Runs tests to validate and ensure code quality. It's only triggered for new
4+
# commits. If any of the jobs fail for new commits they're not allowed to be
5+
# merged into the default branch.
6+
37
on: [pull_request, push]
48

59
env:

0 commit comments

Comments
 (0)