Commit graph

10 commits

Author SHA1 Message Date
Allison Karlitskaya
58df999d82 misc: move to new tasks container location 2024-03-18 11:56:00 +01:00
Martin Pitt
0009f07a2c workflows: Bump action-release to get github-script@v7
This gets rid of the obsolete node.js 16. See
7d2e265738
2024-02-27 11:14:46 +01:00
Martin Pitt
6e1427493a workflows: Switch release to cockpit/tasks container
The unit-tests container was dropped in
f16f1fc14b

Also switch the template to current actions/checkout version.
2024-02-20 13:32:19 +01:00
Justin Stephenson
e3a8c9d17c
workflows: Pacify git's permission check in release workflow
"fatal: detected dubious ownership in repository at..."
2023-05-19 18:18:24 +02:00
Jelle van der Waa
3cb5cb96de .github: update release action workflow
Our latest action-release workflow no longer uses a deprecated
github-script version.
2023-02-08 14:31:22 +01:00
Martin Pitt
f5faff051b Move release from cockpituous to action-release and packit
This gets rid of our "release" environment with high-profile secrets,
and the cockpituous/release infra.

The upstream release uses our shared
https://github.com/cockpit-project/action-release/ action.
2022-06-07 17:09:25 +02:00
Martin Pitt
c639ffc276 Move example COPR release to packit
This replaces the cockpituous job.
2022-05-03 10:30:13 +02:00
Martin Pitt
4d9dd8c11e workflows: Run release workflow in release environment
This partitions secrets and limits their potential exposure/leakage.

This environment can be created with github-upload-action-secrets in [1].

[1] https://github.com/cockpit-project/bots/pull/2164
2021-07-06 09:38:18 +02:00
Martin Pitt
f95b9a0373
workflows: Update release container registry
With [1] the release container moved from dockerhub to GitHub's
container registry, as we both build and use it from GitHub. This avoids
running into docker.io pull limits.

[1] https://github.com/cockpit-project/cockpituous/pull/353

Closes #398
2020-12-02 10:29:38 +01:00
Martin Pitt
2a51e057d7 Show how to run the release in GitHub workflow
Enter the new world of GitHub actions [1]/GitLab pipelines [2]. This
simplifies our end of the infrastructure considerably:

* No need any more to set up webhooks, all the relevant configuration
  is right in the workflow file.

* Does not need any infrastructure on our side any more, and thus works
  for third-party projects. They just need to set up their own secrets.

* GitHub automatically provides a temporary `GITHUB_TOKEN` with
  sufficient write access to the project to publish a release, so we
  don't need to carry around that secret. Thus if your project only
  releases to GitHub, there is zero secrets management.

Also adjust cockpituous-release a bit (update Fedora version, fix
project name copy-pasta), point to the action workflow and necessary
secrets.

Closes #380
2020-10-13 09:37:35 +02:00