Skip to content

Sync repo templates ⚙ #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 10 additions & 13 deletions .github/ISSUE_TEMPLATE/release-checklist.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
# Template generated by https://github.com/coreos/repo-templates; do not edit downstream
name: release checklist
about: release checklist template
title: New release for openssh-keys
labels: jira,kind/release
warning: |
⚠️ Template generated by https://github.com/coreos/repo-templates; do not edit downstream
---

# Release process
Expand Down Expand Up @@ -79,22 +84,14 @@ Push access to the upstream repository is required in order to publish the new t
- [ ] `git branch -d pre-release-${RELEASE_VER} release-${RELEASE_VER}`

- Fedora packaging:
- [ ] update the `rust-openssh-keys` spec file in [Fedora](https://src.fedoraproject.org/rpms/rust-openssh-keys)
- bump the `Version`
- switch the `Release` back to `1%{?dist}`
- remove any patches obsoleted by the new release
- update changelog
- [ ] run `spectool -g -S rust-openssh-keys.spec`
- [ ] run `kinit your_fas_account@FEDORAPROJECT.ORG`
- [ ] run `fedpkg new-sources $(spectool -S rust-openssh-keys.spec | sed 's:.*/::')`
- [ ] PR the changes in [Fedora](https://src.fedoraproject.org/rpms/rust-openssh-keys)
- [ ] once the PR merges to rawhide, merge rawhide into the other relevant branches (e.g. f40) then push those, for example:
- [ ] Review the proposed changes in the PR submitted by Packit in [Fedora](https://src.fedoraproject.org/rpms/rust-openssh-keys)/pull-requests.
- [ ] once the PR merges to rawhide, merge rawhide into the other relevant branches (e.g. f42) then push those, for example:
```bash
git checkout rawhide
git pull --ff-only
git checkout f40
git checkout f42
git merge --ff-only rawhide
git push origin f40
git push origin f42
```
- [ ] on each of those branches run `fedpkg build`
- [ ] once the builds have finished, submit them to [bodhi](https://bodhi.fedoraproject.org/updates/new), filling in:
Expand Down
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels: ["skip-notes"]
open-pull-requests-limit: 3
- package-ecosystem: cargo
directory: /
schedule:
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ concurrency:
env:
CARGO_TERM_COLOR: always
# Pinned toolchain for linting
ACTIONS_LINTS_TOOLCHAIN: 1.75.0
ACTIONS_LINTS_TOOLCHAIN: 1.84.1

jobs:
tests-stable:
name: Tests, stable toolchain
runs-on: ubuntu-latest
container: quay.io/coreos-assembler/fcos-buildroot:testing-devel
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
with:
Expand All @@ -40,9 +41,10 @@ jobs:
tests-release-stable:
name: Tests (release), stable toolchain
runs-on: ubuntu-latest
container: quay.io/coreos-assembler/fcos-buildroot:testing-devel
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
with:
Expand All @@ -56,9 +58,10 @@ jobs:
tests-release-msrv:
name: Tests (release), minimum supported toolchain
runs-on: ubuntu-latest
container: quay.io/coreos-assembler/fcos-buildroot:testing-devel
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Detect crate MSRV
run: |
msrv=$(cargo metadata --format-version 1 --no-deps | \
Expand All @@ -78,9 +81,10 @@ jobs:
linting:
name: Lints, pinned toolchain
runs-on: ubuntu-latest
container: quay.io/coreos-assembler/fcos-buildroot:testing-devel
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
with:
Expand All @@ -95,13 +99,14 @@ jobs:
tests-other-channels:
name: Tests, unstable toolchain
runs-on: ubuntu-latest
container: quay.io/coreos-assembler/fcos-buildroot:testing-devel
continue-on-error: true
strategy:
matrix:
channel: [beta, nightly]
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
with:
Expand Down
Loading