Skip to content

Commit a4b40bd

Browse files
committed
remove changes added to some files by mistake
Signed-off-by: Mohamed Sekour <[email protected]>
1 parent fb9ea68 commit a4b40bd

File tree

3 files changed

+2
-75
lines changed

3 files changed

+2
-75
lines changed

.drone.yml

Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,67 +1061,6 @@ steps:
10611061
exclude:
10621062
- pull_request
10631063

1064-
---
1065-
kind: pipeline
1066-
name: docker-linux-amd64-release-branch
1067-
1068-
platform:
1069-
os: linux
1070-
arch: amd64
1071-
1072-
depends_on:
1073-
- testing-amd64
1074-
- testing-arm64
1075-
1076-
trigger:
1077-
ref:
1078-
- "refs/heads/release/v*"
1079-
event:
1080-
exclude:
1081-
- cron
1082-
1083-
steps:
1084-
- name: fetch-tags
1085-
image: docker:git
1086-
commands:
1087-
- git fetch --tags --force
1088-
1089-
- name: publish
1090-
pull: always
1091-
image: techknowlogick/drone-docker:latest
1092-
settings:
1093-
auto_tag: false
1094-
tags: ${DRONE_BRANCH##release/v}-dev-linux-amd64
1095-
repo: gitea/gitea
1096-
build_args:
1097-
- GOPROXY=https://goproxy.cn
1098-
password:
1099-
from_secret: docker_password
1100-
username:
1101-
from_secret: docker_username
1102-
when:
1103-
event:
1104-
exclude:
1105-
- pull_request
1106-
1107-
- name: publish-rootless
1108-
image: techknowlogick/drone-docker:latest
1109-
settings:
1110-
dockerfile: Dockerfile.rootless
1111-
auto_tag: false
1112-
tags: ${DRONE_BRANCH##release/v}-dev-linux-amd64-rootless
1113-
repo: gitea/gitea
1114-
build_args:
1115-
- GOPROXY=https://goproxy.cn
1116-
password:
1117-
from_secret: docker_password
1118-
username:
1119-
from_secret: docker_username
1120-
when:
1121-
event:
1122-
exclude:
1123-
- pull_request
1124-
11251064
---
11261065
kind: pipeline
11271066
type: docker
@@ -1485,4 +1424,4 @@ steps:
14851424
webhook_id:
14861425
from_secret: discord_webhook_id
14871426
webhook_token:
1488-
from_secret: discord_webhook_token
1427+
from_secret: discord_webhook_token

integrations/git_helper_for_declarative_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,6 @@ func doPartialGitClone(dstLocalPath string, u *url.URL) func(*testing.T) {
117117
}
118118
}
119119

120-
func doPartialGitClone(dstLocalPath string, u *url.URL) func(*testing.T) {
121-
return func(t *testing.T) {
122-
assert.NoError(t, git.CloneWithArgs(context.Background(), u.String(), dstLocalPath, allowLFSFilters(), git.CloneRepoOptions{
123-
Filter: "blob:none",
124-
}))
125-
exist, err := util.IsExist(filepath.Join(dstLocalPath, "README.md"))
126-
assert.NoError(t, err)
127-
assert.True(t, exist)
128-
}
129-
}
130-
131120
func doGitCloneFail(u *url.URL) func(*testing.T) {
132121
return func(t *testing.T) {
133122
tmpDir, err := os.MkdirTemp("", "doGitCloneFail")

package-lock.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)