Skip to content

Commit 974d9f9

Browse files
committed
Initial commit
0 parents  commit 974d9f9

File tree

16 files changed

+548
-0
lines changed

16 files changed

+548
-0
lines changed

.github/workflows/build.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: build
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Set up JDK 1.8
11+
uses: actions/setup-java@v1
12+
with:
13+
java-version: 1.8
14+
- name: Build with Gradle
15+
run: ./gradlew clean build -P pluginVersion=test --info --stacktrace
16+

.github/workflows/release.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
jobs:
8+
tagged-release:
9+
name: "Tagged Release Final"
10+
runs-on: "ubuntu-latest"
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Set up JDK 1.8
14+
uses: actions/setup-java@v1
15+
with:
16+
java-version: 1.8
17+
- name: Build with Gradle
18+
run: ./gradlew clean build --info --stacktrace
19+
- uses: "marvinpinto/action-automatic-releases@latest"
20+
with:
21+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
22+
prerelease: false
23+
files: |
24+
./build/libs/xlr-advanced-gating-plugin-*.*

.gitignore

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
.gradle
2+
.idea
3+
build
4+
bin
5+
.classpath
6+
.settings
7+
.project
8+
.pydevproject
9+
10+
# Byte-compiled / optimized / DLL files
11+
__pycache__/
12+
*.py[cod]
13+
*$py.class
14+
15+
# C extensions
16+
*.so
17+
18+
# Distribution / packaging
19+
.Python
20+
build/
21+
develop-eggs/
22+
dist/
23+
downloads/
24+
eggs/
25+
.eggs/
26+
lib/
27+
lib64/
28+
parts/
29+
sdist/
30+
var/
31+
wheels/
32+
*.egg-info/
33+
.installed.cfg
34+
*.egg
35+
MANIFEST
36+
37+
# PyInstaller
38+
# Usually these files are written by a python script from a template
39+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
40+
*.manifest
41+
*.spec
42+
43+
# Installer logs
44+
pip-log.txt
45+
pip-delete-this-directory.txt
46+
47+
# Unit test / coverage reports
48+
htmlcov/
49+
.tox/
50+
.coverage
51+
.coverage.*
52+
.cache
53+
nosetests.xml
54+
coverage.xml
55+
*.cover
56+
.hypothesis/
57+
.pytest_cache/
58+
59+
# Translations
60+
*.mo
61+
*.pot
62+
63+
# Django stuff:
64+
*.log
65+
local_settings.py
66+
db.sqlite3
67+
68+
# Flask stuff:
69+
instance/
70+
.webassets-cache
71+
72+
# Scrapy stuff:
73+
.scrapy
74+
75+
# Sphinx documentation
76+
docs/_build/
77+
78+
# PyBuilder
79+
target/
80+
81+
# Jupyter Notebook
82+
.ipynb_checkpoints
83+
84+
# pyenv
85+
.python-version
86+
87+
# celery beat schedule file
88+
celerybeat-schedule
89+
90+
# SageMath parsed files
91+
*.sage.py
92+
93+
# Environments
94+
.env
95+
.venv
96+
env/
97+
venv/
98+
ENV/
99+
env.bak/
100+
venv.bak/
101+
102+
# Spyder project settings
103+
.spyderproject
104+
.spyproject
105+
106+
# Rope project settings
107+
.ropeproject
108+
109+
# mkdocs documentation
110+
/site
111+
112+
# mypy
113+
.mypy_cache/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Digital.ai customers
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Advanced Gating Integration for XL Release
2+
3+
![GitHub release](https://img.shields.io/github/release/xebialabs-community/xlr-advanced-gating-plugin.svg)
4+
[![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5+
[![Github All Releases](https://img.shields.io/github/downloads/xebialabs-community/xlr-advanced-gating-plugin/total.svg)](https://github.com/xebialabs-community/xlr-advanced-gating-plugin/releases)
6+
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-blue.svg)](https://github.com/RichardLitt/standard-readme)
7+
8+
## Installation
9+
10+
### Requirements
11+
12+
1. XL Release 9.0+
13+
14+
### Building the plugin
15+
The gradle wrapper facilitates building the plugin. Use the following command to build using [Gradle](https://gradle.org/):
16+
```bash
17+
./gradlew clean build
18+
```
19+
The built plugin, along with other files from the build, can then be found in the _build_ folder.
20+
21+
### Adding the plugin to XL Release
22+
23+
Download the latest version of the plugin from the [releases page](https://github.com/xebialabs-community/xlr-advanced-gating-plugin/releases). The plugin can then be installed through the XL Release graphical interface or the server backend. For additional detail, please refer to [the docs.xebialabs.com documentation on XLR plugin installation](https://docs.xebialabs.com/xl-release/how-to/install-or-remove-xl-release-plugins.html)
24+
25+
## Usage
26+
27+
__Available Tasks__: Gate
28+
29+
__Available Triggers__: None
30+
31+
__Available Dashboard Tiles__: None
32+
33+
### Screenshots
34+
35+
![Gate Task](images/gate.png)
36+
37+
## Contributing
38+
39+
Please review the contributing guidelines for _xebialabs-community_ at [http://xebialabs-community.github.io/](http://xebialabs-community.github.io/)
40+
41+
## License
42+
43+
This community plugin is licensed under the [MIT license](https://opensource.org/licenses/MIT).
44+
45+
See license in [LICENSE](LICENSE)

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
plugins {
2+
id 'org.ajoberstar.grgit' version '4.0.0'
3+
id 'java'
4+
}
5+
6+
project.version = project.findProperty('pluginVersion') ?: grgit.tag.list()[-1].getName().minus("v")

gradle/wrapper/gradle-wrapper.jar

51.9 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Wed Jan 04 13:06:09 PST 2017
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-bin.zip

0 commit comments

Comments
 (0)