Skip to content

Commit 8468c93

Browse files
committed
Merge remote-tracking branch 'AliceO2Group/dev' into dev
2 parents 6336448 + 9cf91a0 commit 8468c93

1,458 files changed

Lines changed: 44973 additions & 66206 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/clean-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
checks:
99
description: Checks to be cleaned
1010
required: true
11-
default: 'build/O2/o2,build/AliceO2/O2/o2/macOS,build/O2/fullCI'
11+
default: 'build/O2/o2,build/AliceO2/O2/o2/macOS,build/O2/fullCI,build/O2/o2-cs8,build/O2/o2-dataflow,build/O2/o2-dataflow-cs8'
1212
owner:
1313
description: Organization
1414
required: true
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: Rebuild data model documentation
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '17 1 * * *' # 01:17 every night
6+
jobs:
7+
datamodel-doc:
8+
runs-on: ubuntu-latest
9+
if: github.repository == 'AliceO2Group/AliceO2'
10+
steps:
11+
12+
- name: Checkout O2
13+
uses: actions/checkout@v2
14+
with:
15+
path: O2
16+
persist-credentials: false
17+
18+
- name: Checkout O2Physics
19+
uses: actions/checkout@v2
20+
with:
21+
repository: AliceO2Group/O2Physics
22+
path: O2Physics
23+
persist-credentials: false
24+
25+
- name: Checkout documentation
26+
uses: actions/checkout@v2
27+
with:
28+
repository: AliceO2Group/analysis-framework
29+
path: analysis-framework
30+
persist-credentials: false
31+
# To push the updated branch, we need a non-shallow clone.
32+
fetch-depth: 0
33+
34+
- name: Create PR branch in docs
35+
working-directory: analysis-framework
36+
run: |
37+
git config --global user.email 'alibuild@cern.ch'
38+
git config --global user.name 'ALICE Action Bot'
39+
# Overwrite branch, creating a new one based on HEAD
40+
git checkout -B auto-datamodel-doc
41+
42+
- name: Set up Python
43+
uses: actions/setup-python@v2
44+
with:
45+
python-version: 3.x
46+
47+
- name: Install prerequisites
48+
run: |
49+
python3 -m pip install --user -U numpy nltk
50+
python3 -m nltk.downloader -d ~/nltk_data punkt
51+
52+
- name: Generate documentation
53+
run: exec bash -eo pipefail O2/scripts/datamodel-doc/update-datamodel.sh
54+
55+
- name: Send pull request with updated docs
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.ALIBUILD_GITHUB_TOKEN }}
58+
working-directory: analysis-framework/docs/datamodel
59+
run: |
60+
# git diff --quiet exits with 1 if any tracked files have changed, and
61+
# with 0 otherwise.
62+
if git diff --quiet; then
63+
exit # Nothing has changed, so no need to send a PR.
64+
fi
65+
git add ao2dTables.md helperTaskTables.md joinsAndIterators.md
66+
git commit -m 'Automatic data model update'
67+
git remote set-url origin "https://alibuild:$GITHUB_TOKEN@github.com/alibuild/analysis-framework"
68+
git push -f origin auto-datamodel-doc
69+
70+
# Send pull request
71+
# We need to use "hub" ourselves because alisw/pull-request gets
72+
# confused when multiple repos are checked out.
73+
hub pull-request -b AliceO2Group:master -h alibuild:auto-datamodel-doc \
74+
--no-edit --no-maintainer-edits -m 'Automatic data model update' \
75+
-m "This update to the data model documentation was automatically created from tonight's O2 dev branch."

Analysis/ALICE3/CMakeLists.txt

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

Analysis/ALICE3/include/ALICE3Analysis/FTOF.h

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

Analysis/ALICE3/include/ALICE3Analysis/RICH.h

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

0 commit comments

Comments
 (0)