You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -42,6 +42,42 @@ A comprehensive CI workflow that performs linting, builds Docker images, and run
42
42
-**`statuses`**: `write`
43
43
44
44
<!-- overview:end -->
45
+
46
+
## Testing
47
+
48
+
Tests are defined in `images/<image-name>/container-structure-test.yaml` using [container-structure-test](https://github.com/GoogleContainerTools/container-structure-test).
49
+
50
+
### Test Configuration
51
+
52
+
Each image can have a `container-structure-test.yaml` file with:
53
+
54
+
-`commandTests` - Verify commands run correctly in the container
| | See <https://github.com/hoverkraft-tech/ci-github-container/blob/main/.github/workflows/docker-build-images.md#outputs>. |
131
165
132
166
<!-- outputs:end -->
133
167
134
-
## Testing
135
-
136
-
Tests are defined in `images/<image-name>/container-structure-test.yaml` using [container-structure-test](https://github.com/GoogleContainerTools/container-structure-test).
137
-
138
-
### Test Configuration
139
-
140
-
Each image can have a `container-structure-test.yaml` file with:
141
-
142
-
- `commandTests`- Verify commands run correctly in the container
Contributions are welcome! Please see the [contributing guidelines](https://github.com/hoverkraft-tech/docker-base-images/blob/main/CONTRIBUTING.md) for more details.
Copy file name to clipboardExpand all lines: .github/workflows/continuous-integration.yml
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,12 @@
1
+
# A comprehensive CI workflow that performs linting, builds Docker images, and runs tests against the built images using [container-structure-test](https://github.com/GoogleContainerTools/container-structure-test).
2
+
#
3
+
# ### Jobs
4
+
#
5
+
# 1. **linter**: Runs code linting using the shared linter workflow
6
+
# 2. **build-images**: Builds Docker images (depends on linter)
7
+
# 3. **prepare-test-matrix**: Prepares the matrix for test jobs
8
+
# 4. **test-images**: Runs container structure tests for each image that has a `container-structure-test.yaml` file
0 commit comments