Skip to content

Commit b05a5c1

Browse files
authored
Merge branch 'main' into fix-margin
2 parents a063d73 + 2344007 commit b05a5c1

File tree

148 files changed

+3686
-1368
lines changed

Some content is hidden

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

148 files changed

+3686
-1368
lines changed

.changelog.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,28 @@ groups:
1414
name: BREAKING
1515
labels:
1616
- kind/breaking
17-
-
18-
name: FEATURES
19-
labels:
20-
- kind/feature
2117
-
2218
name: SECURITY
2319
labels:
2420
- kind/security
2521
-
26-
name: API
22+
name: FEATURES
2723
labels:
28-
- kind/api
24+
- kind/feature
2925
-
30-
name: BUGFIXES
26+
name: API
3127
labels:
32-
- kind/bug
28+
- kind/api
3329
-
3430
name: ENHANCEMENTS
3531
labels:
3632
- kind/enhancement
3733
- kind/refactor
3834
- kind/ui
35+
-
36+
name: BUGFIXES
37+
labels:
38+
- kind/bug
3939
-
4040
name: TESTING
4141
labels:

.drone.yml

Lines changed: 196 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,17 @@ steps:
217217
GITHUB_READ_TOKEN:
218218
from_secret: github_read_token
219219

220+
- name: unit-test-race
221+
image: golang:1.16
222+
commands:
223+
- make test-backend
224+
environment:
225+
GOPROXY: off
226+
TAGS: sqlite sqlite_unlock_notify
227+
RACE_ENABLED: true
228+
GITHUB_READ_TOKEN:
229+
from_secret: github_read_token
230+
220231
- name: unit-test-gogit
221232
pull: always
222233
image: golang:1.16
@@ -404,7 +415,7 @@ steps:
404415

405416
- name: update
406417
pull: default
407-
image: alpine:3.14
418+
image: alpine:3.13
408419
commands:
409420
- ./build/update-locales.sh
410421

@@ -691,7 +702,7 @@ steps:
691702

692703
---
693704
kind: pipeline
694-
name: docker-linux-amd64-release
705+
name: docker-linux-amd64-release-version
695706

696707
platform:
697708
os: linux
@@ -703,7 +714,6 @@ depends_on:
703714

704715
trigger:
705716
ref:
706-
- refs/heads/main
707717
- "refs/tags/**"
708718
event:
709719
exclude:
@@ -717,7 +727,7 @@ steps:
717727

718728
- name: publish
719729
pull: always
720-
image: plugins/docker:linux-amd64
730+
image: techknowlogick/drone-docker:latest
721731
settings:
722732
auto_tag: true
723733
auto_tag_suffix: linux-amd64
@@ -734,7 +744,7 @@ steps:
734744
- pull_request
735745

736746
- name: publish-rootless
737-
image: plugins/docker:linux-amd64
747+
image: techknowlogick/drone-docker:latest
738748
settings:
739749
dockerfile: Dockerfile.rootless
740750
auto_tag: true
@@ -754,6 +764,70 @@ steps:
754764
exclude:
755765
- pull_request
756766

767+
---
768+
kind: pipeline
769+
name: docker-linux-amd64-release
770+
771+
platform:
772+
os: linux
773+
arch: amd64
774+
775+
depends_on:
776+
- testing-amd64
777+
- testing-arm64
778+
779+
trigger:
780+
ref:
781+
- refs/heads/main
782+
event:
783+
exclude:
784+
- cron
785+
786+
steps:
787+
- name: fetch-tags
788+
image: docker:git
789+
commands:
790+
- git fetch --tags --force
791+
792+
- name: publish
793+
pull: always
794+
image: techknowlogick/drone-docker:latest
795+
settings:
796+
auto_tag: false
797+
tags: dev-linux-amd64
798+
repo: gitea/gitea
799+
build_args:
800+
- GOPROXY=off
801+
password:
802+
from_secret: docker_password
803+
username:
804+
from_secret: docker_username
805+
when:
806+
event:
807+
exclude:
808+
- pull_request
809+
810+
- name: publish-rootless
811+
image: techknowlogick/drone-docker:latest
812+
settings:
813+
dockerfile: Dockerfile.rootless
814+
auto_tag: false
815+
tags: dev-linux-amd64-rootless
816+
repo: gitea/gitea
817+
build_args:
818+
- GOPROXY=off
819+
password:
820+
from_secret: docker_password
821+
username:
822+
from_secret: docker_username
823+
environment:
824+
PLUGIN_MIRROR:
825+
from_secret: plugin_mirror
826+
when:
827+
event:
828+
exclude:
829+
- pull_request
830+
757831
---
758832
kind: pipeline
759833
name: docker-linux-arm64-dry-run
@@ -772,7 +846,7 @@ trigger:
772846
steps:
773847
- name: dryrun
774848
pull: always
775-
image: plugins/docker:linux-arm64
849+
image: techknowlogick/drone-docker:latest
776850
settings:
777851
dry_run: true
778852
repo: gitea/gitea
@@ -788,7 +862,7 @@ steps:
788862

789863
---
790864
kind: pipeline
791-
name: docker-linux-arm64-release
865+
name: docker-linux-arm64-release-version
792866

793867
platform:
794868
os: linux
@@ -800,7 +874,6 @@ depends_on:
800874

801875
trigger:
802876
ref:
803-
- refs/heads/main
804877
- "refs/tags/**"
805878
event:
806879
exclude:
@@ -814,7 +887,7 @@ steps:
814887

815888
- name: publish
816889
pull: always
817-
image: plugins/docker:linux-arm64
890+
image: techknowlogick/drone-docker:latest
818891
settings:
819892
auto_tag: true
820893
auto_tag_suffix: linux-arm64
@@ -834,7 +907,7 @@ steps:
834907
- pull_request
835908

836909
- name: publish-rootless
837-
image: plugins/docker:linux-arm64
910+
image: techknowlogick/drone-docker:latest
838911
settings:
839912
dockerfile: Dockerfile.rootless
840913
auto_tag: true
@@ -856,7 +929,73 @@ steps:
856929

857930
---
858931
kind: pipeline
859-
name: docker-manifest
932+
name: docker-linux-arm64-release
933+
934+
platform:
935+
os: linux
936+
arch: arm64
937+
938+
depends_on:
939+
- testing-amd64
940+
- testing-arm64
941+
942+
trigger:
943+
ref:
944+
- refs/heads/main
945+
event:
946+
exclude:
947+
- cron
948+
949+
steps:
950+
- name: fetch-tags
951+
image: docker:git
952+
commands:
953+
- git fetch --tags --force
954+
955+
- name: publish
956+
pull: always
957+
image: techknowlogick/drone-docker:latest
958+
settings:
959+
auto_tag: false
960+
tags: dev-linux-arm64
961+
repo: gitea/gitea
962+
build_args:
963+
- GOPROXY=off
964+
password:
965+
from_secret: docker_password
966+
username:
967+
from_secret: docker_username
968+
environment:
969+
PLUGIN_MIRROR:
970+
from_secret: plugin_mirror
971+
when:
972+
event:
973+
exclude:
974+
- pull_request
975+
976+
- name: publish-rootless
977+
image: techknowlogick/drone-docker:latest
978+
settings:
979+
dockerfile: Dockerfile.rootless
980+
auto_tag: false
981+
tags: dev-linux-arm64-rootless
982+
repo: gitea/gitea
983+
build_args:
984+
- GOPROXY=off
985+
password:
986+
from_secret: docker_password
987+
username:
988+
from_secret: docker_username
989+
environment:
990+
PLUGIN_MIRROR:
991+
from_secret: plugin_mirror
992+
when:
993+
event:
994+
exclude:
995+
- pull_request
996+
---
997+
kind: pipeline
998+
name: docker-manifest-version
860999

8611000
platform:
8621001
os: linux
@@ -888,12 +1027,54 @@ steps:
8881027

8891028
trigger:
8901029
ref:
891-
- refs/heads/main
8921030
- "refs/tags/**"
8931031
event:
8941032
exclude:
8951033
- cron
8961034

1035+
depends_on:
1036+
- docker-linux-amd64-release-version
1037+
- docker-linux-arm64-release-version
1038+
1039+
---
1040+
kind: pipeline
1041+
name: docker-manifest
1042+
1043+
platform:
1044+
os: linux
1045+
arch: amd64
1046+
1047+
steps:
1048+
- name: manifest-rootless
1049+
pull: always
1050+
image: plugins/manifest
1051+
settings:
1052+
auto_tag: false
1053+
ignore_missing: true
1054+
spec: docker/manifest.rootless.tmpl
1055+
password:
1056+
from_secret: docker_password
1057+
username:
1058+
from_secret: docker_username
1059+
1060+
- name: manifest
1061+
image: plugins/manifest
1062+
settings:
1063+
auto_tag: false
1064+
ignore_missing: true
1065+
spec: docker/manifest.tmpl
1066+
password:
1067+
from_secret: docker_password
1068+
username:
1069+
from_secret: docker_username
1070+
1071+
trigger:
1072+
ref:
1073+
- refs/heads/main
1074+
event:
1075+
exclude:
1076+
- cron
1077+
8971078
depends_on:
8981079
- docker-linux-amd64-release
8991080
- docker-linux-arm64-release
@@ -927,7 +1108,10 @@ depends_on:
9271108
- release-latest
9281109
- docker-linux-amd64-release
9291110
- docker-linux-arm64-release
1111+
- docker-linux-amd64-release-version
1112+
- docker-linux-arm64-release-version
9301113
- docker-manifest
1114+
- docker-manifest-version
9311115
- docs
9321116

9331117
steps:

0 commit comments

Comments
 (0)