This commit is contained in:
1 parent
65d16c2fc6
commit
32a0cf6801
6 files changed
+207
-39
No files matched your search
@@ -440,7 +440,8 @@ Optional environment variables: `E2E_RUN_ID` (lowercase letters, digits and hyph
|
||||
Gitea Actions:
|
||||
|
||||
- `.gitea/workflows/test.yaml` runs on pushes to `main`, every Monday and manually: the `test` stage, the integration tests, the image tests and the E2E suite.
|
||||
- `.gitea/workflows/image.yaml` runs on semantic version tags (`1.2.3`, `v1.2.3`, with an optional prerelease suffix): the same tests, then it builds the image with the tag as version and the commit as revision, publishes `git.bjphoster.com/source/coredns-web-ui:<version>` and, for tags without a prerelease suffix, `latest`, and removes the local images. The repository needs the Actions variables `GIT_HOST` and `REGISTRY_USER` and the secret `GIT_TOKEN` with package write access.
|
||||
- Run the tests locally, push to `main`, wait for its CI to pass, then create and push the release tag. `.gitea/workflows/image.yaml` accepts semantic version tags (`1.2.3`, `v1.2.3`, with an optional prerelease suffix). It requires a successful push run of `test.yaml` on `main` for the exact tagged commit. It waits up to 30 minutes for CI and allows two minutes for Gitea to register the run. A failed, cancelled or missing run blocks the build and publish.
|
||||
- Once CI passes, the tag workflow builds the image with the tag as version and the commit as revision, publishes `git.bjphoster.com/source/coredns-web-ui:<version>` and, for tags without a prerelease suffix, `latest`, and removes the local images. The built-in job token needs Actions read access. Publishing uses the Actions variables `GIT_HOST` and `REGISTRY_USER` and the secret `GIT_TOKEN` with package write access.
|
||||
|
||||
## Deployment
|
||||
|
||||
|
||||
Reference in new issue
Block a user