Niels de Vos
27dc4f0fde
ci: fix syntax error in pull-request-commenter
GitHub Workflow
...
The `ok-to-test` label does not work anymore, and the GitHub Workflow
contains the following error:
The workflow is not valid.
.github/workflows/pull-request-commentor.yaml (Line: 15, Col: 9):
Unrecognized named-value: 'ok-to-test'.
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-05-30 14:00:27 +00:00
Rakshith R
cf0fd2bfeb
ci: fix pull-request-commentor workflow
...
Fix if condition in workflow to account
for ok-to-test label on newly created prs.
Signed-off-by: Rakshith R <rar@redhat.com>
2023-05-26 12:15:07 +00:00
Rakshith R
b157b1a7c2
ci: trigger Add comment
workflow for "opened" prs
...
The `Add comment` workflow was triggered only
when labels were added to the pr and failed
to be run on prs which were created with the
required label.
This commit makes sure the workflow is triggered
on pr creation too.
Signed-off-by: Rakshith R <rar@redhat.com>
2023-05-26 09:22:16 +00:00
Rakshith R
c63af2108e
ci: switch back to official label copier & always add ok-to-test
label
...
Signed-off-by: Rakshith R <rar@redhat.com>
2023-05-19 07:40:10 +00:00
Niels de Vos
6547868611
ci: checkout the local mergify-merge-queue-labels-copier
...
Without checking out the repository, it is not possible to run the local
action.
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-05-15 16:37:11 +00:00
Niels de Vos
e46f65640c
ci: rename gha-mergify-merge-queue-labels-copier.yaml
to action.yaml
...
It seems to be required to have the GitHub Action called `action.yaml`.
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-05-15 15:22:12 +00:00
Niels de Vos
b371337287
ci: use modified gha-mergify-merge-queue-labels-copier Action
...
The original Mergifyio/gha-mergify-merge-queue-labels-copier@main
contains `startsWith()` that has the arguments reversed. This prevents
the action from working as intended.
See-also: https://docs.github.com/en/actions/learn-github-actions/expressions
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-05-15 14:47:53 +00:00
Niels de Vos
52ebfa6b97
ci: include ci/skip/.. labels for copying into merge queue PRs
...
Setting an empty `labels:` fails to work as intended, no labels get
copied ad all. Now setting the `ci/skip/..` labels, as those are most
important for speeding up merging.
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-05-15 12:47:40 +00:00
Niels de Vos
745d2ace92
ci: Mergify copy-labels requires empty string for labels:
...
Instead of leaving the `labels:` empty, pass an empty string `""`.
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-05-15 08:03:28 +00:00
Niels de Vos
40eff59d45
ci: Mergify copy-labels requires empty labels:
value
...
See-also: Mergifyio/mergify#5088
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-05-15 07:24:04 +00:00
Niels de Vos
c37ac53cbb
ci: add GitHub Workflow to copy labels in Mergify created PRs
...
When Mergify creates a PR, the `ok-to-test` label needs to be added
before CI runs. Not all PRs need complete testing, and they may have
some `ci/skip/..` labels too. With this new GitHub Workflow, the labels
get copied from the original PR into the newly created PR.
See-also: https://github.com/Mergifyio/mergify/discussions/5088
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-05-11 11:05:46 +00:00
dependabot[bot]
c702264708
rebase: bump peter-evans/create-or-update-comment from 2 to 3
...
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment ) from 2 to 3.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases )
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 11:34:17 +00:00
riya-singhal31
1bc090d975
ci: update github actions for k8s 1.27
...
Signed-off-by: riya-singhal31 <rsinghal@redhat.com>
2023-04-21 08:18:33 +00:00
Madhu Rajanna
60248ce811
ci: remove kubernetes 1.23 from github action
...
Removed kubernetes 1.23 from github action
as 1.23 is not supported anymore.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2023-04-21 06:46:30 +00:00
dependabot[bot]
cb05525d4f
rebase: Bump peter-evans/create-or-update-comment from 2 to 3
...
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment ) from 2 to 3.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases )
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 08:46:07 +00:00
dependabot[bot]
ac5d58f30e
rebase: Bump actions/stale from 7 to 8
...
Bumps [actions/stale](https://github.com/actions/stale ) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-28 07:10:20 +00:00
Niels de Vos
994ad0f9c8
ci: fix markdown linter complaints
...
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-02-28 10:27:44 +01:00
Niels de Vos
b7955ec0ee
ci: disable dependabot PR creation for /api
dependencies
...
Dependabot does not need to report available updates for vendored
dependencies in the downstream repository. Updates to dependencies are
synced from the upstream repository when needed. There is also the
"Upstream First" requirement, which we follow closely.
See-also: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates#open-pull-requests-limit
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-02-28 09:55:01 +01:00
OpenShift Merge Robot
ce40a55de7
Merge pull request #158 from ceph/devel
...
sync downstream devel with upstream devel
2023-02-22 07:10:49 +01:00
Niels de Vos
c84b4a15ba
ci: only run test-retest-action
if the PR modifies the action
...
There is no need to run the `test-retest-action` GitHub Workflow if
there are no changes under the `actions/retest` directory.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2023-02-21 10:58:52 +00:00
Niels de Vos
3325e5045e
ci: do not run commitlint GitHub Action on dependabot PRs
...
Currently commitlint is only skipped for PR at the time dependabot
creates them. Once Mergify rebases them, commitlint is started anyway.
This causes failed CI runs, which then need to be ignored. It is cleaner
to not run commitlint on any PR that dependabot owns.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2023-02-21 10:58:52 +00:00
Niels de Vos
773d2df564
ci: no need to run multi-arch-build for /actions/retest
...
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2023-02-20 14:18:15 +00:00
Niels de Vos
3a28b0f370
ci: add /api
to dependabot configuration
...
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2023-02-20 14:18:15 +00:00
Niels de Vos
48822d942d
ci: use context.issue.number
for removing ok-to-test
...
`github.event.pull_request.number` does not seem to be valid as a script
object/variable.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2023-02-20 12:34:15 +00:00
Niels de Vos
3252c1e782
ci: remove ok-to-test
label after commenting
...
Once the comments have been added, the `ok-to-test` label can be
removed. This makes it possible to simplify the Mergify configuration.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2023-02-20 11:10:23 +01:00
OpenShift Merge Robot
c83d2bd4d2
Merge pull request #156 from ceph/devel
...
sync downstream devel with upstream devel
2023-02-07 02:36:00 -05:00
Niels de Vos
c3bc1f720b
ci: add Kubernetes 1.26 as default version to test
...
Kubernetes 1.26 has been released at the end of 2022 and should be
tested frequently.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2023-01-31 08:30:38 +00:00
OpenShift Merge Robot
9b81deec5a
Merge pull request #155 from ceph/devel
...
sync downstream devel with upstream devel
2023-01-12 03:15:50 -05:00
dependabot[bot]
911bc6eabc
rebase: bump actions/stale from 6 to 7
...
Bumps [actions/stale](https://github.com/actions/stale ) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 09:45:15 +00:00
OpenShift Merge Robot
ac6e6cae5d
Merge pull request #153 from ceph/devel
...
update downstream devel with upstream devel
2022-12-21 09:25:05 -05:00
dependabot[bot]
f0cc5a0ef8
rebase: bump actions/dependency-review-action from 2 to 3
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 2 to 3.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 13:00:22 +00:00
OpenShift Merge Robot
cddb85a3f9
Merge pull request #150 from ceph/devel
...
sync downstream devel with upstream devel
2022-11-15 09:15:52 +00:00
Humble Chirammal
95dac056f2
ci: fix formatting for the interval in dependabot configuration
...
as per the documentation `""` has to be mentioned for the schedule
interval value field. This commit ensures it and make it consistent.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-11-15 03:34:37 +00:00
OpenShift Merge Robot
193bf3668a
Merge pull request #148 from ceph/devel
...
Sync downstream devel with upstream devel
2022-11-13 02:08:33 +00:00
Niels de Vos
38c4832665
ci: do not leave testing comments on merged PRs
...
A PR with status `github.event.pull_request.merged == true` does not
need to be tested again.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2022-11-11 11:35:05 +00:00
OpenShift Merge Robot
8abfa19ea5
Merge pull request #143 from ceph/devel
...
Sync downstream devel with upstream devel
2022-10-31 03:38:34 -04:00
Madhu Rajanna
f19805a40b
ci: consider kubernetes 1.25 for tests
...
As we have successful runs with kubernetes
1.25 Marking is as default for CI jobs and
required for merging PR.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-10-28 15:57:05 +02:00
Madhu Rajanna
4039bf5063
ci: remove kubernetes 1.22 tests
...
As we need to test with last 3 Kubernetes
releases removing Kubernetes 1.22
as we have 1.23, 1.24 and 1.25
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-10-28 15:57:05 +02:00
Madhu Rajanna
659567cfdc
ci: add github action to trigger E2E
...
based on the discussion on the slack
channel. we are adding a github action
to trigger the CI jobs when a ok-to-test
label is added on the PR.
This action is based on below github action
https://github.com/peter-evans/create-or-update-comment
Sample Demo avaiable at
https://github.com/Madhu-1/
\label-commentor-action-testing/pull/4
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-10-26 06:59:22 +00:00
OpenShift Merge Robot
b01e71d0ef
Merge pull request #136 from ceph/devel
...
Sync downstream devel with upstream devel
2022-10-10 10:30:23 +02:00
dependabot[bot]
5c8564c69d
rebase: bump actions/stale from 5 to 6
...
Bumps [actions/stale](https://github.com/actions/stale ) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:40:14 +00:00
OpenShift Merge Robot
964a397116
Merge pull request #125 from ceph/devel
...
sync downstream devel from upstream devel
2022-08-29 09:57:40 -04:00
Madhu Rajanna
842279b811
ci: use ubuntu-latest for stale job
...
Currently, we use the Ubuntu 18.04 actions runner
for stale job. This runner will be deprecated
and removed in the beginning of Dec.
So should change the runner to use latest ubuntu.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-08-16 07:00:44 +00:00
openshift-ci[bot]
ab9a71c87a
Merge pull request #104 from ceph/devel
...
sync downstream devel with upstream devel
2022-06-28 13:36:08 +00:00
dependabot[bot]
05ccb31a45
rebase: bump actions/dependency-review-action from 1 to 2
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 1 to 2.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 08:17:57 +00:00
Niels de Vos
7aba15aa13
ci: disable dependabot PR creation for Actions
...
Dependabot does not need to report available updates for vendored
dependencies in the downstream repository. Updates to dependencies are
synced from the upstream repository when needed. There is also the
"Upstream First" requirement, which we follow closely.
See-also: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates#open-pull-requests-limit
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2022-06-21 08:40:03 +02:00
OpenShift Merge Robot
2858b11f92
Merge pull request #96 from ceph/devel
...
Sync upstream devel to downstream devel
2022-05-26 03:59:13 -04:00
Naveen
60281fab40
ci: included dependency review
...
Dependency Review GitHub Action in your repository to enforce dependency
reviews on your pull requests.
Signed-off-by: Naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-24 06:48:22 +00:00
Niels de Vos
bbecb81d4f
ci: add ci/skip/multi-arch-build
label
...
If the `ci/skip/multi-arch-build` label is set on a PR, the GitHub
Workflow only builds for the local architecture. This makes it possible
to merge PRs faster.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2022-05-10 06:08:22 +00:00
dependabot[bot]
6d23e750be
rebase: bump docker/login-action from 1 to 2
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 05:02:33 +00:00