File tree Expand file tree Collapse file tree 1 file changed +79
-0
lines changed Expand file tree Collapse file tree 1 file changed +79
-0
lines changed Original file line number Diff line number Diff line change @@ -367,6 +367,80 @@ steps:
367
367
depends_on :
368
368
- build
369
369
370
+ ---
371
+ kind : pipeline
372
+ name : benching-arm64
373
+
374
+ platform :
375
+ os : linux
376
+ arch : arm64
377
+
378
+ depends_on :
379
+ - compliance
380
+
381
+ trigger :
382
+ event :
383
+ - push
384
+ - tag
385
+ - pull_request
386
+
387
+ services :
388
+ - name : pgsql
389
+ pull : default
390
+ image : postgres:9.5
391
+ environment :
392
+ POSTGRES_DB : test
393
+ POSTGRES_PASSWORD : postgres
394
+
395
+ - name : ldap
396
+ pull : default
397
+ image : gitea/test-openldap:latest
398
+
399
+ steps :
400
+ - name : fetch-tags
401
+ image : docker:git
402
+ commands :
403
+ - git fetch --tags --force
404
+ when :
405
+ event :
406
+ exclude :
407
+ - pull_request
408
+
409
+ - name : build
410
+ pull : always
411
+ image : golang:1.16
412
+ commands :
413
+ - make backend
414
+ environment :
415
+ GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
416
+ GOSUMDB : sum.golang.org
417
+ TAGS : bindata gogit sqlite sqlite_unlock_notify
418
+
419
+ - name : bench-sqlite
420
+ image : gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
421
+ commands :
422
+ - timeout -s ABRT 40m make bench-sqlite
423
+ environment :
424
+ GOPROXY : off
425
+ TAGS : bindata sqlite sqlite_unlock_notify
426
+ TEST_TAGS : sqlite sqlite_unlock_notify
427
+ USE_REPO_TEST_DIR : 1
428
+ depends_on :
429
+ - build
430
+
431
+ - name : bench-pgsql
432
+ image : gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
433
+ commands :
434
+ - timeout -s ABRT 40m make bench-pgsql
435
+ environment :
436
+ GOPROXY : off
437
+ TAGS : bindata gogit
438
+ TEST_TAGS : gogit
439
+ TEST_LDAP : 1
440
+ USE_REPO_TEST_DIR : 1
441
+ depends_on :
442
+ - build
443
+
370
444
---
371
445
kind : pipeline
372
446
name : update_translations
@@ -484,6 +558,7 @@ trigger:
484
558
depends_on :
485
559
- testing-amd64
486
560
- testing-arm64
561
+ - benching-arm64
487
562
488
563
steps :
489
564
- name : fetch-tags
@@ -579,6 +654,7 @@ trigger:
579
654
depends_on :
580
655
- testing-arm64
581
656
- testing-amd64
657
+ - benching-arm64
582
658
583
659
steps :
584
660
- name : fetch-tags
@@ -692,6 +768,7 @@ platform:
692
768
depends_on :
693
769
- testing-amd64
694
770
- testing-arm64
771
+ - benching-arm64
695
772
696
773
trigger :
697
774
ref :
@@ -789,6 +866,7 @@ platform:
789
866
depends_on :
790
867
- testing-amd64
791
868
- testing-arm64
869
+ - benching-arm64
792
870
793
871
trigger :
794
872
ref :
@@ -915,6 +993,7 @@ trigger:
915
993
depends_on :
916
994
- testing-amd64
917
995
- testing-arm64
996
+ - benching-arm64
918
997
- release-version
919
998
- release-latest
920
999
- docker-linux-amd64-release
You can’t perform that action at this time.
0 commit comments