Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase back to main branch #108

Merged
merged 227 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
3fc6709
ADM-840:[backend]fix: fix bug for generate error info when generate r…
yulongcai Mar 4, 2024
09dfc27
ADM-817: [frontend] fix: don't show step or branch when no pipeline m…
mrcuriosity-tw Mar 4, 2024
9e6fa30
Fix the bug about github pr filtering when forked repo merge back to …
davidwangcn9 Mar 4, 2024
a138df4
ADM-831:[frontend]feat: add pipeline is future time check (#1110)
weiraneve Mar 5, 2024
92a6df0
ADM-841: [frontend] fix: show board configuration config in metrics s…
neomgb Mar 5, 2024
213b20a
ADM-831:[frontend]feat: add pipeline is future time check (#1112)
weiraneve Mar 5, 2024
3d96f44
[frontend]ADM-767: make disable for pipeline name (#1113)
lxuebing Mar 5, 2024
ae21e45
ADM-767 [frontend] test: fix e2e test (#1115)
lxuebing Mar 5, 2024
5209bb3
ADM-818: [frontend] fix hide loading button when pipeline info ge… (#…
Mar 5, 2024
51517df
ADM-841: [frontend] fix: fix next button display logic (#1116)
neomgb Mar 5, 2024
9a438d8
ADM-818:[Frontend] fix pipeline
SimonTal Mar 5, 2024
1a4e208
fix(sonar): fix sonar issues (#1117)[backend]
guzhongren Mar 5, 2024
85d570c
pref(gradle): skip success console log for testing
guzhongren Mar 5, 2024
f24cb86
pref(gradle): update the swagger host
guzhongren Mar 5, 2024
12e6db9
pref(swagger): put swagger host in the env[backend]
guzhongren Mar 5, 2024
8734adf
[frontend] ADM-767: sort the disabled options (#1119)
lxuebing Mar 6, 2024
0f6f7fa
fix: put swagger host in the env[backend] (#1120)
lxuebing Mar 6, 2024
7f2fc60
Adm-839[frontend]fix change time then board & pipeline configuration …
pfpatrick Mar 6, 2024
b0260db
ADM-789:[Docs] update E2E docs (#1123)
SimonTal Mar 6, 2024
7fd180c
Sonar ignore (#1124)[backend]
guzhongren Mar 6, 2024
40b4f5a
Sonar ignore 1 (#1125)
guzhongren Mar 6, 2024
fe9e5aa
pref(sonar): update UT coverage (#1126)
guzhongren Mar 6, 2024
8531108
ADM-826 [frontend] style: enhance style for report detail (#1118)
lxuebing Mar 7, 2024
a3d81bc
ADM-839[frontend]refactor dispatch update config & add UT (#1127)
pfpatrick Mar 7, 2024
e26e53a
ADM-839[frontend]fix reload pipeline config (#1128)
pfpatrick Mar 7, 2024
5b49c00
ADM-831:[frontend]feat: add future time check for metrics step (#1121)
weiraneve Mar 7, 2024
83c529d
ADM-831:[frontend]refactor: update pipeline no step logic (#1129)
weiraneve Mar 8, 2024
8e065c2
ADM-839[frontend]fix reload pipeline config when reset source control…
pfpatrick Mar 8, 2024
d55d90c
pref(snapshot): remove snapshot, because the snapshot is hard to upda…
guzhongren Mar 9, 2024
ad9c533
fix(security): update cloudformation to fix security issues
guzhongren Mar 9, 2024
0863b3c
Update issue template
davidwangcn9 Mar 10, 2024
b398b9c
Update issue template with refined wording
davidwangcn9 Mar 10, 2024
864db42
ADM-839[frontend]fix next button when no jira card (#1131)
pfpatrick Mar 11, 2024
99ad1bf
Slack notification (#1134)
guzhongren Mar 11, 2024
3c9bde8
chore: extend the timeout of e2e local assertion because of the poor …
mrcuriosity-tw Mar 11, 2024
a60b275
[Docs]Update E2E init docs
davidwangcn9 Mar 12, 2024
e42dd6b
ADM-856:[backend]feat: update all feign clients decoder error message…
weiraneve Mar 12, 2024
6251e15
ADM-697:[docx] docx: add docx spike the logic of calculating card rew…
Liughgood Mar 12, 2024
9f235c5
ADM-691: [frontend] feat: add feat about rework settings (#1138)
neomgb Mar 12, 2024
5466b52
ADM-856:[backend]feat: add decode default case error message (#1139)
weiraneve Mar 12, 2024
644b0f9
ADM-837:[docs] docs: spike about optimizing generate report backend l…
sqsq5566 Mar 12, 2024
842ce0b
add test case
guzhongren Mar 12, 2024
ac87686
Build(deps): bump softprops/action-gh-release from 1 to 2 (#1136)
dependabot[bot] Mar 13, 2024
5a9f503
ADM-691: [frontend] fix: rename setting and fix style (#1142)
Leiqiuhong Mar 13, 2024
0c3191f
chore: extend the overall timeout of e2e 1 more minute. (#1144)
mrcuriosity-tw Mar 13, 2024
f775626
ADM-691: [frontend] fix: add request fields (#1143)
neomgb Mar 13, 2024
2bb3cdb
ADM-691: [frontend] fix: fix sonar issue (#1145)
neomgb Mar 13, 2024
095034d
Revert 691 (#1146)[frontend]
guzhongren Mar 13, 2024
f97de82
Add test (#1147)[backend]
guzhongren Mar 13, 2024
bd0046a
refactor(test): refactor
guzhongren Mar 13, 2024
de2b97a
refactor(bakcend): format
guzhongren Mar 13, 2024
d10482c
Adm 793 [frontend] Reduce the time of timeout to 10 minutes (#1141)
doujiao-001 Mar 14, 2024
9468184
[frontend] ADM-793: fix sonar issue and enhance test for source contr…
lxuebing Mar 14, 2024
2edbbc3
refactor(error): rename to error
guzhongren Mar 14, 2024
f7da835
chore(deps): update buildkite plugin artifacts to v1.9.3 (#1155)
renovate[bot] Mar 14, 2024
d65a272
[frontend]Let github action wait for buildkite
davidwangcn9 Mar 14, 2024
bbdc67d
Revert "[frontend]Let github action wait for buildkite"
davidwangcn9 Mar 14, 2024
ec2d13a
chore(deps): update dependency @types/hast to v2.3.10 (#1156)
renovate[bot] Mar 14, 2024
14af8d7
ADM-851:[backend] fix: fix sonar high (#1150)
BoBoDai Mar 15, 2024
21bc77b
[ADM-793] feat: hidden alert when reset (#1168)
lxuebing Mar 15, 2024
79796ac
ADM-851:[backend] fix: fix sonar for security issues (#1170)
BoBoDai Mar 15, 2024
d0f0a11
ADM-857:[backend]feat: add check buildkite status (#1179)
weiraneve Mar 15, 2024
079c32c
ADM-691:[frontend][backend] feat: calculate all card rework metrics (…
Liughgood Mar 15, 2024
7be6679
[frontend]ADM-793: add test and change word for alter (#1182)
lxuebing Mar 15, 2024
e4c5c23
ADM-857:[backend]fix: update check buildkite status entrance command
weiraneve Mar 15, 2024
9e6d63f
ADM-857:[backend]docs: add a space (#1185)
weiraneve Mar 15, 2024
acec6c3
Adm 851[Backend] fix Snoar refactor issues (#1181)
BoBoDai Mar 15, 2024
f2ccde8
ADM-861: [frontend] feat: add 'Dev' to Change Failure Rate & Mean tim…
TingyuDong Mar 15, 2024
6ffd45e
fix buildkite check before merging PR (#1187)
guzhongren Mar 15, 2024
a07b500
Buildkite e2e deployment check (#1188)
guzhongren Mar 15, 2024
87fd644
enable main branch to deploy e2e every time (#1189)
guzhongren Mar 15, 2024
ae7fa32
enable main branch to deploy e2e every time
guzhongren Mar 15, 2024
423ebba
enable main branch to deploy e2e every time
guzhongren Mar 15, 2024
5e6aa9b
install jq in playwright image
guzhongren Mar 16, 2024
e247603
check empty response from buildkite
guzhongren Mar 16, 2024
783bbfd
change ++ to +1
guzhongren Mar 16, 2024
25e1050
check with null for jq
guzhongren Mar 16, 2024
7d3abef
check empty([]) for the checking
guzhongren Mar 16, 2024
7b63869
update filter for [] when checking
guzhongren Mar 16, 2024
3f0c832
update readme
guzhongren Mar 16, 2024
f64dee3
fix badge of coverage and gate
guzhongren Mar 16, 2024
9c8b0a4
pref(deps): upgrade[frontend] deps (#1191)
guzhongren Mar 16, 2024
e157f6c
update max_attampt from 20 to 40
guzhongren Mar 17, 2024
5737bd3
chore(deps): update dependency prettier to v3.2.5 (#1192)
renovate[bot] Mar 17, 2024
2d4943e
chore(deps): update plugin io.spring.dependency-management to v1.1.4 …
renovate[bot] Mar 17, 2024
f05e0db
chore(deps): update plugin io.spring.javaformat to v0.0.41 (#1199)[ba…
renovate[bot] Mar 17, 2024
999d8df
Upgrade deps[frontend] (#1210)
guzhongren Mar 17, 2024
0d668f1
fix(deps): update dependency org.projectlombok:lombok to v1.18.30 (#1…
renovate[bot] Mar 17, 2024
6b6a126
fix(secuity): fix wiz security issues
guzhongren Mar 17, 2024
99cf71e
fix(deps): update dependency org.springframework:spring-core to v6.1.…
renovate[bot] Mar 17, 2024
a13dc76
[frontend] ADM-793: reset alter status (#1186)
lxuebing Mar 18, 2024
9d63fad
fix(secuity): fix wiz security issues
guzhongren Mar 18, 2024
4f204b3
fix(pipeline): disable trufflehog scan
guzhongren Mar 18, 2024
0f490cd
fix(shell): comments
guzhongren Mar 18, 2024
6fcead9
chore(deps): update dependency @dotenvx/dotenvx to ^0.26.0 (#1214)
renovate[bot] Mar 19, 2024
61ef688
ADM-882 user can't select future time in calendar (#1224)
PengxiWPix Mar 19, 2024
f4db92f
how to contribute (#1190)
guzhongren Mar 19, 2024
c76521c
docs(docs): upgrade deps
guzhongren Mar 19, 2024
760e7bd
docs([docs]): upgrade deps
guzhongren Mar 19, 2024
6fa0102
docs([docs]): upgrade deps
guzhongren Mar 19, 2024
4e5b036
docs([docs]): upgrade deps
guzhongren Mar 19, 2024
ca61511
docs([docs]): ignore securty issue
guzhongren Mar 19, 2024
9ea7549
ADM-692:[backend] feat: add from analyse to rework (#1236)
yulongcai Mar 20, 2024
a2cb520
ADM-692: [frontend] fix: fix e2e (#1240)
neomgb Mar 20, 2024
8ca94dd
ADM-692: [frontend] fix: fix e2e issue (#1242)
neomgb Mar 20, 2024
21bf3a0
[frontend]ADM-774: add rework dialog (#1241)
lxuebing Mar 20, 2024
8ae1fbd
[ADM-774] style: enhance style for step (#1244)
lxuebing Mar 20, 2024
c62267a
chore(deps): upgrade [backend] deps
guzhongren Mar 20, 2024
f419607
fix(deps): upgrade [backend] deps
guzhongren Mar 20, 2024
c6f7754
chore(deps): upgrade [frontend] deps
guzhongren Mar 20, 2024
6bb29a4
chore(deps): upgrade [docs][frontend] deps
guzhongren Mar 20, 2024
13b3893
fix(deps): upgrade [backend][frontend] deps
guzhongren Mar 20, 2024
5d6d175
[ADM-774] style: enhance style for img and note text (#1251)
lxuebing Mar 21, 2024
c820a3e
ADM-864: [frontend] feat: link mapping status to rework setting (#1252)
neomgb Mar 21, 2024
58d60ec
[frontend]ADM-774: add pointer style (#1253)
lxuebing Mar 21, 2024
1e99a55
Adm 694 [frontend] Rework report display in page Overview&Detail repo…
doujiao-001 Mar 21, 2024
80ba8f7
Adm 694 [frontend] [backend]Rework report display in page Overview&De…
Leiqiuhong Mar 21, 2024
8755dda
ADM-693:[backend] feat: generate rework report (#1256)
yulongcai Mar 21, 2024
b29ed2b
chore(deps): update dependency gradle (#1228)[backend]
renovate[bot] Mar 21, 2024
c1d9edc
fix(deps): upgrade [backend] deps
guzhongren Mar 21, 2024
d9bc420
fix(deps): update dependency org.springframework.cloud:spring-cloud-s…
renovate[bot] Mar 21, 2024
c9accf8
Revert "fix(deps): update dependency org.springframework.cloud:spring…
guzhongren Mar 21, 2024
51c6f30
ADM 882 Refactor code and add Readme (#1225)
PengxiWPix Mar 22, 2024
03d9bf1
[frontend]ADM-774: enhance step style based on figma (#1254)
lxuebing Mar 22, 2024
585f672
[doc]: update doc react-hook-form (#1257)
Mar 22, 2024
c55564a
ADM-864: [frontend] fix: reset rework setting when user revalidate or…
neomgb Mar 22, 2024
156cda4
[docs]: format doc
Mar 22, 2024
e5b48b1
[docs]: show document in website
Mar 22, 2024
026c639
[docs]: fix codacy
Mar 22, 2024
bbf7278
Revert "ADM-864: [frontend] fix: reset rework setting when user reval…
neomgb Mar 22, 2024
2f93767
AMD-694-latest [frontend] [backend] fix: fix dc issues (#1274)
doujiao-001 Mar 22, 2024
4e128bf
upload configed file when `Import project from file` (#1266)
guzhongren Mar 22, 2024
5674276
fix(deps): update dependency @mui/x-date-pickers to v7 (#1276)[frontend]
renovate[bot] Mar 22, 2024
a660144
fix(deps): update dependency react-redux to v9 (#1268)[frontend]
renovate[bot] Mar 22, 2024
1ad0fd1
chore(deps): update dependency gradle to v8.7 (#1282)[frontend][backend]
renovate[bot] Mar 23, 2024
a006985
chore(check): use buildkite to check github status, do not run basic …
guzhongren Mar 24, 2024
e6b2e67
Reduce check time onBuildkite (#1284)[backend][frontend]
guzhongren Mar 24, 2024
7fa3a8e
fix(deps): update dependency vite to v5.2.5 (#1285)[frontend]
renovate[bot] Mar 24, 2024
d860f2e
docs(readme): update readme
guzhongren Mar 24, 2024
cc156a3
docs(readme): pipeline strategy
guzhongren Mar 24, 2024
c8e26de
ADM-693:[backend] fix: return rework times from block when consider f…
Liughgood Mar 25, 2024
4c602ee
ADM-693:[frontend] fix: e2e test of sheet fields (#1289)
Liughgood Mar 25, 2024
86dd08f
Adm 694 last fix [frontend] update highlight for rework column (#1287)
doujiao-001 Mar 25, 2024
2b44b12
ADM-693-fix [backend]: fix bug (#1291)
yulongcai Mar 25, 2024
237e388
ADM-899: [frontend] fix: modify next button display logic (#1290)
neomgb Mar 25, 2024
a5d4b3e
fix(script): fix script error and config
guzhongren Mar 25, 2024
b46ae76
fix(import): fix the issue of import button can't work as well
guzhongren Mar 25, 2024
c350d9f
fix(format): fix format of [frontend]
guzhongren Mar 25, 2024
269ff2b
chore(deps): update gradle docker tag to v8.7.0 (#1294)[backend]
renovate[bot] Mar 25, 2024
2f33237
chore(deps): update typescript-eslint monorepo to v7.4.0 (#1233)[docs…
renovate[bot] Mar 26, 2024
84e78e5
chore(deps): update dependency @dotenvx/dotenvx to ^0.27.0 (#1295)[fr…
renovate[bot] Mar 26, 2024
8235492
Revert "chore(deps): update dependency @dotenvx/dotenvx to ^0.27.0 (#…
guzhongren Mar 26, 2024
056a82f
chore(deps): update dependency eslint-plugin-astro to ^0.33.0 (#1246)…
renovate[bot] Mar 26, 2024
fcaaae4
chore(renovate): run renovate check at 20:00 CN on friday
guzhongren Mar 26, 2024
ea1c254
refactor(error): rename heartbeatError to appError (#1299)[frontend]
guzhongren Mar 26, 2024
83a2e16
fix(e2e):fix local e2e test
guzhongren Mar 26, 2024
16e5a5d
fix(error): fix server proxy error (#1302)
WSSsssss33 Mar 26, 2024
62a9fe7
Adm 694 refactor [frontend] refactor bold text (#1303)
doujiao-001 Mar 26, 2024
a49c5b6
ADM-693-refactor:[backend] fix: fix test (#1300)
yulongcai Mar 26, 2024
0129239
chore(deps):upgrade dotenvx
guzhongren Mar 26, 2024
c600825
ADM-693-fix-new:[backend] fix: update export metric for rework info l…
yulongcai Mar 27, 2024
6fcbbf9
Adm 892: update readme (#1305)
Leiqiuhong Mar 27, 2024
af70300
[frontend]ADM-853: add page jumps e2e test for rework (#1306)
lxuebing Mar 27, 2024
51e7a3d
ADM-903-fix:[backend][frontend] fix: fix null point error (#1307)
Rui7ing Mar 28, 2024
bbd2fba
ADM-865:update readme doc (#1308)[docs]
pfpatrick Mar 28, 2024
9e734ae
ADM-903: [frontend] fix: fix show more button display logic (#1310)
neomgb Mar 29, 2024
a870587
rework-bug:[backend] fix: Limited to two decimal places when generate…
yulongcai Mar 29, 2024
b6b4eac
chore(deps): update dependency @astrojs/mdx to v2.2.2 (#1312)[docs]
renovate[bot] Mar 29, 2024
065c87b
chore(deps): update dependency @astrojs/sitemap to v3.1.2 (#1313)[docs]
renovate[bot] Mar 29, 2024
0d877c6
Adm 865 (#1314)
pfpatrick Apr 1, 2024
cdeb32a
ADM-865:[backend] feat: add new exception for Permission Deny (#1315)
BoBoDai Apr 1, 2024
c6e320f
ADM-865[docs] feat: add new exception (#1317)
BoBoDai Apr 1, 2024
db3c98b
[docs]: add new doc for chart spike (#1309)
Apr 1, 2024
70b8595
ADM-865:fix click next button logic (#1319)
pfpatrick Apr 2, 2024
723dbd0
ADM-873: [frontend][backend] feat: optimize generate report api (#1271)
TingyuDong Apr 2, 2024
f1b4465
ADM-873:[backend] fix: fix test (#1321)
TingyuDong Apr 2, 2024
2d997f3
ADM-865:[frontend]fix none alert situation (#1322)
pfpatrick Apr 2, 2024
6a40acf
Release for v1.1.6
davidwangcn9 Apr 2, 2024
e020986
ADM-886:[docs]docs: add chart API spike (#1324)
weiraneve Apr 2, 2024
5876b10
ADM-865:[frontend]replace http status code (#1325)
pfpatrick Apr 2, 2024
b814c6d
docs(charting): add details for the spike[docs]
guzhongren Apr 2, 2024
1d1366d
style(lint): lint [docs]
guzhongren Apr 2, 2024
f37e47f
ADM 751 [Frontend]E2E test&read me for status mapping (#1316)
PengxiWPix Apr 3, 2024
f71b79e
Adm 905 - fix the percentage value in export metrics page is wrong (#…
Rui7ing Apr 3, 2024
7eba052
[ADM-877][frontend]: Feat/multiple time range (#1318)
mrcuriosity-tw Apr 3, 2024
e32eaf5
fix(deps): update dependency vite to v5.2.6 [security] (#1331)[frontend]
renovate[bot] Apr 6, 2024
dd7c872
chore(deps-dev): bump vite from 5.1.6 to 5.2.8 in /[docs](#1329)
dependabot[bot] Apr 6, 2024
611bac7
chore(deps-dev): bump undici from 5.28.3 to 5.28.4 in /[frontend](#1332)
dependabot[bot] Apr 6, 2024
834a6da
chore(deps-dev): bump undici from 5.28.3 to 5.28.4 in /[docs](#1333)
dependabot[bot] Apr 6, 2024
9d87a76
Adm 897 [frontend]: board configuration need to retain modified data …
Leiqiuhong Apr 7, 2024
6f3d927
ADM 834[Backend]Identify sites is available during validation board p…
PengxiWPix Apr 7, 2024
c1e3f2c
ADM-905:[backend] fix: fix Rework cards ratio value (#1336)
Rui7ing Apr 7, 2024
8bf7e58
ADM-886:[docs]docs: update chart API docs content (#1326)
weiraneve Apr 7, 2024
e736ffa
ADM-886:[docs]docs: refactor chart API docs sequence diagram (#1339)
weiraneve Apr 7, 2024
7016f26
ADM 834 add frontend validation to board Id (#1338)
PengxiWPix Apr 7, 2024
94f6c99
ADM 751 [docs]docs: fix readme in board mappings part (#1334)
PengxiWPix Apr 7, 2024
f6bff44
chore(sbom): generate sbom when releasing (#1340)
guzhongren Apr 7, 2024
a18fb67
ADM-833:[frontend]feat:add e2e unhappy path scenarios (#1328)
YaoZhang87 Apr 8, 2024
eed90dc
ADM-833: [frontend] fix: fix env error (#1341)
YaoZhang87 Apr 8, 2024
2646b8b
Revert "ADM-833: [frontend] fix: fix env error (#1341)" (#1344)
mrcuriosity-tw Apr 8, 2024
6f7b70f
[ADM-833][frontend]: chore: fix the e2e env injection error. (#1345)
mrcuriosity-tw Apr 8, 2024
b679ffb
refactor(e2e): name conversion[frontend]
guzhongren Apr 8, 2024
ad73e56
fix(e2e): fix type check[frontend]
guzhongren Apr 8, 2024
c47e612
[ADM-877][frontend]: feat: remove the limit of start-date & end-date …
mrcuriosity-tw Apr 9, 2024
966b040
ADM-873:[frontend][backend] fix: fix success notification (#1327)
TingyuDong Apr 9, 2024
713a72e
[frontend] feat/adm 811: Do not clear the configuration settings when…
Apr 9, 2024
e23a9b9
Adm 910[docs] feat: add Github graghQL rate limit issue (#1348)
BoBoDai Apr 9, 2024
71b5479
Adm 912[frontend]: ui refine date picker in metrics page (#1349)
Leiqiuhong Apr 9, 2024
824b0ae
Adm 912[frontend] fix time range of pipeline's api (#1351)
Leiqiuhong Apr 9, 2024
adc9c15
ADM-917[frontend] feat: make date bean delete can reload Board and pi…
BoBoDai Apr 9, 2024
c993a3a
chore(deps): bump peaceiris/actions-gh-pages from 3 to 4 (#1346)
dependabot[bot] Apr 9, 2024
b2e72c7
Adm 890 fix FLAG_AS_BLOCK_PROJECT_BOARD e2e test (#1353)
Rui7ing Apr 10, 2024
bbb86c9
ADM-890:[docs] docs: rename project (#1355)
Rui7ing Apr 10, 2024
b2783cf
chore(deps): bump gradle/gradle-build-action from 3.1.0 to 3.2.1 (#1347)
dependabot[bot] Apr 10, 2024
597311f
Update readme about generating tokens
davidwangcn9 Apr 10, 2024
d92ca00
Update readme
davidwangcn9 Apr 11, 2024
63aea53
ADM-920 feat: extension sleep time (#1357)
BoBoDai Apr 11, 2024
75af2d1
Revert "ADM-920 feat: extension sleep time (#1357)"
davidwangcn9 Apr 11, 2024
533a4e9
Revert "Update readme"
davidwangcn9 Apr 11, 2024
70584b2
Update readme and fix frontend UT
davidwangcn9 Apr 11, 2024
624c953
Fix UT format
davidwangcn9 Apr 11, 2024
65ca31a
ADM-833: [frontend] feat: add unhappy path scenarios (#1354)
YaoZhang87 Apr 11, 2024
37a96a9
Revert "ADM-833: [frontend] feat: add unhappy path scenarios (#1354)"…
YaoZhang87 Apr 11, 2024
5fed7cf
ADM-833: [frontend] feat: add unhappy path scenarios (#1360)
YaoZhang87 Apr 11, 2024
4b7e5ab
fix(e2e): fix env
guzhongren Apr 11, 2024
505a7b6
Adm 920[backend] feat: Support to retrieve multiple pages of pipeline…
BoBoDai Apr 12, 2024
2f0e75a
ADM-873:[frontend]fix: fix notification logic (#1356)
TingyuDong Apr 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
91 changes: 19 additions & 72 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,110 +2,57 @@ env:
RETENTION_DAYS: "10"

steps:
- label: ":white_check_mark: Check Shell"
key: "check-shell"
command: ./ops/check.sh shell

- label: ":lock: Check Security"
key: "check-security"
command: ./ops/check.sh security

- label: ":lock: Check CSS px"
key: "check-px"
command: ./ops/check.sh px

- label: ":lock: Deny CSS hex"
key: "deny-css-hex-check"
command: ./ops/check.sh hex

- label: ":lock: Deny CSS rgba"
key: "deny-css-rgba-check"
command: ./ops/check.sh rgba

- label: ":lock: Check .* in backend"
key: "check-dot-star"
command: ./ops/check.sh dot-star

- label: ":white_check_mark: Check Backend"
if: build.branch == "main" && build.message =~ /(?i)\[backend\]/
key: "check-backend"
command: ./ops/check.sh backend

- label: ":white_check_mark: Check Frontend"
if: build.branch == "main" && build.message =~ /(?i)\[frontend\]/
key: "check-frontend"
command: ./ops/check.sh frontend

- label: ":mag: Check Frontend License"
key: "check-frontend-license"
commands: ./ops/check.sh frontend-license

- label: ":mag: Check Backend License"
key: "check-backend-license"
commands: ./ops/check.sh backend-license
plugins:
- artifacts#v1.9.0:
upload:
- "backend/build/reports/dependency-license/**/*"
name: "backend-license-report"
expire_in: "${RETENTION_DAYS} days"

- label: ":cloudformation: Deploy infra"
if: build.branch == "main" && build.message =~ /(?i)\[infra\]/
key: "deploy-infra"
depends_on:
- "check-shell"
- "check-security"
- "check-frontend"
- "check-px"
- deny-css-rgba-check
- deny-css-hex-check
- "check-backend"
- "check-frontend-license"
- "check-backend-license"
env:
AWSHost: "$AWS_HOST"
AWSAccountId: "$AWS_ACCOUNT_ID"
AWSRegion: "$AWS_REGION"
command: ./ops/deploy.sh infra

- label: ":white_check_mark: GitHub Basic Check"
if: build.branch == "main"
key: "check-github-basic"
command: ./ops/check.sh github-basic-passed
env:
COMMIT_SHA: "$BUILDKITE_COMMIT"
GITHUB_TOKEN: "$E2E_TOKEN_GITHUB"
BRANCH: "$BUILDKITE_BRANCH"
depends_on:
- "deploy-infra"

- label: ":react: Build Frontend"
if: build.branch == "main" && build.message =~ /(?i)\[frontend\]/
key: "build-frontend"
depends_on: "deploy-infra"
depends_on:
- "check-github-basic"
command: ./ops/build.sh frontend

- label: ":java: Build Backend"
if: build.branch == "main" && build.message =~ /(?i)\[backend\]/
key: "build-backend"
depends_on: "deploy-infra"
depends_on:
- "check-github-basic"
command: ./ops/build.sh backend

- label: ":rocket: Deploy e2e"
if: build.branch == "main" && (build.message =~ /(?i)\[frontend\]/ || build.message =~ /(?i)\[backend\]/)
if: build.branch == "main"
key: "deploy-e2e"
depends_on:
- "build-frontend"
- "build-backend"
- "check-github-basic"
command: ./ops/deploy.sh e2e

- label: ":rocket: Run e2e"
branches: main
if: build.branch == "main"
key: "check-e2e"
depends_on:
- "deploy-e2e"
- "check-shell"
- "check-security"
- "check-frontend"
- "check-px"
- deny-css-rgba-check
- deny-css-hex-check
- "check-backend"
- "check-frontend-license"
- "check-backend-license"
command: ./ops/check.sh e2e-container
plugins:
- artifacts#v1.9.0:
- artifacts#v1.9.3:
upload: "./e2e-reports.tar.gz"
expire_in: "${RETENTION_DAYS} days"

Expand Down
53 changes: 49 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ body:
- type: markdown
attributes:
value: |
## Request Detail

The issue list is reserved exclusively for bug reports and feature requests.

For usage questions, please use the following resources:
Expand Down Expand Up @@ -54,8 +56,51 @@ body:
description: What tools will support your request feature?
multiple: true
options:
- Board
- Pipeline Tool
- Source Control
- Board (like Jira)
- Pipeline Tool (like buildkite)
- Source Control (like github)
validations:
required: true

- type: markdown
attributes:
value: |
## Account Detail

Let's know more about you and your account. We will horizontally evaluate all received requests to adjust the priority.

**Below information are important in terms of prioritization.**

- type: input
id: account_info
attributes:
label: Account name
description: What's your account name?
placeholder: Make sure it could be found in jigsaw
validations:
required: true

- type: input
id: account_location
attributes:
label: Account location
description: Which country you account locate at?
validations:
required: true

- type: input
id: account_size
attributes:
label: Teams in Account
description: How many teams will adopt heartbeat after feature release?
validations:
required: true

- type: input
id: expected_date
attributes:
label: Expected launch date
description: What is the latest possible launch date you can accept?
placeholder: 2024-12
validations:
required: true
required: false
2 changes: 1 addition & 1 deletion .github/workflows/Docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Build docs
run: pnpm run build
- name: Deploy to github pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/dist
Expand Down
19 changes: 16 additions & 3 deletions .github/workflows/Release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Set up Gradle
uses: gradle/gradle-build-action@v3.1.0
uses: gradle/gradle-build-action@v3.2.1
- name: Build
run: ./gradlew clean build
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -91,10 +91,23 @@ jobs:
tags: |
ghcr.io/${{ env.LOWCASE_REPO_NAME }}_backend:${{ env.TAG_NAME }}
ghcr.io/${{ env.LOWCASE_REPO_NAME }}_backend:latest
release:

build-sbom:
runs-on: ubuntu-latest
needs:
- build_and_push_image
steps:
- uses: actions/checkout@v4
- uses: anchore/sbom-action@v0
with:
path: ./
artifact-name: ${{ env.REPO_NAME }}.${{ env.TAG_NAME }}.sbom.spdx.json
- uses: anchore/sbom-action/publish-sbom@v0

release:
runs-on: ubuntu-latest
needs:
- build-sbom
steps:
- uses: actions/checkout@v4
- name: Download frontend artifact
Expand All @@ -119,7 +132,7 @@ jobs:
ls
echo "TAG_NAME=$(git tag --sort version:refname | tail -n 1)" >> "$GITHUB_ENV"
- name: Upload zip file
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: ${{ env.REPO_NAME }}-${{ env.TAG_NAME }}.zip

Expand Down
56 changes: 38 additions & 18 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Set up Gradle
uses: gradle/gradle-build-action@v3.1.0
uses: gradle/gradle-build-action@v3.2.1
- name: Test and check
run: ./gradlew clean check
- name: Build
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Set up Gradle
uses: gradle/gradle-build-action@v3.1.0
uses: gradle/gradle-build-action@v3.2.1
- name: License check
run: ./gradlew clean checkLicense
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -228,21 +228,23 @@ jobs:
run: |
./ops/check.sh frontend-license

# check-buildkite-status:
# if: ${{ github.event_name == 'pull_request' }}
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: Check BuildKite status
# run: |
# buildkite_status=$(curl -H "Authorization: Bearer ${{ secrets.BUILDKITE_TOKEN }}" "https://api.buildkite.com/v2/organizations/thoughtworks-Heartbeat/pipelines/heartbeat/builds?branch=main"| jq -r '.[0].state')
#
# if [ "$buildkite_status" != "passed" ]; then
# echo "BuildKite build failed. Cannot merge the PR."
# exit 1
# fi
check-buildkite-status:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check BuildKite status
env:
BUILDKITE_TOKEN: ${{ secrets.BUILDKITE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
CURRENT_ACTOR: ${{ github.actor }}
EVENT_NAME: ${{ github.event_name }}
CURRENT_BRANCH_NAME: ${{ github.ref }}
PULL_REQUEST_TITLE: ${{ github.event.pull_request.title }}
run: |
./ops/check.sh buildkite-status

images-check:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -289,6 +291,7 @@ jobs:
- credential-check
- frontend-license-check
- backend-license-check
- check-buildkite-status
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down Expand Up @@ -459,13 +462,22 @@ jobs:
npm install -g pnpm
- name: Set env
run: echo "HOME=/root" >> $GITHUB_ENV
- name: Install shell deps
run: |
apt-get update && apt-get install -y jq
jq --version
- name: Check e2e deployment
env:
BUILDKITE_TOKEN: ${{ secrets.BUILDKITE_TOKEN }}
COMMIT_SHA: ${{ github.sha }}
run: ./ops/check.sh buildkite-e2e-deployed
- name: Run E2E
env:
APP_ORIGIN: ${{ vars.APP_HTTP_SCHEDULE }}://${{ secrets.AWS_EC2_IP_E2E }}:${{ secrets.AWS_EC2_IP_E2E_FRONTEND_PORT }}
E2E_TOKEN_JIRA: ${{ secrets.E2E_TOKEN_JIRA }}
E2E_TOKEN_BUILD_KITE: ${{ secrets.E2E_TOKEN_BUILD_KITE }}
E2E_TOKEN_GITHUB: ${{ secrets.E2E_TOKEN_GITHUB }}
E2E_TOKEN_FLAG_AS_BLOCK_JIRA: ${{ secrets.E2E_TOKEN_FLAG_AS_BLOCK_JIRA }}
E2E_TOKEN_PIPELINE_NO_ORG_CONFIG_BUILDKITE: ${{ secrets.E2E_TOKEN_PIPELINE_NO_ORG_CONFIG_BUILDKITE }}
shell: bash {0}
run: ./ops/check.sh e2e
- uses: actions/upload-artifact@v4
Expand All @@ -474,6 +486,14 @@ jobs:
name: playwright-report
path: frontend/e2e/reports/
retention-days: 30
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
if: always()
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_ICON_EMOJI: ":heart-beat:"
SLACK_COLOR: ${{ job.status }}
SLACK_USERNAME: "Heartbeat E2E Status"

deploy:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/out-tsc
/logs
/app
/stubs/logs/*
frontend/cypress/
# Only exists if Bazel was run
/bazel-out
Expand Down Expand Up @@ -51,3 +52,4 @@ volume
csv

gitleaks-report.json
*.sbom.spdx.json
1 change: 1 addition & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ e001f3e4dc70deb4638d106d2ebfab520b9a2745:docs/src/components/Header/DocSearch.ts
6cff3275f5fcff29462e33b0508359b5d619ffec:docs/src/components/Header/DocSearch.tsx:generic-api-key:54
9102192bbe6790a348e5558cefbb051caa092411:_astro/DocSearch.d9740404.js:generic-api-key:13
a3fe6c206ca324e9e5e9a0e1422fd8c72845d855:_astro/DocSearch.d5fd0ff0.js:generic-api-key:13
cb693e0c6117cb8f383b72e4bb1c8f2635b7b041:_astro/DocSearch.E1RdsI6d.js:generic-api-key:13
2 changes: 2 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CVE-2023-49468
CVE-2024-0553
CVE-2024-0567
CVE-2024-22201
CVE-2024-22259
CVE-2024-28085
Loading
Loading