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

fix: Proper release workflow #727

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
7c43581
refactor(release): Release workflow now updates docs
ds-pweick Jun 25, 2024
b8a7ac9
refactor(release): made release workflow name more consistent
ds-pweick Jun 25, 2024
42b4a45
Merge pull request #116 from ds-pweick/refactor/release-workflow
ds-pweick Jun 25, 2024
97b58cc
feat(dummy): dummy changes helm changelog
ds-pweick Jun 25, 2024
0aa2da4
fix(release): fixed syntax error in release workflow
ds-pweick Jun 25, 2024
4db3c7e
fix(release): fixed syntax error in release workflow
ds-pweick Jun 25, 2024
880ebcf
fix(release): fixed syntax error in release workflow
ds-pweick Jun 25, 2024
fd29920
fix(release): fixed syntax error in release workflow
ds-pweick Jun 25, 2024
9b10e39
refactor(release): changed auto-generated pr title for consistency
ds-pweick Jun 25, 2024
615057e
refactor(release): changed auto-generated pr title for consistency
ds-pweick Jun 25, 2024
293821d
Merge remote-tracking branch 'origin/refactor/release-workflow' into …
ds-pweick Jun 25, 2024
62dc3b0
refactor(release): cleaned up leftover dummy text in Helm Chart chang…
ds-pweick Jun 25, 2024
3ea21da
fix(release): fix syntax error in release workflow step
ds-pweick Jun 26, 2024
11c1780
fix(release): fixed syntax error in release workflow step
ds-pweick Jun 26, 2024
c37b2a4
fix(release): fixed release workflow not generating release body again
ds-pweick Jun 26, 2024
704a71c
chore(docs): updated docs and Helm chart for IRS release 5.1.5
ds-pweick Jun 27, 2024
deab236
Merge pull request #126 from ds-pweick/action/update-for-release-5.1.5
ds-pweick Jun 27, 2024
e07608d
Update CHANGELOG.md
ds-pweick Jun 27, 2024
51b506c
refactor(release): removed superfluous step from release workflow again
ds-pweick Jun 27, 2024
0dff368
refactor(release): removed superfluous step from release workflow again
ds-pweick Jun 27, 2024
72dadc8
fix(release): release workflow makes sure to call other workflows
ds-pweick Jun 27, 2024
989c2ca
fix(release): release workflow makes sure to call other workflows
ds-pweick Jun 27, 2024
155f9fa
chore(docs): updated docs and Helm chart for IRS release 5.1.9
ds-pweick Jun 27, 2024
22caea8
Merge pull request #131 from ds-pweick/action/update-for-release-5.1.9
ds-pweick Jun 27, 2024
4f20c14
chore(docs): update CONTRIBUTING.md for new release workflow
ds-pweick Jun 27, 2024
be40ec4
chore(docs): update CONTRIBUTING.md for new release workflow
ds-pweick Jul 3, 2024
8817030
chore(docs): updated CONTRIBUTING.md for new release workflow
ds-pweick Jul 3, 2024
6814df4
Merge branch 'main' of https://github.com/eclipse-tractusx/item-relat…
ds-pweick Jul 3, 2024
7a274d3
Merge branch 'refs/heads/main' into refactor/release-workflow
ds-pweick Jul 3, 2024
8afb635
fix(release): release workflow executes subsequent workflows correctly
ds-pweick Jul 3, 2024
b83d697
refactor(docs): cleaned up dummy changes in CHANGELOG.md
ds-pweick Jul 3, 2024
66fae6b
fix(release): release workflow executes subsequent workflows correctly
ds-pweick Jul 3, 2024
663adfe
refactor(release): clean up dummy changes from various files
ds-pweick Jul 3, 2024
1d498d4
fix(release): release workflow executes subsequent workflows correctly
ds-pweick Jul 3, 2024
536fe07
fix(release): cleanup dummy changes
ds-pweick Jul 3, 2024
a235cf5
refactor(release): finally re-simplify release workflows
ds-pweick Jul 3, 2024
f275d49
refactor(release): finally re-simplify release workflows
ds-pweick Jul 3, 2024
5490161
refactor(release): rollback formatting of openapi file
ds-pweick Jul 3, 2024
12360f7
refactor(release): rollback formatting of openapi file
ds-pweick Jul 3, 2024
104b489
refactor(release): rollback formatting of openapi file
ds-pweick Jul 3, 2024
33b5ae1
refactor(release): rollback version number
ds-pweick Jul 3, 2024
cbbb105
Merge branch 'main' into refactor/release-workflow
ds-pweick Jul 10, 2024
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
12 changes: 11 additions & 1 deletion .github/workflows/helm-chart-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Release Helm Charts

on:
workflow_dispatch: # Trigger manually
workflow_call:
inputs:
ref-to-check-out:
description: 'Ref of branch/tag from which to execute workflow'
required: true
type: string
push:
branches:
- main
Expand All @@ -21,6 +27,8 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: 'true'
ref: ${{ inputs.ref-to-check-out || github.ref }}

- name: Get helm charts latest tag version
id: step1
Expand All @@ -36,7 +44,7 @@ jobs:
echo "Exported $chartVersion helm charts version"

release:
needs: "get-helm-charts-versions-irs"
needs: [get-helm-charts-versions-irs]
if: needs.get-helm-charts-versions-irs.outputs.latest_version != needs.get-helm-charts-versions-irs.outputs.current_version
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
Expand All @@ -48,6 +56,8 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: 'true'
ref: ${{ inputs.ref-to-check-out || github.ref }}

- name: Configure Git
run: |
Expand Down
19 changes: 18 additions & 1 deletion .github/workflows/irs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ name: IRS build

on:
workflow_dispatch: # Trigger manually
workflow_call:
inputs:
ref-to-check-out:
description: 'Ref of branch/tag from which to execute workflow'
required: true
type: string

pull_request:
paths-ignore:
- '**/*.md'
Expand All @@ -26,6 +33,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-tags: 'true'
ref: ${{ inputs.ref-to-check-out || github.ref }}

- name: Set up JDK 17
uses: actions/setup-java@v4
Expand Down Expand Up @@ -66,7 +76,9 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of sonar analysis
fetch-depth: 0
fetch-tags: 'true'
ref: ${{ inputs.ref-to-check-out || github.ref }}

- name: Set up JDK 17
uses: actions/setup-java@v4
Expand Down Expand Up @@ -108,6 +120,9 @@ jobs:
image-tag: ${{ steps.version.outputs.image_tag }}
steps:
- uses: actions/checkout@v4
with:
fetch-tags: 'true'
ref: ${{ inputs.ref-to-check-out || github.ref }}

# Needed to create multi-platform image
- name: Set up Docker Buildx
Expand Down Expand Up @@ -168,3 +183,5 @@ jobs:
needs:
- build_images
uses: ./.github/workflows/trivy-docker-hub-scan.yml
with:
ref-to-check-out: ${{ inputs.ref-to-check-out || github.ref }}
50 changes: 0 additions & 50 deletions .github/workflows/publish-swagger-hub.yml

This file was deleted.

Loading
Loading