Commit graph jw-pkg/.github
Author SHA1 Message Date
345364cd85
ci.yaml: test-packaging.yaml@{master-test -> master}
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m16s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m12s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m21s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m12s
CI / Packaging test (push) Successful in 0s
Don't use master-test branch from ci/workflows for
test-packaging.yaml, because it might mo away. Use master instead.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-08 19:43:15 +02:00
00af6a2b37
ci.yaml: enable-email-notifications: true
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m21s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m22s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m17s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m15s
CI / Packaging test (push) Successful in 0s
Add enable-email-notifications: true. This seems to be needed for sending
information about failed runs. Apparently it doesn't make it difference if I
add it to ci/workflows/.github/workflows/test-packaging.yaml.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-08 19:14:00 +02:00
ace0e915ec
standard-tests.yaml: Rename to ci.yaml
In another attempt at making CI workflow naming more concise:

  - Rename standard-tests.yaml to ci.yaml

    Currently the contents of this file covers everything CI-related
    that happens in the context workflows, so for the time being,
    naming it ci.yaml is just fitting. And it's going to be shorter
    in commit message summaries. Should a real need arise, we can
    always split the file up again.

  - Shorten names again, otherwise they don't fit into Forgejo's
    check-mark-popup. That should be self-explanatory in context:

    name:
      Default CI -> CI

    jobs.CI.name:
      Packaging test - All supported platforms -> Packaging test

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-08 19:13:59 +02:00
82101ce4a6
workflows/(build-package.yaml -> standard-tests.yaml)
This commit reorganizes build-package.yaml in several ways:

  - Follow name change of the called workflow

    The reusable workflow used by build-package.yaml changed name and
    location, and this commit follows the move.  It was located at
    ci/action-build-package before and has moved to ci/workflows,
    because what it provides is semantically more of a workflow than
    an action.

  - Limit CI runs

    The commit also adds safeguards against too many CI runs. It
    limits them to PR events opened, re-opened or pushed-to, and to
    push events hitting branches master, main and release.

  - Rename workflow itself to standard-tests.yaml

    That name reflects better what it represents: The entry point to
    janware's standard set of CI tests. All of them happen to run in
    the context of building and packaging at this point, but that
    might not be the only standard test this repo chooses to
    subscribe to in the future, and if so, they will be better off in
    one file with defined order, so give that file a better umbrella
    name.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-03 15:29:22 +02:00
00dff385bc
workflows/build-package.yaml: Remove "runs-on"
Forgejo versions before 15 didn't support workflow expansion, and
"runs-on" was necessary in callers of reusable workflows. janware.com
now runs Forgejo 15.x, and the requirement is gone, so remove the config
option.

Quoting from https://forgejo.org/docs/latest/user/actions/reference/

  runs-on is typically a required field. However, if a job defines
  jobs.<job_id>.uses in order to reference a reusable workflow, then it
  is optional. See jobs.<job_id>.uses for more information on this
  behaviour.

  [...]

  It is recommended that jobs.<job_id>.runs-on is omitted when using
  uses, as this will allow Forgejo to perform workflow expansion.
  Workflow expansion results in the target workflow’s jobs appearing in
  the UI as separate jobs.  This provides an easier to understand
  experience for accessing the logs of each job, and permits the jobs to
  run on separate runners with their own runs-on fields.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-02 17:52:49 +02:00
fcf3836aae build-package.yaml: Add workflow
Make building jw-pkg packages via reusable.yaml the default for
pushes and pull-requests.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-04-13 17:23:13 +02:00