Commit Graph

21 Commits

Author SHA1 Message Date
Cole Robinson
1261666cf4 ci: Add test-against-libvirt-git.yml
Periodic job to run the test suite against libvirt.git

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-04-08 10:34:12 -04:00
Cole Robinson
ca25b41adc ci: clarify comment about what fedora packages we test against
it hasn't been virt-preview for a long while

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-04-07 16:46:40 -04:00
Cole Robinson
17d9f339d1 Tweak for codecov v4 2024-04-07 14:27:17 -04:00
dependabot[bot]
68efec21a7 ci: bump codecov/codecov-action from 3 to 4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-07 14:27:17 -04:00
Pino Toscano
8f8a1b9b43 ci: checkout the code after installing git-core
This makes sure that the actions/checkout action uses git to fetch the
sources (and thus resulting in a git repository), rather than using the
REST API (and get a simple directory with sources).

This may be useful to certain services (e.g. newer version of
codecov-cli) as they need to have the sources as proper git repository.

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2024-04-07 14:27:17 -04:00
Pino Toscano
14c5684f25 ci: split base dependency and build dependency installation
Split the installation of the base dependencies & the RPM build
dependencies in two steps, so they can be reordered as needed later on.

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2024-04-07 14:27:17 -04:00
Pino Toscano
3f79e76e58 ci: install git-core as well
It will be needed by codecov/codecov-action v4.

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2024-04-07 14:27:17 -04:00
Cole Robinson
e21129aebe ci: Rename CI workflow to Test on fedora:latest
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-04-06 16:14:46 -04:00
dependabot[bot]
fcfad47328 ci: bump codecov/codecov-action from 1 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 18:58:59 +02:00
dependabot[bot]
c56c17bef4 ci: bump actions/checkout from 2 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [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...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 18:47:15 +02:00
Cole Robinson
19efeaf7a6 Rename 'master' branch to 'main'
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-02-03 15:23:45 -05:00
Cole Robinson
e8272763fc ci: Fix RPM install
This should fix new dep issues as well

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2021-05-23 15:25:49 -04:00
Cole Robinson
f929bc7b8b ci: Add tqdm to dep list
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2021-05-23 14:23:59 -04:00
Cole Robinson
cd603672a8 CI: Add ci.yml
Run RPM build and test suite against latest fedora + virt-preview,
output and upload coverage info to codecov

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-07-18 19:28:04 -04:00
Cole Robinson
3a6ec2fe09 CI: Add note that translations.yml runs on default branch
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-07-14 11:58:41 -04:00
Cole Robinson
b1f6f64e54 CI: Rename ci.yml -> translations.yml
If we add CI it will be in a different workflow

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-07-14 11:58:41 -04:00
Pino Toscano
971dbaead0 ci: extract messages periodically
Switch the updates of the translation catalog from after every push to
every 2 days at 6am UTC.

Considering that the update-translation-pot will commit the catalog only
if changed, and that there are usually not that many changes upstream,
it is simpler to update the translation catalog only every couple of
days.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2020-07-14 11:58:41 -04:00
Pino Toscano
8ec6ccbddb ci: commit the catalog only if changed
Compare the newly generated catalog with the old one: if it actually
changed (i.e. there are changes beside the creation date), then push it
to the 'translations' branch.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2020-07-14 11:58:41 -04:00
Cole Robinson
f2f2822090 ci: Commit extracted messages after rebase
Otherwise rebase fails because state is dirty

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-07-12 14:04:10 -04:00
Cole Robinson
4ac7a1fac2 ci: Regenerate .pot only after rebasing to 'translations' branch
Otherwise we will get conflicts

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-07-12 13:47:15 -04:00
Cole Robinson
6944550218 Add github action to regenerate virt-manager.pot
We store this in a 'translations' branch so the master branch isn't
constantly spammed. I will merge that branch to master before release

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-07-12 08:57:29 -04:00