-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a6db03
commit 70c3e3b
Showing
14 changed files
with
274 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# | ||
# Copyright (c) 2021, 2024 Oracle and/or its affiliates. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: Assign Issue to Project | ||
|
||
on: | ||
issues: | ||
types: [opened, reopened] | ||
env: | ||
GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
jobs: | ||
Assign-Issue-To-Backlog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
- run: etc/scripts/assign-issue.sh $GITHUB_REPOSITORY ${{ github.event.issue.number }} Backlog Triage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# | ||
# Copyright (c) 2022, 2024 Oracle and/or its affiliates. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: Create Backport Issues | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
issue: | ||
description: 'Issue number' | ||
required: true | ||
version: | ||
description: 'Helidon version this issue was reported for' | ||
required: true | ||
type: choice | ||
options: | ||
- 2.x | ||
- 3.x | ||
- 4.x | ||
default: '2.x' | ||
target-2: | ||
type: boolean | ||
description: 'Port to 2.x?' | ||
default: false | ||
target-3: | ||
type: boolean | ||
description: 'Port to 3.x?' | ||
default: true | ||
target-4: | ||
type: boolean | ||
description: 'Port to 4.x?' | ||
default: true | ||
|
||
env: | ||
GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
jobs: | ||
Issue-Backport: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
- run: etc/scripts/backport-issues.sh $GITHUB_REPOSITORY ${{ github.event.inputs.issue }} ${{ github.event.inputs.version }} ${{ github.event.inputs.target-2 }} ${{ github.event.inputs.target-3 }} ${{ github.event.inputs.target-4 }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,74 @@ | ||
# Notes | ||
# - cannot run on Windows, as we use shell scripts | ||
# | ||
# Copyright (c) 2023, 2024 Oracle and/or its affiliates. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: "Release" | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'release-*' | ||
branches: [ 'release-*' ] | ||
|
||
env: | ||
JAVA_VERSION: '21' | ||
JAVA_DISTRO: 'oracle' | ||
MAVEN_HTTP_ARGS: '-Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -Dmaven.wagon.http.retryHandler.count=3' | ||
MAVEN_ARGS: | | ||
-B -e | ||
-Dmaven.wagon.httpconnectionManager.ttlSeconds=60 | ||
-Dmaven.wagon.http.retryHandler.count=3 | ||
-Djdk.toolchain.version=${JAVA_VERSION} | ||
concurrency: | ||
group: release-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
copyright: | ||
timeout-minutes: 10 | ||
create-tag: | ||
runs-on: ubuntu-20.04 | ||
environment: release | ||
outputs: | ||
tag: ${{ steps.create-tag.outputs.tag }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up JDK ${{ env.JAVA_VERSION }} | ||
token: ${{ secrets.SERVICE_ACCOUNT_TOKEN }} | ||
- name: Set up JDK | ||
uses: actions/[email protected] | ||
with: | ||
distribution: ${{ env.JAVA_DISTRO }} | ||
java-version: ${{ env.JAVA_VERSION }} | ||
cache: maven | ||
- name: Copyright | ||
run: etc/scripts/copyright.sh | ||
- id: create-tag | ||
run: ./etc/scripts/release.sh create_tag >> "${GITHUB_OUTPUT}" | ||
validate: | ||
needs: create-tag | ||
uses: ./.github/workflows/validate.yml | ||
with: | ||
ref: ${{ needs.create-tag.outputs.tag }} | ||
release: | ||
timeout-minutes: 60 | ||
needs: [ create-tag, validate ] | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 30 | ||
environment: release | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.SERVICE_ACCOUNT_TOKEN }} | ||
fetch-depth: '0' | ||
- name: Set up JDK ${{ env.JAVA_VERSION }} | ||
uses: actions/[email protected] | ||
ref: ${{ needs.create-tag.outputs.tag }} | ||
- uses: ./.github/actions/common | ||
with: | ||
distribution: ${{ env.JAVA_DISTRO }} | ||
java-version: ${{ env.JAVA_VERSION }} | ||
cache: maven | ||
- name: Release | ||
env: | ||
GPG_PASSPHRASE: ${{ secrets.HELIDON_GPG_PASSPHRASE }} | ||
GPG_PRIVATE_KEY: ${{ secrets.HELIDON_GPG_PRIVATE_KEY }} | ||
GPG_PUBLIC_KEY: ${{ secrets.HELIDON_GPG_PUBLIC_KEY }} | ||
MAVEN_SETTINGS: ${{ secrets.MAVEN_SETTINGS }} | ||
RELEASE_WORKFLOW: "true" | ||
run: | | ||
git config user.email "[email protected]" | ||
git config user.name "Helidon Robot" | ||
etc/scripts/release.sh release_build | ||
- name: Upload Staged Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: io-helidon-artifacts-${{ github.ref_name }} | ||
path: parent/target/nexus-staging/ | ||
retention-days: 90 | ||
build-cache: read-only | ||
artifact-name: io-helidon-artifacts-${{ github.ref_name }} | ||
artifact-path: target/nexus-staging/ | ||
run: etc/scripts/release.sh release_build |
17 changes: 14 additions & 3 deletions
17
.github/workflows/snapshotrelease.yaml → .github/workflows/snapshot.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.