Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit e0afe96

Browse files
committed
Feat: Add updateSite, Remove Product, Preparation for CICD
1 parent 71e3b0b commit e0afe96

6 files changed

Lines changed: 78 additions & 41 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@01Parzival10

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "sunday"
8+
time: "04:04"
9+
10+
- package-ecosystem: "maven"
11+
directory: "/"
12+
schedule:
13+
interval: "weekly"
14+
day: "sunday"
15+
time: "04:04"

.github/workflows/main.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build Updatesite
2+
3+
on:
4+
push:
5+
branches: [main]
6+
release:
7+
types: [created]
8+
pull_request:
9+
workflow_dispatch:
10+
schedule:
11+
- cron: '0 2 * * *' # run nightly at 2:00 am
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Set up JDK
20+
uses: actions/setup-java@v4
21+
with:
22+
distribution: 'temurin'
23+
java-version: 17
24+
- name: Setup Maven
25+
uses: stCarolas/setup-maven@v5
26+
with:
27+
maven-version: 3.9.6
28+
- name: Build and Verify
29+
run: mvn clean verify
30+
- name: Publish Nightly Update Site
31+
if: github.event_name != 'release' && github.ref == 'refs/heads/main' && github.repository_owner == 'DataFlowAnalysis'
32+
uses: peaceiris/actions-gh-pages@v4
33+
with:
34+
deploy_key: ${{ secrets.UPDATE_SITE_DEPLOY_KEY }}
35+
external_repository: DataFlowAnalysis/updatesite
36+
destination_dir: nightly/analysis-backend-server/
37+
publish_dir: releng/org.dataflowanalysis.standalone.updatesite/target/repository
38+
publish_branch: main
39+
- name: Publish Release Update Site
40+
if: github.event_name == 'release' && github.repository_owner == 'DataFlowAnalysis'
41+
uses: peaceiris/actions-gh-pages@v4
42+
with:
43+
deploy_key: ${{ secrets.UPDATE_SITE_DEPLOY_KEY }}
44+
external_repository: DataFlowAnalysis/updatesite
45+
destination_dir: release/analysis-backend-server/${{ github.event.release.tag_name }}
46+
publish_dir: releng/org.dataflowanalysis.standalone.updatesite/target/repository
47+
publish_branch: main
48+

product/org.datadlownalysis.standalone.product/org.dataflowanalysis.standalone.product

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

product/org.datadlownalysis.standalone.product/.project renamed to releng/org.dataflowanalysis.standalone.updatesite/.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>org.dataflowanalysis.standalone.product</name>
3+
<name>org.dataflowanalysis.standalone.updatesite</name>
44
<comment></comment>
55
<projects>
66
</projects>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<site>
3+
<feature id="org.dataflowanalysis.standalone.feature">
4+
<category name="org.dataflowanalysis.standalone.category"/>
5+
</feature>
6+
<feature id="org.dataflowanalysis.standalone.feature.source">
7+
<category name="org.dataflowanalysis.standalone.source.category"/>
8+
</feature>
9+
10+
<category-def name="org.dataflowanalysis.standalone.category" label="Data Flow Analysis BackEnd Server"/>
11+
<category-def name="org.dataflowanalysis.standalone.source.category" label="Data Flow Analysis BackEnd Server Sources"/>
12+
</site>
13+

0 commit comments

Comments
 (0)