Commit graph

65 commits

Author SHA1 Message Date
Gianluca Zuccarelli
0c47c4b165 workflows: add api generation workflow
Add a workflow to re-generate api changes on a cronjob that runs every day.
2025-08-13 14:32:42 +00:00
Klara Simickova
0acedb913c Revert "playwright: Add duration to test account creation request"
This reverts commit 1096c6d4fb.
2025-08-03 09:53:02 +00:00
regexowl
1096c6d4fb playwright: Add duration to test account creation request
There were some changes in Ethel recently, duration currently seems to be a required field. Ethel team works on a fix.

Default value for duration is 1 year so I've set it to that.
2025-07-31 09:36:11 +00:00
Gianluca Zuccarelli
f86f81d6d5 api: remove pull command
The api config supports pulling in the openapi schema's via a url, so there isn't a
need to pull this in manually and just run the code generation.

We also need to remove the `openshift-virt` target since this was removed from
image-builder-crc.
2025-07-23 10:23:12 +00:00
regexowl
0373a55f8c dependabot: Lower limit for number of open PRs
We no longer have dependency bumps "stuck" in the limbo. Let's lower the limit again as we're not overwhelmed by new dependabot PRs.
2025-07-17 12:59:03 +00:00
regexowl
3f1a80fbe2 Run actions with Node 22
The github actions were previously ran with Node 20, this bumps them to Node 22.

README was also updated to reflect currently used version of Node.
2025-07-03 14:45:48 +00:00
Gianluca Zuccarelli
eca4e55c67 workflows: split out dev checks into jobs
Split out the dev checks into multiple jobs, the benefit of this is that it
will be easier to see which check is failing and why.
2025-06-30 09:24:02 +00:00
Gianluca Zuccarelli
9247ea6196 workflows: split out unit tests
Split out the unit tests into their own action. This decouples the unit tests
from the other tests. This means the gitlab schutzbot tests don't have to
wait until the unit tests are completed before they are triggered. This
also a step towards splitting out the tests so it is more obvious to see
which step is failing and why.
2025-06-30 09:24:02 +00:00
Tomáš Hozza
07f500b94a GHA: enable the stale action to delete its saved state
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 11:45:20 +00:00
Sanne Raymaekers
c29cee781f .github: run test workflows on merge_group
Make sure they work with merge queues.
2025-06-11 14:08:11 +00:00
regexowl
15b4aa01f9 dependabot: Temporarily increase PR limit
This increases the limit for open dependabot pull requests from 3 to 5. We currently have two bumps that will require manual bumping/migrations, leaving us with little room for any other dependencies.
2025-05-29 13:28:11 +02:00
Dominik Vagner
3d8ccdf23d build: add testing proxy to playwright CI
This PR switches the playwright test in CI to use the consoledot testing
proxy instead of the development one in fec. This should result in
faster and more stable tests.
2025-05-27 11:42:22 +02:00
Tom Koscielniak
bd09a7faf3 playwright: Provision large AWS CB instance
By using a "large" AWS instance we should be able to use parallelization in Playwright without maxing out resources and having flakes in tests.
2025-05-02 14:52:13 +02:00
Sanne Raymaekers
7bceac6a36 .github: new stage user on each playwright run 2025-04-15 14:41:26 +02:00
Matej Marusak
e2efa37d47 Add currents reporter for Playwright tests
This adds currents reporter for Playwright tests

