forked from baloise/rocket-chat-notifier
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
355 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
source ./docker-env.sh | ||
source ./.bin/docker-env.sh | ||
|
||
docker-compose create |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
source ./docker-env.sh | ||
source ./.bin/docker-env.sh | ||
|
||
# Starts all applications. Run 'mvn docker:build' in platform and webapp before this script to create docker images. | ||
|
||
# Remove existing containers | ||
docker-compose stop | ||
docker-compose rm -f | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
./docker-build-images.sh && ./docker-run.sh |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Build with Maven | ||
run: ./mvnw clean install -U | ||
|
||
deploy: | ||
needs: [build] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: publish release package | ||
if: github.ref == 'master' | ||
env: | ||
JENKINS_MAVEN_PASS: ${{ secrets.JENKINS_MAVEN_PASS }} | ||
run: ./mvnw -s .github/workflows/m2.settings.xml deploy -DskipTests=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. | ||
See the NOTICE file distributed with this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not | ||
use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software distributed under the License is | ||
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and limitations under the License. --> | ||
|
||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
|
||
<pluginGroups> | ||
<pluginGroup>org.jenkins-ci.tools</pluginGroup> | ||
</pluginGroups> | ||
|
||
<servers> | ||
|
||
<server> | ||
<id>maven.jenkins-ci.org</id> | ||
<username>mreinhardt</username> | ||
<password>${JENKINS_MAVEN_PASS}</password> | ||
</server> | ||
</servers> | ||
|
||
<mirrors> | ||
<mirror> | ||
<id>maven.jenkins-ci.org</id> | ||
<url>https://repo.jenkins-ci.org/public/</url> | ||
<mirrorOf>m.g.o-public</mirrorOf> | ||
</mirror> | ||
</mirrors> | ||
|
||
<activeProfiles> | ||
<activeProfile>profile-default</activeProfile> | ||
</activeProfiles> | ||
|
||
<profiles> | ||
|
||
<profile> | ||
<id>profile-default</id> | ||
<activation> | ||
<activeByDefault>true</activeByDefault> | ||
</activation> | ||
|
||
<repositories> | ||
<repository> | ||
<id>mare-maven</id> | ||
<name>Mirror Nexus Repository</name> | ||
<url>https://devtools.martinreinhardt-online.de/nexus/content/repositories/maven/</url> | ||
<releases> | ||
<enabled>true</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</repository> | ||
<repository> | ||
<id>maven.jenkins-ci.org</id> | ||
<url>https://repo.jenkins-ci.org/public/</url> | ||
<releases> | ||
<enabled>true</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
|
||
|
||
<pluginRepositories> | ||
<pluginRepository> | ||
<pluginRepository> | ||
<id>maven.jenkins-ci.org</id> | ||
<url>https://repo.jenkins-ci.org/public/</url> | ||
</pluginRepository> | ||
<pluginRepository> | ||
<id>central</id> | ||
<name>Maven Repository</name> | ||
<url>http://repo1.maven.org/maven2/</url> | ||
<releases> | ||
<enabled>true</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</pluginRepository> | ||
</pluginRepositories> | ||
</profile> | ||
</profiles> | ||
|
||
<!-- activeProfiles | List of profiles that are active for all builds. | <activeProfiles> <activeProfile>alwaysActiveProfile</activeProfile> | ||
<activeProfile>anotherAlwaysActiveProfile</activeProfile> </activeProfiles> --> | ||
</settings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
#!groovy | ||
|
||
// only 20 builds | ||
properties([ | ||
disableConcurrentBuilds(), | ||
buildDiscarder(logRotator(artifactNumToKeepStr: '20', numToKeepStr: '20')) | ||
]) | ||
|
||
buildPlugin(platforms: ['linux'], jdkVersions: [7, 8], findbugs: [archive: true, unstableTotalAll: '0'], checkstyle: [run: true, archive: true]) | ||
// Builds a module using https://github.com/jenkins-infra/pipeline-library | ||
def configurations = [ | ||
[ platform: "linux", jdk: "8", jenkins: null ], | ||
//[ platform: "linux", jdk: "11", jenkins: null, javaLevel: "8" ] | ||
] | ||
buildPlugin(configurations: configurations, useAci: true) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ mvn jgitflow:release-start && \ | |
git checkout develop | ||
``` | ||
|
||
or just run `release.sh` | ||
or just run `.bin/release.sh` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.