Skip to content
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

ci: update release job and drop semantic release #664

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

a-cordier
Copy link
Member

@a-cordier a-cordier commented Jun 10, 2024

see https://gravitee.atlassian.net/browse/GKO-15

Done

The pipeline as the following parameters:

  trigger:
    type: enum
    default: test
    enum:
      - release
      - test
  release-version:
    type: string
    default: ""
  latest:
    type: boolean
    default: false
    description: Is this version the latest version available ?
  dry-run:
    type: boolean
    default: true
  • trigger should alway be release in that case
  • if latest is true, both the docker image and the github release will be flagged as latest
  • if dry run is set to false the additional steps will be
    • pushing the docker image to docker hub with latest tag (as this is the latest version)
    • release the helm chart on https://helm.gravitee.io/
    • push release commit and tag to the release branch (4.4.X)
    • publish the github release with the changelog we generate from Jira and the custom
      resource definitions packaged as a zip file
    • announce the release on the release alert channel

The github release Changelog is generated from the tickets found for the version in our Jira backlog

The trigger-release github action allows to call the pipeline from the repo itself and looks like this

Screenshot 2024-06-11 at 16 19 31

To Be Done

Submit changelog / release note as a PR for tech writers

@a-cordier a-cordier force-pushed the gko-15-release branch 30 times, most recently from 13c0f99 to 6b3ae43 Compare June 11, 2024 09:47
@a-cordier a-cordier force-pushed the gko-15-release branch 20 times, most recently from 82908d2 to 6fa5611 Compare June 11, 2024 14:04
@a-cordier a-cordier marked this pull request as ready for review June 11, 2024 14:05
@a-cordier a-cordier requested review from a team as code owners June 11, 2024 14:05
.circleci/config.yml Outdated Show resolved Hide resolved
.circleci/config.yml Outdated Show resolved Hide resolved
.circleci/config.yml Show resolved Hide resolved
.github/workflows/trigger-release.yml Show resolved Hide resolved
scripts/run-kind.mjs Show resolved Hide resolved
@a-cordier a-cordier merged commit 9a39b89 into master Jun 11, 2024
6 checks passed
@a-cordier a-cordier deleted the gko-15-release branch June 11, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants