Skip to content

Commit

Permalink
Merge branch 'master' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
HejdaJakub committed Jul 20, 2023
2 parents b2b97e4 + becd811 commit 14ab6c1
Show file tree
Hide file tree
Showing 24 changed files with 16,835 additions and 10,929 deletions.
40 changes: 40 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"extends": [
"@commitlint/config-conventional"
],
"helpUrl": "https://perunaai.atlassian.net/wiki/spaces/STRIBOG/pages/13467868/Semantic+versioning",
"rules": {
"scope-enum": [
2,
"always",
[
"core",
"openapi",
"cli",
"gui",
"engine",
"registrar",
"dispatcher",
"mvn",
"deps",
"deps-dev"
]
]
},
"prompt": {
"questions": {
"scope": {
"description": "Enter the name of the module affected (e.g. core)"
},
"isIssueAffected": {
"description": "Are there any specifics for deployment (upgrade notes)?"
},
"issuesBody": {
"description": "If there are deployment/upgrade notes, the commit requires a body. Please enter a longer description of the commit itself"
},
"issues": {
"description": "Enter UPGRADE NOTE: description of what needs to be done"
}
}
}
}
20 changes: 20 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check

on:
pull_request:

jobs:
run-commitlint-on-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Validate all commits from PR
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ nb-configuration.xml
!.gitignore
!.gitattributes
!.travis.yml
!.commitlintrc.json
*~

# Window ignore #
Expand Down
162 changes: 135 additions & 27 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,138 @@
{
"branches": [
"production",
"+([0-9])?(.{+([0-9]),x}).x",
{ "name": "alpha", "prerelease": true },
{ "name": "beta", "prerelease": true }
],
"preset": "conventionalcommits",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/exec", {
"prepareCmd": "./update-versions.sh ${nextRelease.version} && mvn -B clean install"
}],
["@semantic-release/git", {
"assets": [["**/pom.xml", "!perun-openapi/target/generated-sources/openapi/pom.xml"], "perun-openapi/openapi.yml", "perun-cli/Perun/Agent.pm"],
"message": "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
}],
["@semantic-release/github", {
"assets": [
{"path": "perun-rpc/target/perun-rpc.war"},
{"path": "perun-engine/target/perun-engine.jar"},
{"path": "perun-ldapc/target/perun-ldapc.jar"},
{"path": "perun-web-gui/target/perun-web-gui.war"},
{"path": "perun-cli-java/target/perun-cli-java.jar"}
]
}]
]
"branches": [
"production",
"+([0-9])?(.{+([0-9]),x}).x",
{
"name": "alpha",
"prerelease": true
},
{
"name": "beta",
"prerelease": true
}
],
"preset": "conventionalcommits",
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "New features and notable changes",
"hidden": false
},
{
"type": "fix",
"hidden": true
},
{
"type": "perf",
"hidden": true
},
{
"type": "revert",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "style",
"hidden": true
},
{
"type": "chore",
"hidden": true
},
{
"type": "refactor",
"hidden": true
},
{
"type": "test",
"hidden": true
},
{
"type": "build",
"hidden": true
},
{
"type": "ci",
"hidden": true
}
],
"issuePrefixes": [
"ST"
],
"issueUrlFormat": "https://perunaai.atlassian.net/browse/{{prefix}}{{id}}"
},
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"DEPLOYMENT NOTE",
"DEPLOYMENT NOTES",
"UPGRADE NOTE",
"UPGRADE NOTES"
]
}
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "./update-versions.sh ${nextRelease.version} && mvn -B clean install"
}
],
[
"@semantic-release/git",
{
"assets": [
[
"**/pom.xml",
"!perun-openapi/target/generated-sources/openapi/pom.xml"
],
"perun-openapi/openapi.yml",
"perun-cli/Perun/Agent.pm",
"UPGRADE.md"
],
"message": "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "UPGRADE.md",
"changelogTitle": "Upgrade notes"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "perun-rpc/target/perun-rpc.war"
},
{
"path": "perun-engine/target/perun-engine.jar"
},
{
"path": "perun-ldapc/target/perun-ldapc.jar"
},
{
"path": "perun-web-gui/target/perun-web-gui.war"
},
{
"path": "perun-cli-java/target/perun-cli-java.jar"
}
]
}
]
]
}

