Tomáš Hozza
650663be78
GHA: enable the stale action to delete its saved state
...
Tests / 🐍 Lint (push) Failing after 1m25s
Tests / Unit tests (push) Failing after 2s
Tests / Shellcheck (push) Failing after 2s
Trigger GitLab CI / pr-info (push) Failing after 1s
Trigger GitLab CI / trigger-gitlab (push) Has been skipped
It turns out that the stale action is not able to delete its saved
state due to missing permissions. As a result, it was not processing
issues and PRs, that have been processed once, for almost a month.
The error in the job log was:
```
Warning: Error delete _state: [403] Resource not accessible by integration
```
The fix is to add `actions: write` to the action permissions
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-06-18 13:41:50 +02:00
Simon Steinbeiss
2e1d94aa48
github/actions: Enable /jira-epic slash commands
...
This change allows for using the command to create Jira Tasks under a
given Epic both in a pull request comment or in the pull request
description. By default, this action uses the HMS project to create the
Task in.
Also, the Epic referred to needs to be in a project that is accessible
to the imagebuilder-bot account (currently: COMPOSER, HMS).
2024-12-17 14:58:12 +01:00
Sanne Raymaekers
c7f1895ecf
.github/workflows/ci: disable codespell
...
This check is failing on the spelling of the valid function `assertIn`
of the unittest library.
2024-10-28 10:59:05 +01:00
Tomáš Hozza
3b1e3ca9e1
Actions: add workflow for marking and closing stale issues and PRs
...
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-09-07 11:57:24 +02:00
dependabot[bot]
2519a75aba
build(deps): bump ludeeus/action-shellcheck from 1.1.0 to 2.0.0
...
Bumps [ludeeus/action-shellcheck](https://github.com/ludeeus/action-shellcheck ) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/ludeeus/action-shellcheck/releases )
- [Commits](https://github.com/ludeeus/action-shellcheck/compare/1.1.0...2.0.0 )
---
updated-dependencies:
- dependency-name: ludeeus/action-shellcheck
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 12:25:59 +01:00
Simon Steinbeiss
c4de854fc3
ci: Pin Fedora container for pylint
...
This is so that new pylint errors with the version in Fedora 37 can be
fixed in a separate, subsequent PR.
2022-11-16 18:39:41 +01:00
Tomas Hozza
d1e064aec3
koji_test.py: test upload to cloud with AWS
...
Extend the integration test with a new case, testing that direct upload
to the cloud works for Koji composes. Test this using a single cloud
provider, specifically AWS.
The test case submits a new osbuild-image build using Koji CLI,
determines the image information once the build finishes and then checks
that such image exists in AWS. The image is then deleted as part of the
test case tear-down.
The AWS credentials are now configured in the worker's configuration, if
the appropriate environment variables are set.
Update the SPEC file with a new test dependency and update the required
osbuild-composer version.
2022-08-31 13:13:24 +02:00
Tomas Hozza
4e32ae5439
CI: exclude LICENSE from spell check
...
Spell check started to freak out on `complies` in the `LICENSE`. Exclude
`LICENSE` from spell check until it learns English.
2022-08-22 09:58:06 +02:00
Tomas Hozza
21a947d64f
GH action: use Fedora container for Pylint
2022-08-22 09:58:06 +02:00
Jakub Rusz
afe767a0ca
workflows/trigger-gitlab: run Gitlab CI in new image-builder project
...
We have a new project in Gitlab
https://gitlab.com/redhat/services/products/image-builder/ci/koji-osbuild
and we want to run the CI there instead.
2022-04-13 10:27:45 +02:00
Simon Steinbeiss
4c791c3f19
Add GitHub Action to create upstream tag
...
This action can be triggered manually from the GitHub Actions tab.
2022-03-24 16:57:55 +01:00
dependabot[bot]
1389c20247
build(deps): bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 00:24:57 +01:00
Simon Steinbeiss
7743d20af9
Add upstream release bot and enable packit
2022-02-14 15:33:48 +01:00
Alexander Todorov
16905e3c5f
CI: Fix failure in Coverity Scan
2021-11-22 11:47:18 +01:00
Alexander Todorov
6dbc41dbdb
ci: Enable Coverity Scan
2021-11-15 12:29:17 +00:00
dependabot[bot]
98c4c90637
build(deps): bump ludeeus/action-shellcheck from 0.5.0 to 1.1.0
...
Bumps [ludeeus/action-shellcheck](https://github.com/ludeeus/action-shellcheck ) from 0.5.0 to 1.1.0.
- [Release notes](https://github.com/ludeeus/action-shellcheck/releases )
- [Commits](https://github.com/ludeeus/action-shellcheck/compare/0.5.0...1.1.0 )
---
updated-dependencies:
- dependency-name: ludeeus/action-shellcheck
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 15:08:36 +02:00
Alexander Todorov
98142d3325
Trigger CI jobs only for PRs and main
...
to minimize the resource usage when we & Dependabot push to branches
2021-10-05 11:08:25 +02:00
Alexander Todorov
17dd9582c8
Enable Dependabot
2021-10-05 11:08:25 +02:00
Alexander Todorov
f569c38ea9
Add support for GitLab CI
...
and remove Jenkins related files
2021-07-29 11:19:33 +02:00
Ondřej Budai
72ffb61346
ci: trigger schutzbot from github action
...
Previously, we had a webhook relay. It received a notification from Github
and sent it to AWS SQS. Now, the webhook is dead. The new method (already used
in osbuild-composer and image-builder) is to send the notification directly
from a github action to AWS SQS.
2021-02-25 14:46:34 +01:00
Christian Kellner
3adccb716c
ci: update container to use 'main'
...
There is no 'master' branch anymore, use 'main' instead.
2020-11-17 13:35:52 +00:00
Christian Kellner
c2107b4798
ci: spell check source via codespell
...
Integrate the codespell github action to spell check the source
code in CI.
2020-11-03 11:31:29 +01:00
Christian Kellner
f4c850d7d0
ci: enable ShellCheck warnings
...
Enable ShellCheck at the warning level.
2020-09-17 19:53:06 +02:00
Christian Kellner
b8f991e386
ci: fix typo in job name
...
It is linting not "liniting". So many iiiis.
2020-09-17 19:53:06 +02:00
Christian Kellner
c6f1fa0a6f
ci: configure coverage thresholds
...
Taken from osbuild-composer. What is good for them is good for us.
2020-09-17 16:33:14 +01:00
Christian Kellner
385d51b2ba
ci: send coverage data to codecov.io
...
Now that we have coverage data, send it to codecov.io, the service
already used by osbuild-composer, for visualization.
2020-09-14 17:37:35 +02:00
Christian Kellner
edb05b1683
ci: use pytest and generate coverage data
...
Instead of the standard unit tests module use pytest and generate
coverage data in XML form, later to be used with another service.
2020-09-14 17:37:35 +02:00
Christian Kellner
8b9143aae9
ci: run unit tests
...
Use the koji test environment container to run the unit tests.
2020-09-13 13:20:19 +02:00
Christian Kellner
6d0a298492
ci: run pylint on the source
...
Use the new github action to run pylint on all the source code.
2020-09-12 17:22:51 +02:00