Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Merge pull request #259 from International-Data-Spaces-Association/de…
Browse files Browse the repository at this point in the history
…velop

Release v5.0.0
  • Loading branch information
juliapampus authored May 17, 2021
2 parents b0b7bbc + 2cad265 commit 548cd41
Show file tree
Hide file tree
Showing 550 changed files with 64,850 additions and 11,089 deletions.
38 changes: 3 additions & 35 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,35 +1,3 @@
target/
images/
README.md
CONTRIBUTING.md
CHANGELOG.md
.gitignore
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**
!**/src/test/**

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/

### VS Code ###
.vscode/
**
!pom.xml
!src/main/**
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
blank_issues_enabled: false
contact_links:
- name: Ask a question or get support
url: https://github.com/International-Data-Spaces-Association/DataspaceConnector/discussions
about: Ask a question or request support for using the Dataspace Connector
- name: Take a look at the wiki
url: https://github.com/International-Data-Spaces-Association/DataspaceConnector/wiki
about: Browse the wiki for help regarding the Dataspace Connector
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
8 changes: 8 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
target-branch: "develop"
open-pull-requests-limit: 10
83 changes: 83 additions & 0 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: docker-image

on:
push:
branches: [ master, develop ]
tags: 'v*'
release:
types: [published]

env:
REGISTRY: ${{ secrets.IMAGE_REGISTRY }}
OWNER: ${{ secrets.REPO_USER }}

jobs:
docker:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
-
name: Checkout Repo
uses: actions/checkout@v2
-
name: Build registry path
id: get_repo
run: echo ::set-output name=IMAGE::"$REGISTRY/$OWNER/dataspace-connector"
-
name: Find tag
id: get_tag
run: echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//}
if: startsWith(github.ref, 'refs/tags')
-
name: Find branch name
id: get_branch
run: echo ::set-output name=BRANCH::$(git rev-parse --abbrev-ref HEAD)
-
name: Login to registry
uses: docker/login-action@v1
with:
# This should use REGISTRY instead of the secret directly
registry: ${{ secrets.IMAGE_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build image
run: |
docker build . -t $IMAGE:$BRANCH
env:
IMAGE: ${{ steps.get_repo.outputs.IMAGE }}
BRANCH: ${{ steps.get_branch.outputs.BRANCH }}
-
name: Push tagged image
run: |
echo $IMAGE
echo $BRANCH
echo $TAG
TMP=$TAG
if [[ $TAG == v* ]]
then
# Its a version tag
TMP=${TAG:1:${#TAG}}
echo "Found a version tag"
if [[ $BRANCH == 'master' ]]
then
# Its a release version tag
docker tag $IMAGE:$BRANCH $IMAGE:latest
docker push $IMAGE:latest
fi
fi
# Has tag
docker tag $IMAGE_NAME:$BRANCH_NAME $IMAGE_NAME:$TAG
docker push $IMAGE_NAME:$TAG
if: startsWith(github.ref, 'refs/tags')
env:
IMAGE: ${{ steps.get_repo.outputs.IMAGE }}
BRANCH: ${{ steps.get_branch.outputs.BRANCH }}
TAG: ${{ steps.get_tag.outputs.TAG }}
-
name: Push branch image
run: |
docker push $IMAGE:$BRANCH
env:
IMAGE: ${{ steps.get_repo.outputs.IMAGE }}
BRANCH: ${{ steps.get_branch.outputs.BRANCH }}
46 changes: 0 additions & 46 deletions .github/workflows/build_image.yaml

This file was deleted.

11 changes: 7 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
name: Java CI with Maven

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
branches: [ master, develop ]

concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true

jobs:
build:
timeout-minutes: 30
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -29,6 +32,6 @@ jobs:
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn -B -U verify --file pom.xml
Loading

0 comments on commit 548cd41

Please sign in to comment.