Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

build: make trigger_snapshot workflow manually triggerable #134

Merged
merged 1 commit into from
Jan 18, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

54 changes: 0 additions & 54 deletions .github/actions/bump-version/action.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/actions/gradle-setup/action.yml

This file was deleted.

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

This file was deleted.

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

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand All @@ -45,4 +45,4 @@ jobs:
run: ./gradlew compileJava --no-daemon

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/release-registrationservice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,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.rs-version }}
13 changes: 13 additions & 0 deletions .github/workflows/trigger_snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Publish Snapshot Build"

on:
push:
branches:
- main
workflow_dispatch:

jobs:
Publish-Snapshot:
# This workflow will abort if the required secrets don't exist
uses: eclipse-edc/.github/.github/workflows/publish-snapshot.yml@main
secrets: inherit
12 changes: 6 additions & 6 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/gradle-setup
- uses: eclipse-edc/.github/.github/actions/setup-build@main

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

- name: Generate OpenAPI definition from code
run: ./gradlew resolve
Expand All @@ -47,7 +47,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: ./.github/actions/gradle-setup
- uses: eclipse-edc/.github/.github/actions/setup-build@main

- name: 'Build package'
run: ./gradlew -DuseFsVault="true" build
Expand All @@ -64,7 +64,7 @@ jobs:
timeout-minutes: 10

- name: 'Unit and system tests'
uses: ./.github/actions/run-tests
uses: eclipse-edc/.github/.github/actions/run-tests@main
with:
command: ./gradlew test
timeout-minutes: 10
Expand All @@ -84,10 +84,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/gradle-setup
- 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 -DincludeTags="ComponentTest"

Expand Down
Loading