Skip to content

Commit d84d2b2

Browse files
authored
Merge pull request #59 from virtualsatellite/integration
Release 4.13.0
2 parents c12121b + e85c379 commit d84d2b2

File tree

23 files changed

+354
-594
lines changed

23 files changed

+354
-594
lines changed

.github/workflows/main.yml

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# --------------------------------------------
2+
# This is a basic workflow to help you get started with Actions
3+
# --------------------------------------------
4+
name: Build
5+
6+
on:
7+
# --------------------------------------------
8+
# Controls when the automatic build job will be run.
9+
# By default uses the default branch. Runs at 03:00 UTC.
10+
# --------------------------------------------
11+
schedule:
12+
- cron: '17 4 * * *'
13+
14+
# --------------------------------------------
15+
# Run this workflow every time a new commit pushed to the repository
16+
# --------------------------------------------
17+
push:
18+
19+
# --------------------------------------------
20+
# Run this workflow every time a pull request is created or commited to it
21+
# --------------------------------------------
22+
pull_request:
23+
branches:
24+
- '**'
25+
26+
env:
27+
# -------------------------------------------------------------
28+
# Setting up locale to have correct keyboard mapping for swtbot
29+
# -------------------------------------------------------------
30+
LANG: "en_US.UTF-8"
31+
# --------------------------------------------
32+
# Defines the list of jobs
33+
# --------------------------------------------
34+
jobs:
35+
# --------------------------------------------
36+
# Verify Job
37+
#---------------------------------------------
38+
verify:
39+
name: Verify
40+
runs-on: ubuntu-18.04
41+
42+
steps:
43+
# --------------------------------------------
44+
# Checks out a copy of the repository
45+
# --------------------------------------------
46+
- name: Setup - Checkout code
47+
uses: actions/checkout@v2
48+
49+
# --------------------------------------------
50+
# Run a quick sanity check if all commits are
51+
# handed in by known users
52+
#---------------------------------------------
53+
- name: Verify - Authors Sanity Check
54+
uses: virtualsatellite/ci-actions/ci-verify-authors-action@v2
55+
56+
# -----------------------------------------------------
57+
# Build, Assemble and Deploy Job
58+
# -----------------------------------------------------
59+
deploy:
60+
name: Build, Assemble and Deploy
61+
runs-on: ubuntu-18.04
62+
needs: [verify]
63+
64+
steps:
65+
# --------------------------------------------
66+
# Checks out a copy of your repository
67+
# --------------------------------------------
68+
- name: Setup - Checkout code
69+
uses: actions/checkout@v2
70+
71+
# --------------------------------------------
72+
# Setup caching for m2 repository
73+
# --------------------------------------------
74+
- name: Setup - Cache local m2 repository
75+
uses: actions/cache@v2
76+
with:
77+
path: ~/.m2/repository/
78+
key: ${{ runner.os }}-local-m2-deploy-${{ hashFiles('**/pom.xml') }}
79+
restore-keys: |
80+
${{ runner.os }}-local-m2-deploy-
81+
${{ runner.os }}-local-m2-
82+
83+
- name: Setup - Clean local m2 repository
84+
run: rm -rf ~/.m2/repository/de/dlr/sc/virsat
85+
86+
# --------------------------------------------
87+
# Setup caching for p2 repository
88+
# --------------------------------------------
89+
- name: Setup - Cache local p2 repository
90+
uses: actions/cache@v2
91+
with:
92+
path: ./p2Repo
93+
key: ${{ runner.os }}-local-p2-deploy-${{ hashFiles('**/pom.xml') }}
94+
restore-keys: |
95+
${{ runner.os }}-local-p2-deploy-
96+
${{ runner.os }}-local-p2-
97+
98+
# --------------------------------------------
99+
# Perform various setup operations
100+
# --------------------------------------------
101+
- name: Setup - Prepare OS
102+
uses: virtualsatellite/ci-actions/ci-setup-action@v2
103+
104+
# --------------------------------------------
105+
# Development and Feature branches
106+
# --------------------------------------------
107+
- name: Build - Build and Deploy Decision
108+
id: build_decision
109+
uses: virtualsatellite/ci-actions/ci-build-decision-action@v2
110+
111+
# --------------------------------------------
112+
# Prepare p2 Repos
113+
# --------------------------------------------
114+
- name: Build - Prepare p2 repo
115+
run: mvn install -P prepare-m2e-repo -B -V
116+
117+
# --------------------------------------------
118+
# Development and Feature branches
119+
# --------------------------------------------
120+
- name: Build - Assemble
121+
uses: virtualsatellite/ci-actions/ci-maven-simple-build-action@v2
122+
with:
123+
build_job: assemble
124+
build_profile: ${{ steps.build_decision.outputs.build_type }}
125+
126+
# ---------------------------------------------
127+
# Deploying to github releases
128+
# --------------------------------------------
129+
- name: Build - Deploy GH
130+
uses: virtualsatellite/ci-actions/ci-deploy-gh-product-action@v2
131+
with:
132+
build_profile: ${{ steps.build_decision.outputs.build_type }}
133+
gh_token: ${{ secrets.GITHUB_TOKEN }}
134+
if: ${{ steps.build_decision.outputs.deploy_type == 'deploy' }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/p2Repo/
2+
/repository/
13
/builds/
24
**/target/
35
**/*._trace

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ PhilMFischer <[email protected]> Philipp M. Fischer <35496033+PhilMFische
1212
PhilMFischer <[email protected]> Philipp M. Fischer <[email protected]>
1313

1414
TjorveKujathDLR <[email protected]> Tjorve Kujath <[email protected]>
15+
16+
Anna-Lena-DLR <[email protected]> Anna-Lena-DLR <[email protected]>

.travis.yml

Lines changed: 0 additions & 172 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ Eclipse based Developer IDE for Virtual Satellite 4 Developers.
44

55
## Project Status
66

7-
Status [![Build Status](https://travis-ci.com/virtualsatellite/VirtualSatellite4-DEV-IDE.svg?branch=development)](https://travis-ci.com/virtualsatellite/VirtualSatellite4-DEV-IDE)
87

9-
Status [![Build Status](https://travis-ci.com/virtualsatellite/VirtualSatellite4-DEV-IDE.svg?branch=integration)](https://travis-ci.com/virtualsatellite/VirtualSatellite4-DEV-IDE)
8+
Status [![Build Status](https://github.com/virtualsatellite/VirtualSatellite4-DEV-IDE/workflows/Build/badge.svg?branch=development)](https://github.com/virtualsatellite/VirtualSatellite4-DEV-IDE/workflows/Build) for *Development* build.
109

11-
Status [![Build Status](https://travis-ci.com/virtualsatellite/VirtualSatellite4-DEV-IDE.svg?branch=master)](https://travis-ci.com/virtualsatellite/VirtualSatellite4-DEV-IDE)
10+
Status [![Build Status](https://github.com/virtualsatellite/VirtualSatellite4-DEV-IDE/workflows/Build/badge.svg?branch=integration)](https://github.com/virtualsatellite/VirtualSatellite4-DEV-IDE/workflows/Build) for *Integration* build.
11+
12+
Status [![Build Status](https://github.com/virtualsatellite/VirtualSatellite4-DEV-IDE/workflows/Build/badge.svg?branch=master)](https://github.com/virtualsatellite/VirtualSatellite4-DEV-IDE/workflows/Build) for *Master* build.
1213

1314
## Purpose
1415

0 commit comments

Comments
 (0)