Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release-0.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanotorresi committed Oct 1, 2021
2 parents de9518d + 0d6086d commit e18596e
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .github_changelog_generator
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
exclude-tags=rolling
base=CHANGELOG.md
user=trento-project
project=trento
usernames-as-github-logins=true
configure-sections={"added":{"prefix":"### Added","labels":["addition","enhancement"]},"fixed":{"prefix":"### Fixed","labels":["bug","fix"]},"removed":{"prefix":"### Removed","labels":["removal"]}}
pr-label=### Other Changes
issues-wo-labels=false
59 changes: 59 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,61 @@
# Changelog

## [0.4.1](https://github.com/trento-project/trento/tree/0.4.1) (2021-10-01)

[Full Changelog](https://github.com/trento-project/trento/compare/0.4.0...0.4.1)

### Added

- Add About page with subscription details [\#273](https://github.com/trento-project/trento/pull/273) (@arbulu89)
- Add a --rolling option to the install-agent script to use factory repos [\#270](https://github.com/trento-project/trento/pull/270) (@dottorblaster)
- Use only one GitHub runner instead of 1 per node using new install scripts [\#269](https://github.com/trento-project/trento/pull/269) (@rtorrero)
- Add warning and skipped states to the checks [\#266](https://github.com/trento-project/trento/pull/266) (@arbulu89)
- Discover SUSE subscription details [\#260](https://github.com/trento-project/trento/pull/260) (@arbulu89)
- Frontend tooling: introduce Prettier and ESLint [\#259](https://github.com/trento-project/trento/pull/259) (@dottorblaster)
- Add server installer [\#253](https://github.com/trento-project/trento/pull/253) (@fabriziosestito)
- Some improvements to the server installation on k3s through Helm [\#251](https://github.com/trento-project/trento/pull/251) (@dottorblaster)
- Build containers in CI/CD [\#250](https://github.com/trento-project/trento/pull/250) (@fabriziosestito)

### Fixed

- Trento RPM built in devel:sap:trento is not being injected the version number correctly [\#262](https://github.com/trento-project/trento/issues/262)
- Fix the liveness probe in the ARA chart due to sporadic sigterms [\#288](https://github.com/trento-project/trento/pull/288) (@rtorrero)
- Fix runner container image [\#287](https://github.com/trento-project/trento/pull/287) (@stefanotorresi)
- install-agent: fix typo in the script [\#280](https://github.com/trento-project/trento/pull/280) (@rtorrero)

### Removed

- Remove the discovery TTL consul health checks [\#208](https://github.com/trento-project/trento/issues/208)
- Remove docker-compose.yml [\#296](https://github.com/trento-project/trento/pull/296) (@stefanotorresi)
- remove unused gh action [\#294](https://github.com/trento-project/trento/pull/294) (@stefanotorresi)

### Other Changes

- Fix trento-server chart name [\#297](https://github.com/trento-project/trento/pull/297) (@fabriziosestito)
- Remove `$` from all the bash code examples [\#295](https://github.com/trento-project/trento/pull/295) (@stefanotorresi)
- Adjust scrips location [\#292](https://github.com/trento-project/trento/pull/292) (@nelsonkopliku)
- Fix test on subscription code, replacing Equal by ElementsMatch [\#289](https://github.com/trento-project/trento/pull/289) (@arbulu89)
- Minor improvements [\#286](https://github.com/trento-project/trento/pull/286) (@aleksei-burlakov)
- Use correct name for pre-release job [\#285](https://github.com/trento-project/trento/pull/285) (@rtorrero)
- halt deploy until images / packages are ready [\#284](https://github.com/trento-project/trento/pull/284) (@rtorrero)
- Rename sidebar entries to Pacemaker Clusters and SAP Systems [\#283](https://github.com/trento-project/trento/pull/283) (@arbulu89)
- fix wrong output path for the binaries [\#279](https://github.com/trento-project/trento/pull/279) (@rtorrero)
- Update subscription Load test to use ElementsMatch [\#276](https://github.com/trento-project/trento/pull/276) (@arbulu89)
- Adds an updated version of Trento Architecture Diagram [\#275](https://github.com/trento-project/trento/pull/275) (@nelsonkopliku)
- Run ansilble-lint in the CI process [\#272](https://github.com/trento-project/trento/pull/272) (@arbulu89)
- Set the TRENTO\_REPO variable properly inside install-agent.sh [\#271](https://github.com/trento-project/trento/pull/271) (@dottorblaster)
- Fix support for -e cluster\_selected\_checks= option [\#267](https://github.com/trento-project/trento/pull/267) (@brett060102)
- Fix: set the version in the Makefile explicitly [\#265](https://github.com/trento-project/trento/pull/265) (@aleksei-burlakov)
- Minor Helm chart updates [\#264](https://github.com/trento-project/trento/pull/264) (@stefanotorresi)
- add source label to dockerfile [\#263](https://github.com/trento-project/trento/pull/263) (@stefanotorresi)
- Add a default ansible configuration file usage [\#261](https://github.com/trento-project/trento/pull/261) (@arbulu89)
- Use new ghcr.io images [\#258](https://github.com/trento-project/trento/pull/258) (@rtorrero)
- Create the Trento ansible callback code [\#257](https://github.com/trento-project/trento/pull/257) (@arbulu89)
- Improve the metadata and check finding and move variables to defaults [\#255](https://github.com/trento-project/trento/pull/255) (@arbulu89)
- Fix: trento path is /usr/bin [\#252](https://github.com/trento-project/trento/pull/252) (@aleksei-burlakov)
- Fix obs workflow so that the submit job runs correctly on releases [\#248](https://github.com/trento-project/trento/pull/248) (@stefanotorresi)
- Remove discovery health checks; add trento-agent health check [\#240](https://github.com/trento-project/trento/pull/240) (@fabriziosestito)

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
Expand Down Expand Up @@ -121,3 +177,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Configuration validation for Pacemaker, Corosync, SBD, SAPHanaSR and other + generic SUSE Linux Enterprise for SAP Application OS settings
- Specific configuration audits for SAP HANA Scale-Up Performance-Optimized
- scenarios deployed on MS Azure cloud.


\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
50 changes: 50 additions & 0 deletions docs/development/how-to-make-a-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# How to release a new version of Trento

> Note: this document is a draft!
## Pre-requisites

Install [github-changelog-generator](https://github.com/github-changelog-generator/github-changelog-generator) globally in your dev box:
```
gem install github_changelog_generator
```

## Update the changelog and create a new tag

```bash
# always create a dedicated release branch
git switch -c release-x.y.z

# x1.y1.z1 is the previous release tag
github_changelog_generator --since-tag=x1.y1.z1 --future-release=x.y.z

git add CHANGELOG.md
git commit -m "add x.y.z changelog entry"

# maybe make some other last minute changes
# [...]

# merge and tag, making sure the tag is on the merge commit
git switch main
git merge --no-ff release-x.y.z
git tag x.y.z

# don't forget to force update the rolling tag!
git fetch --tags -f

# push directly
git push --tags origin main
```

Optionally, open a pull request from the release branch instead of tagging and pushing manually.

## GitHub release

> Note: this step will soon be automated.
Go to the [project releases page](https://github.com/trento-project/trento/releases) and create a new release, then:

- use the just created git tag as the release tag and title;
- copy-paste the last changelog entry from `CHANGELOG.md` as the release body;
- hit the green button;
- profit!
8 changes: 4 additions & 4 deletions install-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ARGUMENT_LIST=(
"use-tgz"
)

readonly TRENTO_VERSION=0.4.0
readonly TRENTO_VERSION=0.4.1

opts=$(
getopt \
Expand Down Expand Up @@ -180,7 +180,7 @@ function install_trento_rpm() {
TRENTO_REPO_KEY=${TRENTO_REPO_KEY:-"https://download.opensuse.org/repositories/devel:/sap:/trento:/factory/15.3/repodata/repomd.xml.key"}
else
TRENTO_REPO=${TRENTO_REPO:-"https://download.opensuse.org/repositories/devel:/sap:/trento/15.3/devel:sap:trento.repo"}
TRENTO_REPO_KEY=${TRENTO_REPO_KEY:-"https://download.opensuse.org/repositories/devel:/sap:/trento/15.3/repodata/repomd.xml.key"}
TRENTO_REPO_KEY=${TRENTO_REPO_KEY:-"https://download.opensuse.org/repositories/devel:/sap:/trento/15.3/repodata/repomd.xml.key"}
fi

rpm --import "${TRENTO_REPO_KEY}" >/dev/null
Expand All @@ -205,13 +205,13 @@ function install_trento_tgz() {
ARCH=$(uname -m | sed "s~x86_64~amd64~" | sed "s~aarch64~arm64~" )
local bin_dir=${BIN_DIR:-"/usr/bin"}
local sysd_dir=${SYSD_DIR:-"/usr/lib/systemd/system"}

if [[ -n "$USE_ROLLING" ]] ; then
TRENTO_TGZ_URL=https://github.com/trento-project/trento/releases/download/rolling/trento-${ARCH}.tgz
else
TRENTO_TGZ_URL=https://github.com/trento-project/trento/releases/download/${TRENTO_VERSION}/trento-${ARCH}.tgz
fi

curl -f -sS -O -L "${TRENTO_TGZ_URL}" >/dev/null
tar -zxf trento-${ARCH}.tgz

Expand Down
2 changes: 1 addition & 1 deletion install-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

readonly ARGS=( "$@" )
readonly PROGNAME="./install-server.sh"
TRENTO_VERSION="0.4.0"
TRENTO_VERSION="0.4.1"

usage() {
cat <<- EOF
Expand Down

0 comments on commit e18596e

Please sign in to comment.