Skip to content

Commit a37cdb8

Browse files
committed
Update docker compose
1 parent ffadc8e commit a37cdb8

7 files changed

Lines changed: 217 additions & 166 deletions

File tree

.github/pull_request_template.md

Lines changed: 15 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
1-
## References
2-
_Add references/links to any related issues or PRs. These may include:_
3-
* Fixes #issue-number (if this fixes an issue ticket)
4-
* Related to DSpace/RestContract#pr-number (if a corresponding REST Contract PR exists)
5-
6-
## Description
7-
Short summary of changes (1-2 sentences).
8-
9-
## Instructions for Reviewers
10-
Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.
11-
12-
List of changes in this PR:
13-
* First, ...
14-
* Second, ...
15-
16-
**Include guidance for how to test or review your PR.** This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.
17-
18-
## Checklist
19-
_This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome).
20-
However, reviewers may request that you complete any actions in this list if you have not done so. If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!_
21-
22-
- [ ] My PR is **created against the `main` branch** of code (unless it is a backport or is fixing an issue specific to an older branch).
23-
- [ ] My PR is **small in size** (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
24-
- [ ] My PR **passes Checkstyle** validation based on the [Code Style Guide](https://wiki.lyrasis.org/display/DSPACE/Code+Style+Guide).
25-
- [ ] My PR **includes Javadoc** for _all new (or modified) public methods and classes_. It also includes Javadoc for large or complex private methods.
26-
- [ ] My PR **passes all tests and includes new/updated Unit or Integration Tests** based on the [Code Testing Guide](https://wiki.lyrasis.org/display/DSPACE/Code+Testing+Guide).
27-
- [ ] My PR **includes details on how to test it**. I've provided clear instructions to reviewers on how to successfully test this fix or feature.
28-
- [ ] If my PR includes new libraries/dependencies (in any `pom.xml`), I've made sure their licenses align with the [DSpace BSD License](https://github.com/DSpace/DSpace/blob/main/LICENSE) based on the [Licensing of Contributions](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines#CodeContributionGuidelines-LicensingofContributions) documentation.
29-
- [ ] If my PR modifies REST API endpoints, I've opened a separate [REST Contract](https://github.com/DSpace/RestContract/blob/main/README.md) PR related to this change.
30-
- [ ] If my PR includes new configurations, I've provided basic technical documentation in the PR itself.
31-
- [ ] If my PR fixes an issue ticket, I've [linked them together](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue).
1+
| Phases | MP | MM | MB | MR | JM | Total |
2+
|-----------------|----:|----:|----:|-----:|-----:|-------:|
3+
| ETA | 0 | 0 | 0 | 0 | 0 | 0 |
4+
| Developing | 0 | 0 | 0 | 0 | 0 | 0 |
5+
| Review | 0 | 0 | 0 | 0 | 0 | 0 |
6+
| Total | - | - | - | - | - | 0 |
7+
| ETA est. | | | | | | 0 |
8+
| ETA cust. | - | - | - | - | - | 0 |
9+
## Problem description
10+
### Reported issues
11+
### Not-reported issues
12+
## Analysis
13+
(Write here, if there is needed describe some specific problem. Erase it, when it is not needed.)
14+
## Problems
15+
(Write here, if some unexpected problems occur during solving issues. Erase it, when it is not needed.)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Reviewer Label Management
2+
3+
on:
4+
pull_request:
5+
types: [review_requested]
6+
pull_request_review:
7+
types: [submitted]
8+
9+
permissions:
10+
pull-requests: write
11+
12+
jobs:
13+
manage-reviewer-labels:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Apply reviewer labels
17+
uses: mazoea/ga-maz/label-review@master
18+
with:
19+
target-reviewer: 'vidiecan'
20+
assigned-label: 'REVIEW-in-progress'
21+
completed-label: 'REVIEW-done'
22+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,36 @@ jobs:
7777
name: ${{ matrix.type }} coverage report
7878
path: 'dspace/target/site/jacoco-aggregate/jacoco.xml'
7979
retention-days: 14
80+
81+
# Codecov upload is a separate job in order to allow us to restart this separate from the entire build/test
82+
# job above. This is necessary because Codecov uploads seem to randomly fail at times.
83+
# See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
84+
# codecov:
85+
# # Must run after 'tests' job above
86+
# needs: tests
87+
# runs-on: ubuntu-latest
88+
# steps:
89+
# - name: Checkout
90+
# uses: actions/checkout@v4
91+
#
92+
# # Download artifacts from previous 'tests' job
93+
# - name: Download coverage artifacts
94+
# uses: actions/download-artifact@v4
95+
#
96+
# # Now attempt upload to Codecov using its action.
97+
# # NOTE: We use a retry action to retry the Codecov upload if it fails the first time.
98+
# #
99+
# # Retry action: https://github.com/marketplace/actions/retry-action
100+
# # Codecov action: https://github.com/codecov/codecov-action
101+
# - name: Upload coverage to Codecov.io
102+
# uses: Wandalen/wretry.action@v1.3.0
103+
# with:
104+
# action: codecov/codecov-action@v4
105+
# # Ensure codecov-action throws an error when it fails to upload
106+
# with: |
107+
# fail_ci_if_error: true
108+
# token: ${{ secrets.CODECOV_TOKEN }}
109+
# # Try re-running action 5 times max
110+
# attempt_limit: 5
111+
# # Run again in 30 seconds
112+
# attempt_delay: 30000

0 commit comments

Comments
 (0)