Skip to content

Commit

Permalink
Merge pull request #868 from assimbly/develop
Browse files Browse the repository at this point in the history
Update to 5.0.2-SNAPSHOT
  • Loading branch information
skin27 authored Nov 29, 2024
2 parents 2925d14 + d5cd109 commit 4aa4cb9
Show file tree
Hide file tree
Showing 152 changed files with 29,661 additions and 928 deletions.
482 changes: 0 additions & 482 deletions .github/workflows/new-release.yml

This file was deleted.

58 changes: 58 additions & 0 deletions .github/workflows/release-all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Release for all repositories
# Run this task when the snapshots are merged into main

on:
workflow_dispatch:
inputs:
milestone:
description: 'Milestone to use as version'
type: string
required: true

workflow_call:
inputs:
milestone:
description: 'Milestone to use as version'
type: string
required: true

jobs:
call-base-release:
uses: assimbly/base/.github/workflows/release.yml@main
secrets: inherit
with:
branch: 'main'
milestone: ${{ inputs.milestone }}

call-custom-components-release:
uses: assimbly/custom-components/.github/workflows/release.yml@main
needs: call-base-release
secrets: inherit
with:
branch: 'main'
milestone: ${{ inputs.milestone }}

call-runtime-release:
uses: assimbly/runtime/.github/workflows/release.yml@main
needs: call-custom-components-release
secrets: inherit
with:
branch: 'main'
milestone: ${{ inputs.milestone }}

call-gateway-release:
uses: ./.github/workflows/release.yml
needs: call-runtime-release
secrets: inherit
with:
branch: 'main'
milestone: ${{ inputs.milestone }}
tag: ${{inputs.milestone}}

call-release-notes-drafter:
needs: call-gateway-release
uses: ./.github/workflows/release-drafter.yml
secrets: inherit
with:
branch: 'main'
milestone: ${{ inputs.milestone }}
8 changes: 4 additions & 4 deletions .github/workflows/release-aws-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
steps:

- name: Checkout the code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: "${{ inputs.branch }}"

- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '21'
distribution: 'temurin'

- name: Setup Gradle
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/release-daily-develop-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release Daily Development Snapshot

on:
workflow_dispatch:

schedule:
- cron: '0 3 * * *'

jobs:
getversion:
runs-on: ubuntu-latest
outputs:
milestone: ${{ steps.gradle-version.outputs.milestone }}
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'

- name: Get Gradle Project Version
id: gradle-version
run: |
VERSION=$(./gradlew -q printVersion)
echo "Gradle version: $VERSION"
echo "milestone=$VERSION" >> "$GITHUB_OUTPUT"
call-release:
needs: getversion
uses: ./.github/workflows/release.yml
secrets: inherit
with:
branch: 'develop'
milestone: ${{needs.getversion.outputs.milestone}}
tag: 'development'
38 changes: 38 additions & 0 deletions .github/workflows/release-daily-next-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Release Daily Next Snapshot

on:
workflow_dispatch:
# schedule:
# - cron: '0 2 * * *'

jobs:
getversion:
runs-on: ubuntu-latest
outputs:
milestone: ${{ steps.gradle-version.outputs.milestone }}
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'

- name: Get Gradle Project Version
id: gradle-version
run: |
VERSION=$(./gradlew -q printVersion)
echo "Gradle version: $VERSION"
echo "milestone=$VERSION" >> "$GITHUB_OUTPUT"
call-release:
needs: getversion
uses: ./.github/workflows/release.yml
secrets: inherit
with:
branch: 'next'
milestone: ${{needs.getversion.outputs.milestone}}
tag: 'next'
10 changes: 5 additions & 5 deletions .github/workflows/release-dockerhub-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ jobs:
steps:

- name: Checkout the code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: "${{ inputs.branch }}"

- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '21'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3

- name: Setup Maven settings.xml
uses: whelk-io/maven-settings-xml-action@v20
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: Release Drafter

on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to use'
default: 'main'
type: string
milestone:
description: 'Milestone to use as version'
type: string
workflow_call:
inputs:
branch:
Expand Down
198 changes: 0 additions & 198 deletions .github/workflows/release-finish.yml

This file was deleted.

Loading

0 comments on commit 4aa4cb9

Please sign in to comment.