-
Notifications
You must be signed in to change notification settings - Fork 1
/
.project-keeper.yml
105 lines (103 loc) · 3.62 KB
/
.project-keeper.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
sources:
- type: maven
path: pom.xml
modules:
- integration_tests
artifacts:
- target/administration-sql-scripts-${version}.sql
- target/row-level-security-dist-${version}.lua
- type: npm
path: extension/package.json
artifacts:
- dist/row-level-security-extension.js
version:
fromSource: pom.xml
build:
runnerOs: ubuntu-22.04
freeDiskSpace: true
exasolDbVersions:
- 8.32.0
- 7.1.30
workflows:
- name: ci-build.yml
stepCustomizations:
- action: INSERT_AFTER
stepId: setup-java
content:
name: Install Lua
id: install-lua
uses: leafo/gh-actions-lua@v10
with:
luaVersion: 5.4
- action: INSERT_AFTER
stepId: install-lua
content:
name: Install LuaRocks
id: install-luarocks
uses: leafo/gh-actions-luarocks@v4
with:
luaRocksVersion: "3.11.0"
- action: INSERT_AFTER
stepId: install-luarocks
content:
name: Install Lua dependencies
id: install-lua-dependencies
run: luarocks --local install *.rockspec --deps-only
- action: INSERT_AFTER
stepId: build-pk-verify
content:
name: Archive code coverage results
id: archive-luacov-report
uses: actions/upload-artifact@v4
with:
name: luacov.report.out-exasol-${{ matrix.exasol_db_version }}
path: target/luacov-reports/luacov.report.out
if-no-files-found: error
- action: REPLACE
stepId: sonar-analysis
content:
name: Skip SonarCloud analysis
id: sonar-analysis
run: echo "SonarCloud analysis is skipped because the project is written in Lua."
# Generate dummy error code reports. Error code crawler does not support Lua projects yet.
- action: INSERT_AFTER
stepId: build-pk-verify
content:
name: Generate dummy error code report
id: generate-dummy-error-code-report
run: echo '{"$schema":"https://schemas.exasol.com/error_code_report-1.0.0.json","errorCodes":[]}' > target/error_code_report.json
- name: release.yml
stepCustomizations:
- action: INSERT_AFTER
stepId: setup-jdks
content:
name: Install Lua
id: install-lua
uses: leafo/gh-actions-lua@v10
with:
luaVersion: 5.4
- action: INSERT_AFTER
stepId: install-lua
content:
name: Install LuaRocks
id: install-luarocks
uses: leafo/gh-actions-luarocks@v4
with:
luaRocksVersion: "3.11.0"
- action: INSERT_AFTER
stepId: install-luarocks
content:
name: Install Lua dependencies
id: install-lua-dependencies
run: luarocks --local install *.rockspec --deps-only
# Generate dummy error code reports. Error code crawler does not support Lua projects yet.
- action: INSERT_AFTER
stepId: build
content:
name: Generate dummy error code report
id: generate-dummy-error-code-report
run: echo '{"$schema":"https://schemas.exasol.com/error_code_report-1.0.0.json","errorCodes":[]}' > target/error_code_report.json
excludes:
# Project is written in Lua, no need to test with Java 17
- "E-PK-CORE-17: Missing required file: '.github/workflows/ci-build-next-java.yml'"
- "E-PK-CORE-17: Missing required file: 'release_config.yml'"