-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from virtualsatellite/integration
Release 4.13.0
- Loading branch information
Showing
23 changed files
with
354 additions
and
594 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 |
---|---|---|
@@ -0,0 +1,134 @@ | ||
# -------------------------------------------- | ||
# This is a basic workflow to help you get started with Actions | ||
# -------------------------------------------- | ||
name: Build | ||
|
||
on: | ||
# -------------------------------------------- | ||
# Controls when the automatic build job will be run. | ||
# By default uses the default branch. Runs at 03:00 UTC. | ||
# -------------------------------------------- | ||
schedule: | ||
- cron: '17 4 * * *' | ||
|
||
# -------------------------------------------- | ||
# Run this workflow every time a new commit pushed to the repository | ||
# -------------------------------------------- | ||
push: | ||
|
||
# -------------------------------------------- | ||
# Run this workflow every time a pull request is created or commited to it | ||
# -------------------------------------------- | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
env: | ||
# ------------------------------------------------------------- | ||
# Setting up locale to have correct keyboard mapping for swtbot | ||
# ------------------------------------------------------------- | ||
LANG: "en_US.UTF-8" | ||
# -------------------------------------------- | ||
# Defines the list of jobs | ||
# -------------------------------------------- | ||
jobs: | ||
# -------------------------------------------- | ||
# Verify Job | ||
#--------------------------------------------- | ||
verify: | ||
name: Verify | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
# -------------------------------------------- | ||
# Checks out a copy of the repository | ||
# -------------------------------------------- | ||
- name: Setup - Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
# -------------------------------------------- | ||
# Run a quick sanity check if all commits are | ||
# handed in by known users | ||
#--------------------------------------------- | ||
- name: Verify - Authors Sanity Check | ||
uses: virtualsatellite/ci-actions/ci-verify-authors-action@v2 | ||
|
||
# ----------------------------------------------------- | ||
# Build, Assemble and Deploy Job | ||
# ----------------------------------------------------- | ||
deploy: | ||
name: Build, Assemble and Deploy | ||
runs-on: ubuntu-18.04 | ||
needs: [verify] | ||
|
||
steps: | ||
# -------------------------------------------- | ||
# Checks out a copy of your repository | ||
# -------------------------------------------- | ||
- name: Setup - Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
# -------------------------------------------- | ||
# Setup caching for m2 repository | ||
# -------------------------------------------- | ||
- name: Setup - Cache local m2 repository | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.m2/repository/ | ||
key: ${{ runner.os }}-local-m2-deploy-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-local-m2-deploy- | ||
${{ runner.os }}-local-m2- | ||
- name: Setup - Clean local m2 repository | ||
run: rm -rf ~/.m2/repository/de/dlr/sc/virsat | ||
|
||
# -------------------------------------------- | ||
# Setup caching for p2 repository | ||
# -------------------------------------------- | ||
- name: Setup - Cache local p2 repository | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./p2Repo | ||
key: ${{ runner.os }}-local-p2-deploy-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-local-p2-deploy- | ||
${{ runner.os }}-local-p2- | ||
# -------------------------------------------- | ||
# Perform various setup operations | ||
# -------------------------------------------- | ||
- name: Setup - Prepare OS | ||
uses: virtualsatellite/ci-actions/ci-setup-action@v2 | ||
|
||
# -------------------------------------------- | ||
# Development and Feature branches | ||
# -------------------------------------------- | ||
- name: Build - Build and Deploy Decision | ||
id: build_decision | ||
uses: virtualsatellite/ci-actions/ci-build-decision-action@v2 | ||
|
||
# -------------------------------------------- | ||
# Prepare p2 Repos | ||
# -------------------------------------------- | ||
- name: Build - Prepare p2 repo | ||
run: mvn install -P prepare-m2e-repo -B -V | ||
|
||
# -------------------------------------------- | ||
# Development and Feature branches | ||
# -------------------------------------------- | ||
- name: Build - Assemble | ||
uses: virtualsatellite/ci-actions/ci-maven-simple-build-action@v2 | ||
with: | ||
build_job: assemble | ||
build_profile: ${{ steps.build_decision.outputs.build_type }} | ||
|
||
# --------------------------------------------- | ||
# Deploying to github releases | ||
# -------------------------------------------- | ||
- name: Build - Deploy GH | ||
uses: virtualsatellite/ci-actions/ci-deploy-gh-product-action@v2 | ||
with: | ||
build_profile: ${{ steps.build_decision.outputs.build_type }} | ||
gh_token: ${{ secrets.GITHUB_TOKEN }} | ||
if: ${{ steps.build_decision.outputs.deploy_type == 'deploy' }} |
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,3 +1,5 @@ | ||
/p2Repo/ | ||
/repository/ | ||
/builds/ | ||
**/target/ | ||
**/*._trace | ||
|
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 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
Oops, something went wrong.