Merge pull request #5675 from dokku/new-release-types

Add new sections to release notes
This commit is contained in:
josegonzalez
2023-02-16 01:29:06 -05:00
committed by GitHub
2 changed files with 97 additions and 2 deletions

View File

@@ -6,61 +6,85 @@ updates:
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: bundler - package-ecosystem: bundler
directory: "/tests/apps/ruby" directory: "/tests/apps/ruby"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: bundler - package-ecosystem: bundler
directory: "/tests/apps/multi" directory: "/tests/apps/multi"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/checks-root" directory: "/tests/apps/checks-root"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/config" directory: "/tests/apps/config"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/dockerfile-app-json-formations" directory: "/tests/apps/dockerfile-app-json-formations"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/dockerfile-noexpose" directory: "/tests/apps/dockerfile-noexpose"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/dockerfile-procfile-bad" directory: "/tests/apps/dockerfile-procfile-bad"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/dockerfile-procfile" directory: "/tests/apps/dockerfile-procfile"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/dockerfile" directory: "/tests/apps/dockerfile"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/gitsubmodules" directory: "/tests/apps/gitsubmodules"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: gomod - package-ecosystem: gomod
directory: "/tests/apps/gogrpc" directory: "/tests/apps/gogrpc"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
ignore: ignore:
- dependency-name: google.golang.org/grpc - dependency-name: google.golang.org/grpc
versions: versions:
@@ -70,123 +94,173 @@ updates:
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: maven - package-ecosystem: maven
directory: "/tests/apps/java" directory: "/tests/apps/java"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/nodejs-express" directory: "/tests/apps/nodejs-express"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/nodejs-worker" directory: "/tests/apps/nodejs-worker"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/nodejs-express-noappjson" directory: "/tests/apps/nodejs-express-noappjson"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/nodejs-express-noprocfile" directory: "/tests/apps/nodejs-express-noprocfile"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: composer - package-ecosystem: composer
directory: "/tests/apps/php" directory: "/tests/apps/php"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: pip - package-ecosystem: pip
directory: "/tests/apps/python-flask" directory: "/tests/apps/python-flask"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: npm - package-ecosystem: npm
directory: "/tests/apps/.websocket.disabled" directory: "/tests/apps/.websocket.disabled"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: github-actions - package-ecosystem: github-actions
directory: "/" directory: "/"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/" directory: "/"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-noexpose" directory: "/tests/apps/dockerfile-noexpose"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/dockerfile" directory: "/tests/apps/dockerfile"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-procfile" directory: "/tests/apps/dockerfile-procfile"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-entrypoint" directory: "/tests/apps/dockerfile-entrypoint"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-procfile-bad" directory: "/tests/apps/dockerfile-procfile-bad"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/go-fail-predeploy" directory: "/tests/apps/go-fail-predeploy"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/zombies-dockerfile-no-tini" directory: "/tests/apps/zombies-dockerfile-no-tini"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-release" directory: "/tests/apps/dockerfile-release"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/dockerfile-app-json-formations" directory: "/tests/apps/dockerfile-app-json-formations"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/gogrpc" directory: "/tests/apps/gogrpc"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/zombies-dockerfile-tini" directory: "/tests/apps/zombies-dockerfile-tini"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/tests/apps/go-fail-postdeploy" directory: "/tests/apps/go-fail-postdeploy"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/docs/_build" directory: "/docs/_build"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"
- package-ecosystem: "docker" - package-ecosystem: "docker"
directory: "/.devcontainer" directory: "/.devcontainer"
schedule: schedule:
interval: daily interval: daily
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels:
- "type: dependencies"

View File

