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

build: make trigger_snapshot workflow manually triggerable #3787

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
54 changes: 0 additions & 54 deletions .github/actions/bump-version/action.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/actions/run-tests/action.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/actions/setup-build/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/apidoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
VERSION: ${{ github.event.inputs.version || inputs.version }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- uses: eclipse-edc/.github/.github/actions/setup-build@main
- uses: actions/setup-node@v4

# merge together all api groups
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bump-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/bump-version
- uses: eclipse-edc/.github/.github/actions/bump-version@main
name: Bump version
with:
target_branch: ${{ inputs.target_branch }}
target_branch: ${{ inputs.target_branch }}
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- uses: eclipse-edc/.github/.github/actions/setup-build@main

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-edc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/bump-version
- uses: eclipse-edc/.github/.github/actions/bump-version@main
with:
target_branch: "main"
base_version: ${{ needs.Prepare-Release.outputs.edc-version }}
base_version: ${{ needs.Prepare-Release.outputs.edc-version }}
1 change: 1 addition & 0 deletions .github/workflows/trigger_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
workflow_dispatch:

jobs:
Publish-Snapshot:
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- uses: eclipse-edc/.github/.github/actions/setup-build@main

- name: Run Checkstyle
run: ./gradlew checkstyleMain checkstyleTest checkstyleTestFixtures
Expand All @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- uses: eclipse-edc/.github/.github/actions/setup-build@main

- name: Run Javadoc
run: ./gradlew javadoc
Expand All @@ -44,10 +44,10 @@ jobs:
JACOCO: true
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- uses: eclipse-edc/.github/.github/actions/setup-build@main

- name: Run unit tests
uses: ./.github/actions/run-tests
uses: eclipse-edc/.github/.github/actions/run-tests@main
with:
command: ./gradlew test jacocoTestReport

Expand All @@ -64,21 +64,21 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- uses: eclipse-edc/.github/.github/actions/setup-build@main

- name: Postgresql Tests
uses: ./.github/actions/run-tests
uses: eclipse-edc/.github/.github/actions/run-tests@main
with:
command: ./gradlew test -DincludeTags="PostgresqlIntegrationTest"

End-To-End-Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- uses: eclipse-edc/.github/.github/actions/setup-build@main

- name: End to End Integration Tests
uses: ./.github/actions/run-tests
uses: eclipse-edc/.github/.github/actions/run-tests@main
with:
command: ./gradlew test jacocoTestReport -DincludeTags="EndToEndTest"

Expand All @@ -88,10 +88,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- uses: eclipse-edc/.github/.github/actions/setup-build@main

- name: Component Tests
uses: ./.github/actions/run-tests
uses: eclipse-edc/.github/.github/actions/run-tests@main
with:
command: ./gradlew test jacocoTestReport -DincludeTags="ComponentTest"

Expand All @@ -101,10 +101,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- uses: eclipse-edc/.github/.github/actions/setup-build@main

- name: Component Tests
uses: ./.github/actions/run-tests
uses: eclipse-edc/.github/.github/actions/run-tests@main
with:
command: ./gradlew test jacocoTestReport -DincludeTags="ApiTest"

Expand All @@ -119,10 +119,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
- uses: eclipse-edc/.github/.github/actions/setup-build@main

- name: 'Kafka Integration Tests'
uses: ./.github/actions/run-tests
uses: eclipse-edc/.github/.github/actions/run-tests@main
with:
command: ./gradlew -p system-tests/e2e-transfer-test/runner test -DincludeTags="KafkaIntegrationTest"

Expand Down