1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
Commit graph

38 commits

Author SHA1 Message Date
Markus Lehtonen
5f605f05d1 github: specify workflow permissions
Update gh-pages has started failing with default permissions. It needs
write permissions to be able to push to the gh-pages branch.
2024-10-14 19:15:17 +00:00
Markus Lehtonen
9bc2191c7b Revert "build(deps): bump actions/checkout from 1 to 4"
Checkout v4 does some strange mangling of tags, basically overwrites our
signed/annotated tag with something like:

  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune \
    --no-recurse-submodules origin \
    +2e93c3fd478b6631dd7bda9c6ec66a9f99cafaa8:refs/tags/v0.16.0

Which breaks our gh-pages build on release branches/tags.

This reverts commit 130ef1070d.
2024-05-27 18:07:58 +00:00
Kubernetes Prow Robot
c763ea99db
Merge pull request #1687 from kubernetes-sigs/dependabot/github_actions/master/actions/checkout-4
build(deps): bump actions/checkout from 1 to 4
2024-04-29 09:22:21 -07:00
dependabot[bot]
130ef1070d
build(deps): bump actions/checkout from 1 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 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/v1...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>
2024-04-29 16:04:57 +00:00
dependabot[bot]
2cf73f39a3
build(deps): bump azure/setup-helm from 3 to 4
Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 3 to 4.
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Changelog](https://github.com/Azure/setup-helm/blob/main/CHANGELOG.md)
- [Commits](https://github.com/azure/setup-helm/compare/v3...v4)

---
updated-dependencies:
- dependency-name: azure/setup-helm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 16:04:54 +00:00
Carlos Eduardo Arango Gutierrez
3017d2e9ba
Dependabot: Add proper dependabot config file
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-04-29 16:00:37 +02:00
Markus Lehtonen
48d06ae366 github: update tagging instructions in release checklists
Simplify and standardize the git tag message body. Adding the full
changelog in the tag description feels unnecessary and cannot be
corrected after the fact.
2023-12-22 10:00:13 +02:00
Markus Lehtonen
69d6e41790 github: add a separate issue template for patch releases
Also simplify the wording on the major release issue template,
eliminating "for a major release" from the text.
2023-09-19 14:40:23 +03:00
Markus Lehtonen
72bf84c4fa github: separate workflow for helm repo index update
No need to (re-)build documentation when a release is published.
Great simplification of the Helm repo index update script: do not scan
all releases but just get the assets from the release that was
published.

This separation should make the maintenance of scripts and workflows
easier.
2023-09-18 11:28:10 +03:00
Markus Lehtonen
ef3ad8f5f3 github: prevent parallel runs of gh-pages update
Ensure sequential updates to the gh-pages branch. Otherwise, if parallel
jobs are triggered, onnly one (the first to complete) will succeed and
the others will fail with git push error (because the tip of the
gh-pages has moved and their commit doesn't apply anymore).
2023-09-15 11:43:23 +03:00
Markus Lehtonen
415c7981f3 github: update assignees in new-release issue template
Sync with OWNERS file.
2023-07-21 09:06:42 +03:00
Markus Lehtonen
ab999b647e github: update new-release issue template
Only instruct to spam kubernetes dev mailing list on major releases.
2023-06-01 15:43:49 +03:00
Jordan Jacobelli
bf43f5be70 OWNERS: Update Ethyling username to jjacobelli
Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com>
2023-02-13 09:43:40 +01:00
Markus Lehtonen
30e7c24795 github: update new-release issue template
Add instructions about creating prow jobs for new release branches.
2022-12-21 10:24:48 +02:00
Markus Lehtonen
97590e200a scripts: move hacky scripts to hack directory
Move prepare-release.sh and kustomize.sh from scripts/ to hack/.
2022-09-13 17:58:09 +03:00
Markus Lehtonen
4f34451db8 Update NFD registry to registry.k8s.io
Kubernetes has moved to a new container image registry:
https://groups.google.com/a/kubernetes.io/g/dev/c/DYZYNQ_A6_c/m/FpHqeVR2BAAJ
2022-09-12 11:21:12 +03:00
Markus Lehtonen
760cc87345 github: small fix in new-release issue template 2022-06-07 18:43:19 +03:00
Carlos Eduardo Arango Gutierrez
73d874b92f
Fix a couple typos
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2022-03-23 19:16:01 -04:00
Markus Lehtonen
1a6461ff23 github: re-organize the release process slightly
Reorganize the steps in the release process slightly to make it more
consistent and streamlined. Also update the kubernetes-dev mailing list
address.
2022-01-11 21:43:09 +02:00
Kubernetes Prow Robot
ab78df3466
Merge pull request #498 from marquiz/devel/github-release-template
github: update release process to create a 'devel' tag
2021-04-06 17:24:40 -07:00
Markus Lehtonen
b3cd3b32e5 github: add a reminder about both image variants in the release process 2021-04-06 13:46:35 +03:00
Markus Lehtonen
d1e8deaac1 github: update release process to create a 'devel' tag
Aimed at fixing a problem with misleading version numbers of staging
master builds.

Also, clarify the instructions on upcating the README of the master
branch.
2021-03-30 19:32:33 +03:00
Markus Lehtonen
aa9050eca3 github: update gh-pages on published releases
This will make the Helm repo to be updated at release time.
2021-03-18 15:32:15 +02:00
Markus Lehtonen
b4ef134c4d github: two more steps to release process 2021-03-18 13:02:13 +02:00
Markus Lehtonen
4545be71a8 github: update new-release issue template assignees
Sync the default assignees with the project OWNERS file.
2021-03-17 14:40:09 +02:00
Kubernetes Prow Robot
086f8c3b7a
Merge pull request #457 from marquiz/devel/helm-repo
Host NFD Helm repo in gh-pages
2021-03-17 04:00:56 -07:00
Markus Lehtonen
8cf9367798 github: update release process in new-release issue template
Capture process for Helm charts and remove some outdated bits.
2021-03-09 15:52:45 +02:00
Markus Lehtonen
dfae747e84 scripts/update-gh-pages: manage a Helm repo
Make the update-gh-pages.sh script to maintain a Helm charts repository
under charts/ subdirectory in gh-pages. The script now (always) scans
throught all release assets and injects any found Helm chart archives
into the Helm repo. In practice, new assets in all Github releases are
scanned and the Helm repo is updated on any update of the master or
release branches or on any new tags. Asset ids are tracked/cached in
order to avoid unnecessary downloads, but also, to capture any changes
in assets that were already merged in the repo index.

After this a user is able to do something like

$ helm repo add nfd http://kubernetes-sigs.github.io/node-feature-discovery/charts
  ...
$ helm repo update
  ...
$ helm install nfd/node-feature-discovery --namespace nfd --create-namespace --generate-name
  ...
2021-03-09 14:14:29 +02:00
Markus Lehtonen
42ebb285a3 github: limit gh-pages build of tags to (final) semver releases 2021-03-08 10:16:17 +02:00
Markus Lehtonen
30e3d0b8b9 github: switch to checkout v1
V2 handles tags incorrectly
(https://github.com/actions/checkout/issues/290) and the easiest
solution is to simply switch to v1.
2020-12-07 12:35:05 +02:00
Markus Lehtonen
16acc2b433
github: update new-release issue template 2020-12-04 13:00:11 -05:00
Markus Lehtonen
ad042f92f5 scripts/update-gh-pages: only update docs if version has been released
Only update documentation if the version has been released (i.e. a git
tag corresponding the version we're updating exists) or it is for the
master branch. Prevents us from pointing users to documentation of an
unreleased version.

Also updates github workflow to fetch full commit history (including
tags) so that git describe works correctly.
2020-12-03 12:54:14 +02:00
Markus Lehtonen
40be2c7e0c docs: specify container image in config 2020-11-20 17:00:19 +02:00
Markus Lehtonen
2283f29b19 scripts: add prepare-release.xh
A helper script for preparing the release branch.
2020-11-20 16:14:07 +02:00
Markus Lehtonen
8ca38e26e3 Replace RELEASE.md with an issue template
In addition to just moving the content, update release process. Adjust
to the latest prow-based workflow. Capture steps required for
documentation.
2020-11-19 21:31:52 +02:00
Markus Lehtonen
c5beeffb6a Enable automated update of gh-pagaes
Add 'scripts/github/update-gh-pages.sh' for updating gh-pages branch.
This new script intended for github actions integration and builds the
html documentation from the currently checked-out commit and updates the
corresponding version subfolder in the gh-pages branch. The version is
taken from GITHUB_REF environment variable and defaults to 'master' if
the env var is empty. For testing purposes or manual updates the
subfolder can also be given directly as a command line argument.

Add 'scripts/test-infra/build-gh-pages.sh' for verifying that site
(gh-pages) builds successfully. This is intended for integration with
kubernetes test-infra.

Finally, add Github workflow for updating gh-pages. This job is run on
master and release branches plus all tags starting with letter 'v'.
2020-10-08 10:54:24 +03:00
Bob Killen
93c11c03bf
Update triage/support label references to kind/support
The label triage/support has been reclassified as kind/support. The
kind/* family of labels makes more logical sense, as they describe the
"kind" of thing an issue or PR is.

For more information, see the announcement email:
https://groups.google.com/g/kubernetes-dev/c/YcaJpsjjLKw/m/i15cLLx5CAAJ
2020-10-03 10:12:31 -04:00
Carlos Arango Gutierrez
0896223c69
Enable issue templates (#363)
* Enable issue templates

This commit adds templates for bug report, feature request and support
related issues.

Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>

* Update .github/ISSUE_TEMPLATE/bug-report.md

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>

* Update .github/ISSUE_TEMPLATE/enhancement.md

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>

* Update .github/ISSUE_TEMPLATE/support.md

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>

Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
2020-09-22 11:17:09 -07:00