@@ -249,7 +249,7 @@ fn-repo-update-history-and-commit() {
declare desc="Updates the history file and commits the changes" declare desc="Updates the history file and commits the changes"
declare CURRENT_VERSION="$1" NEXT_VERSION="$2" declare CURRENT_VERSION="$1" NEXT_VERSION="$2"
local PULL_REQUEST_ID TITLE AUTHOR TYPE CHANGELOG_TEXT local PULL_REQUEST_ID TITLE AUTHOR TYPE CHANGELOG_TEXT
local COMMIT_MESSAGE HISTORY HISTORY_CONTENTS HISTORY_DOCUMENTATION HISTORY_ENHANCEMENT HISTORY_BC_BREAK HISTORY_REFACTOR HISTORY_BUG HISTORY_OTHER HISTORY_TESTS ISSUE_FILE local COMMIT_MESSAGE HISTORY HISTORY_CONTENTS HISTORY_BUG HISTORY_DEPENDENCY HISTORY_DEPRECATION HISTORY_DOCUMENTATION HISTORY_ENHANCEMENT HISTORY_BC_BREAK HISTORY_REFACTOR HISTORY_REMOVAL HISTORY_OTHER HISTORY_TESTS ISSUE_FILE
pushd "$ROOT_DIR" >/dev/null pushd "$ROOT_DIR" >/dev/null
@@ -259,7 +259,7 @@ fn-repo-update-history-and-commit() {
ISSUE_FILE="/tmp/github-data/${PULL_REQUEST_ID}.json" ISSUE_FILE="/tmp/github-data/${PULL_REQUEST_ID}.json"
if [[ ! -f "$ISSUE_FILE" ]]; then if [[ ! -f "$ISSUE_FILE" ]]; then
while true; do while true; do
if OUTPUT=$(curl -u "$RELEASE_GITHUB_USERNAME:$RELEASE_GITHUB_API_TOKEN" --fail -sS "https://api.github.com/repos/dokku/dokku/issues/${PULL_REQUEST_ID}" 2>&1); then if OUTPUT=$(curl -u "$RELEASE_GITHUB_USERNAME:$RELEASE_GITHUB_API_TOKEN" --fail -sS "https://api.github.com/repos/dokku/dokku/issues/${PULL_REQUEST_ID}" 2>&1); then
echo "$OUTPUT" >"$ISSUE_FILE" echo "$OUTPUT" >"$ISSUE_FILE"
break break
fi fi
@@ -280,12 +280,18 @@ fn-repo-update-history-and-commit() {
HISTORY_BC_BREAK="${HISTORY_BC_BREAK}"$'\n'"$CHANGELOG_TEXT" HISTORY_BC_BREAK="${HISTORY_BC_BREAK}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "bug" ]]; then elif [[ "$TYPE" == "bug" ]]; then
HISTORY_BUG="${HISTORY_BUG}"$'\n'"$CHANGELOG_TEXT" HISTORY_BUG="${HISTORY_BUG}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "dependencies" ]]; then
HISTORY_DEPENDENCY="${HISTORY_DEPENDENCY}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "deprecation" ]]; then
HISTORY_DEPRECATION="${HISTORY_DEPRECATION}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "documentation" ]]; then elif [[ "$TYPE" == "documentation" ]]; then
HISTORY_DOCUMENTATION="${HISTORY_DOCUMENTATION}"$'\n'"$CHANGELOG_TEXT" HISTORY_DOCUMENTATION="${HISTORY_DOCUMENTATION}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "enhancement" ]]; then elif [[ "$TYPE" == "enhancement" ]]; then
HISTORY_ENHANCEMENT="${HISTORY_ENHANCEMENT}"$'\n'"$CHANGELOG_TEXT" HISTORY_ENHANCEMENT="${HISTORY_ENHANCEMENT}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "refactor" ]]; then elif [[ "$TYPE" == "refactor" ]]; then
HISTORY_REFACTOR="${HISTORY_REFACTOR}"$'\n'"$CHANGELOG_TEXT" HISTORY_REFACTOR="${HISTORY_REFACTOR}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "removal" ]]; then
HISTORY_REMOVAL="${HISTORY_REMOVAL}"$'\n'"$CHANGELOG_TEXT"
elif [[ "$TYPE" == "tests" ]]; then elif [[ "$TYPE" == "tests" ]]; then
HISTORY_TESTS="${HISTORY_TESTS}"$'\n'"$CHANGELOG_TEXT" HISTORY_TESTS="${HISTORY_TESTS}"$'\n'"$CHANGELOG_TEXT"
else else
@@ -320,6 +326,16 @@ fn-repo-update-history-and-commit() {
HISTORY="${HISTORY}"$'\n'"$HISTORY_ENHANCEMENT" HISTORY="${HISTORY}"$'\n'"$HISTORY_ENHANCEMENT"
fi fi
if [[ "$HISTORY_REMOVAL" ]]; then
HISTORY="${HISTORY}"$'\n\n'"### Removals"
HISTORY="${HISTORY}"$'\n'"$HISTORY_REMOVAL"
fi
if [[ "$HISTORY_DEPRECATION" ]]; then
HISTORY="${HISTORY}"$'\n\n'"### Deprecations"
HISTORY="${HISTORY}"$'\n'"$HISTORY_DEPRECATION"
fi
if [[ "$HISTORY_REFACTOR" ]]; then if [[ "$HISTORY_REFACTOR" ]]; then
HISTORY="${HISTORY}"$'\n\n'"### Refactors" HISTORY="${HISTORY}"$'\n\n'"### Refactors"
HISTORY="${HISTORY}"$'\n'"$HISTORY_REFACTOR" HISTORY="${HISTORY}"$'\n'"$HISTORY_REFACTOR"
@@ -335,6 +351,11 @@ fn-repo-update-history-and-commit() {
HISTORY="${HISTORY}"$'\n'"$HISTORY_TESTS" HISTORY="${HISTORY}"$'\n'"$HISTORY_TESTS"
fi fi
if [[ "$HISTORY_DEPENDENCY" ]]; then
HISTORY="${HISTORY}"$'\n\n'"### Dependencies"
HISTORY="${HISTORY}"$'\n'"$HISTORY_DEPENDENCY"
fi
if [[ "$HISTORY_OTHER" ]]; then if [[ "$HISTORY_OTHER" ]]; then
HISTORY="${HISTORY}"$'\n\n'"### Other" HISTORY="${HISTORY}"$'\n\n'"### Other"
HISTORY="${HISTORY}"$'\n'"$HISTORY_OTHER" HISTORY="${HISTORY}"$'\n'"$HISTORY_OTHER"