-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from voxpupuli/modulesync
Update from voxpupuli modulesync_config
- Loading branch information
Showing
10 changed files
with
185 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Managed by modulesync - DO NOT EDIT | ||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ | ||
|
||
# No matter which file got changed, request a review from the main developers | ||
* @voxpupuli/tools-containerimages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
# Managed by modulesync - DO NOT EDIT | ||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ | ||
|
||
version: 2 | ||
updates: | ||
# raise PRs for gem updates | ||
- package-ecosystem: bundler | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "13:00" | ||
open-pull-requests-limit: 10 | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "13:00" | ||
open-pull-requests-limit: 10 | ||
|
||
- package-ecosystem: "docker" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
time: "13:00" | ||
open-pull-requests-limit: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
# Managed by modulesync - DO NOT EDIT | ||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ | ||
|
||
skip-changelog: | ||
- head-branch: ['^release-*'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
# Managed by modulesync - DO NOT EDIT | ||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ | ||
|
||
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes | ||
|
||
changelog: | ||
exclude: | ||
labels: | ||
- duplicate | ||
- invalid | ||
- modulesync | ||
- question | ||
- skip-changelog | ||
- wont-fix | ||
- wontfix | ||
|
||
categories: | ||
- title: Breaking Changes 🛠 | ||
labels: | ||
- backwards-incompatible | ||
|
||
- title: New Features 🎉 | ||
labels: | ||
- enhancement | ||
|
||
- title: Bug Fixes 🐛 | ||
labels: | ||
- bug | ||
|
||
- title: Documentation Updates 📚 | ||
labels: | ||
- documentation | ||
- docs | ||
|
||
- title: Dependency Updates ⬆️ | ||
labels: | ||
- dependencies | ||
|
||
- title: Other Changes | ||
labels: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
# Managed by modulesync - DO NOT EDIT | ||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ | ||
|
||
name: Labeler 🏷️ | ||
|
||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
labeler: | ||
name: Labeler | ||
uses: voxpupuli/crafty/.github/workflows/labeler.yml@main | ||
with: | ||
allowed_owner: ${{ github.repository_owner }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
# Managed by modulesync - DO NOT EDIT | ||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ | ||
|
||
name: Release 🚀 | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
uses: voxpupuli/crafty/.github/workflows/release.yml@main | ||
with: | ||
allowed_owner: voxpupuli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Managed by modulesync - DO NOT EDIT | ||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ | ||
|
||
.bundle/ | ||
.vendor/ | ||
vendor/ | ||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# frozen_string_literal: true | ||
|
||
# Managed by modulesync - DO NOT EDIT | ||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ | ||
|
||
source ENV['GEM_SOURCE'] || 'https://rubygems.org' | ||
|
||
group :release do | ||
gem 'faraday-retry', '~> 2.1', require: false | ||
gem 'github_changelog_generator', '~> 1.16.4', require: false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Release | ||
|
||
## On a fork | ||
|
||
Please follow these instructions carefully. | ||
Ensure that you name the branch precisely as `release-vX.Y.Z` | ||
since this nomenclature is crucial for obtaining the `future_version` in the changelog. | ||
Your attention to this specific branch naming convention is essential for accurate version tracking in the changelog. | ||
|
||
```shell | ||
export RELEASE_VERSION="X.Y.Z" | ||
git switch main | ||
git pull --rebase | ||
git switch -c release-v$RELEASE_VERSION | ||
|
||
bundle config set --local path vendor/bundle | ||
bundle config set --local with 'release' | ||
bundle install | ||
|
||
CHANGELOG_GITHUB_TOKEN="token_MC_tokenface" bundle exec rake changelog | ||
git commit --all --message "Release v${RELEASE_VERSION}" | ||
git push --set-upstream origin HEAD | ||
``` | ||
|
||
Then open a PR, discuss and merge. | ||
|
||
## After the merge, as a maintainer on upstream | ||
|
||
```shell | ||
git switch main | ||
git pull --rebase | ||
git tag v$RELEASE_VERSION -m "v$RELEASE_VERSION" | ||
git push --tags | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# frozen_string_literal: true | ||
|
||
# Managed by modulesync - DO NOT EDIT | ||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ | ||
|
||
begin | ||
require 'rubygems' | ||
require 'github_changelog_generator/task' | ||
rescue LoadError | ||
# github_changelog_generator isn't available, so we won't define a rake task with it | ||
else | ||
GitHubChangelogGenerator::RakeTask.new :changelog do |config| | ||
config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file." | ||
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog modulesync github_actions] | ||
config.user = 'voxpupuli' | ||
config.project = 'container-commitlint' | ||
# get branch name from git and strip off any prefixes (e.g. 'release-') | ||
config.future_release = `git rev-parse --abbrev-ref HEAD`.strip.split('-', 2).last | ||
end | ||
end |