50 changes: 27 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,43 @@
![](https://github.com/CESNET/perun/workflows/test%20build/badge.svg)

<a href="https://perun-aai.org"><img style="float: left; position: relative;" src="https://raw.githubusercontent.com/CESNET/perun/master/perun-web-gui/src/main/webapp/img/logo.png"></a>
## Identity & Access Management System ##
## Identity & Access Management System

[![conventional commits](https://img.shields.io/badge/semantic--release-conventional-e10079?logo=semantic-release)](https://www.conventionalcommits.org/)
[![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](https://commitizen.github.io/cz-cli/)
[![CI status](https://github.com/CESNET/perun/workflows/test%20build/badge.svg)](https://github.com/cesnet/perun/actions/workflows/maven.yml)
[![latest release](https://img.shields.io/github/v/release/cesnet/perun)](https://github.com/CESNET/perun/releases)

Perun is an identity and access management system primary targeting academia environment. Perun is well suited for managing users within organizations and projects and managing access rights to the services.

### Features ###
### Features

* Simplify and automate all identity management related workflows
* Perform access management by provisioning and de-provisioning users to your services
* Support delegation of user/service management responsibilities
* Unified GUI as a single place for managing everything from personal profile to groups and services settings
* Organize users within groups and virtual organizations
* Handle whole user lifecycle from registration to membership expiration / extension
* Allow users to self register using invitations
* Support import/export and synchronization between your existing user databases
* Can handle and join multiple user identities a manage them across your services
* All actions are audited
- Simplify and automate all identity management related workflows
- Perform access management by provisioning and de-provisioning users to your services
- Support delegation of user/service management responsibilities
- Unified GUI as a single place for managing everything from personal profile to groups and services settings
- Organize users within groups and virtual organizations
- Handle whole user lifecycle from registration to membership expiration / extension
- Allow users to self register using invitations
- Support import/export and synchronization between your existing user databases
- Can handle and join multiple user identities a manage them across your services
- All actions are audited

### Related projects ###
### Related projects

* [Perun ansible](https://github.com/CESNET/perun-ansible) - Perun installation automation using Ansible
* [Perun services](https://github.com/CESNET/perun-services) - connectors Perun uses to manage services
* [Perun Web Apps](https://github.com/CESNET/perun-web-apps) - new web user interface for Perun using Angular
* [Perun WUI](https://github.com/CESNET/perun-wui) - current web user interface for Perun
* [Google Group connector](https://github.com/CESNET/google-group-connector) - allow provisioning of Google groups on your domain
- [Perun ansible](https://github.com/CESNET/perun-ansible) - Perun installation automation using Ansible
- [Perun services](https://github.com/CESNET/perun-services) - connectors Perun uses to manage services
- [Perun Web Apps](https://github.com/CESNET/perun-web-apps) - new web user interface for Perun using Angular
- [Perun WUI](https://github.com/CESNET/perun-wui) - current web user interface for Perun
- [Google Group connector](https://github.com/CESNET/google-group-connector) - allow provisioning of Google groups on your domain

### License ###
### License

&copy; 2010-2023 [CESNET](https://www.cesnet.cz/?lang=en), [CERIT-SC](https://www.cerit-sc.cz/en/index.html) and [Masaryk University](https://www.muni.cz/en), all rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
Expand All @@ -49,6 +53,6 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

### Acknowledgement ###
### Acknowledgement

This work is co-funded by the EOSC-hub project (Horizon 2020) under Grant number 777536.
Loading

0 comments on commit 14ab6c1

Please sign in to comment.