JIRA: HMS-5660
2025-03-19 15:45:14 +01:00
Tom Koscielniak
9c9ef15ad7 tests/CI: Change Playwright workflow trigger to pull_request
Change trigger of Playwright workflow from finishing development checks to trigger on pull requests.
2025-03-19 10:24:02 +01:00
Sanne Raymaekers
45669b06b8 dependabot: ignore playwright updates
Since the container embedded in our CI images is pinned, any update here
would result in the container having to be pulled again in CI
runs. Let's reduce the frequency that playwright gets updated, making it
easier to keep the container and the dependencies here somewhat in sync.
2025-03-17 13:39:51 +01:00
Adonis Puente
60fc68310d feat(RHINENG-15883): Add image-builder to new sentry flow 2025-03-17 13:02:23 +01:00
Sanne Raymaekers
a6ca98ee30 .github/workflows/playwright: add action for tests against stage
Adds an action which runs the playwright tests against the local stage
development setup.
2025-03-11 13:30:14 +01:00
Sanne Raymaekers
a50a9f6afd .github/workflows/trigger-gitlab: donly trigger nightly pipelines
This doens't apply to image-builder-frontend for now.
2025-02-24 16:13:11 +01:00
Sanne Raymaekers
9038d4948a .github/workflows/trigger-gitlab: remove artifact steps
These are only relevant in the osbuild/osbuild-composer, where the tests
workflow uploads artifacts.
2025-02-24 16:13:11 +01:00
Sanne Raymaekers
747b718933 schutzbot: add basic schutzbot structure
Simply builds the rpm and installs it.
2025-02-24 13:38:05 +01:00
regexowl
e4b531f311 dependabot: Return limit to 3 PRs at once
The issues are resolved, let's get back to just three open pull requests at one time.
2025-02-12 15:52:35 +01:00
regexowl
fd6ab7166d dependabot: Increase limit of opened pull requests
This will temporarily increase limit of opened pull requests, until the frontend-components bumps get resolved.
2025-02-10 11:21:40 +01:00
Sanne Raymaekers
de0d295e8d .github/workflows/release: fix make dist step
The upstream release step cleans the checkout, so move it out.
2025-02-07 15:13:09 +01:00
Sanne Raymaekers
4d9a1f294f .github/workflows/release: fix artefact name
After the upstream tag template changed, packit is now looking for the
artefact matching the template, so without the "v".
2025-02-06 16:26:30 +01:00
Sanne Raymaekers
2da55e20b2 .github/workflows: run cockpit unit tests in github workflows 2025-02-06 10:55:45 +01:00
Sanne Raymaekers
efa44c22bb .github/workflows/release: make sure GH_TOKEN is set for upload 2025-01-31 13:53:53 +01:00
Sanne Raymaekers
31eaea16ca .github/workflows/release: work around git clean
The osbuild release action cleans the repository, removing the tarball
that gets uploaded to the release. This tarball needs to be built before
schutzbot commits the version bump, so move it so it doesn't get
cleaned.
2025-01-31 13:15:21 +01:00
Sanne Raymaekers
79ca7c623b .github/workflows/release: fix release workflow 2
The release event isn't present when a tag is pushed, so use ref_name to
get the tag name.
2025-01-31 12:40:53 +01:00
Sanne Raymaekers
781c3a92ae .github/workflows/release: fix release workflow 2025-01-31 11:56:55 +01:00
Sanne Raymaekers
7129cf866e .github/workflows/release: fix make dist step 2025-01-20 17:13:40 +01:00
Sanne Raymaekers
17f2d11abe .github/workflows: add create-tag workflow 2025-01-20 15:07:53 +01:00
Sanne Raymaekers
fff8128771 .github/workflows: add release workflow
Also pushes the dist tarball, conform to the Source0 value in the spec
file. This is required for Packit to do downstream releases.
2025-01-20 15:07:53 +01:00
Simon Steinbeiss
80e793cbfd github/actions: Enable /jira-epic slash commands
This change depends on
https://github.com/osbuild/pr-best-practices/pull/8

It means you can use the command both in a standalone comment or
directly in the PR description.
2024-12-10 11:07:06 -06:00
Sanne Raymaekers
c9e5f9630b .github/workflows: run dev checks on main
The codecov comments don't make much sense as there's no reference point
currently.
2024-10-17 20:46:38 +02:00
regexowl
b5eab82318 workflows: Add check for circular dependencies
This adds a check for circular dependencies into dev-check, to make sure we don't introduce new problems in the future.
2024-10-11 14:55:03 +02:00
regexowl
2ddfee409e test: Test with Node 20 only
This updates the test env to test with Node 20 only, pr_check is also updated to use Node 20.

The changes shouldn't affect users in any way, please let me know if you think it might.

There were common async flakes when using testing-library with Node 18, those often surfaced in gh actions / pr_check only and did not reproduce locally unless resources got limited (I can reproduce some flakes in Power Saver mode only, leading me to conclusion, that it's just async being mischievous). Switching to testing with Node 20 only should also allow us to re-enable some tests that got disabled specifically because them running with Node 18 ended up in a time out.
2024-09-03 21:54:47 +02:00
Michal Gold
4801a09a85 codecov: enable codecov in our repo
this commit add the configuration for codecov,
to be able to see the coverage of vitest in codecov website.
2024-09-03 09:56:45 +02:00
regexowl
0f9f3b9af6 dependabot: Decrease open PR limit
The backlog of stuck dependencies is shrinking, meaning we can go back to previous limit of three open dependabot pull requests.
2024-07-19 17:53:22 +02:00
regexowl
15d9474740 workflows: Replace Node 16 with Node 20
With Node 16 being EOL since 09/2023 we could replace it with Node 20 in our development checks.
2024-06-20 10:48:29 +02:00
Jakub Rusz
32b936d4c6 CI: Drop SonarQube and Schutzbot in favor of Snyk (HMS-3696)
Snyk is now being used for code analysis in favor of Sonarqube. This
commit drops Sonarqube. Schutzbot was only neccessary for running
SonarQube, so it has also been dropped.
2024-03-05 08:39:16 +01:00
Simon Steinbeiss
f23f2be54f ghactions: Add PR best practice check 2024-03-01 09:30:48 +01:00
Ondrej Ezr
25144511ad api: split pulling API changes and regenerating new API
For checking wether the api was tempered with, we need separate action,
that just checks the code against the currently pulled spec.

This introduces two subactions for `npx api`.
These are `npx api:generate` and `npx api:pull`.
2024-01-23 12:39:32 +01:00
regexowl
6346cc50e4 workflows: Add check for manual changes to API
This adds a check to ensure that the code generated automatically by `npm run api` has no manual changes.
2023-12-21 18:51:04 +01:00
regexowl
3473d98511 dependabot: Bump open PR limit
This bumps a maximum number of opened dependabot PRs as there are currently three open PRs in need of manual revision. Those are blocking any other bumps from being even opened.

The bump should be temporary.
2023-12-11 15:42:27 +01:00
regexowl
5553766415 workflows: Add a workflow with dev checks
As Travis CI is getting removed from RedHatInsights this should replace it in what we used to use Travis for.

This workflow is triggered on pull requests to main and runs clean install of dependencies, lint check and the unit test suite.

The main motivation of this workflow being separated from the IQE tests is to allow to quickly check if the basic tests pass during development without the need to wait for the IQE tests to finish their run.
2023-11-02 11:28:44 +01:00
Ondřej Ezr
9be2ceaba7 Remove sync branches script
With serving UI assets from containers, there is no need to sync branches anymore.
2023-10-31 10:34:09 +01:00
Tomáš Hozza
226a74ff99 Actions: add workflow for marking and closing stale issues and PRs
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-09-07 12:10:15 +02:00
Jakub Rusz
4ec5c97758 Add Schutzbot and Sonarqube
This adds the ability to use our Schutzbot Gitlab CI and run Sonarqube
scan there. We have pretty much the exact same thing in weldr-client
repo and use it only for Sonarqube. This could also be used in the
future if there is any need to use our own CI.

The added scan is just informative and is by no means supposed to be
used to gate PRs, there will be just one more link to
check the results in case anyone is interested.
2022-09-02 16:09:12 +02:00