Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
452 commits
Select commit Hold shift + click to select a range
4121e2c
(maint) prep 1.28.1 release (#235)
Jan 27, 2023
4428a9b
fix: [PIE-7927]: Fix header value typo issue for BB OnPrem CSRF heade…
mohitg0795 Jan 30, 2023
ca3776c
Harness move (#237)
Feb 6, 2023
7df18e1
(feat) harness, add repo list
Feb 7, 2023
e62b23f
(feat) harness, add find repo
Feb 7, 2023
2066d10
fix, harness add blobid for update
Feb 7, 2023
8a67193
Merge pull request #241 from tphoney/harness_repo_calls
Feb 7, 2023
16252ff
(feat) harness, add webhook parsing
Feb 8, 2023
ff7deab
(feat) harness, add list webhooks
Feb 8, 2023
b8eea16
(feat) harness, add find hook
Feb 8, 2023
d6e3618
(feat) harness, add create / delete webhook
Feb 8, 2023
0c921db
Merge pull request #244 from tphoney/harness_webhooks
Feb 8, 2023
df6c516
fetch branch for bitbucket onprem
devkimittal Feb 7, 2023
8343d3e
Merge pull request #242 from drone/devmittal
devkimittal Feb 9, 2023
85d76f0
(feat) harness, add list commits / branches
Feb 8, 2023
decf0c3
Merge pull request #245 from tphoney/harness_commits_branches
Feb 9, 2023
2fd1410
(feat) harness, add user and compare branches
Feb 9, 2023
90aca8d
Merge pull request #246 from tphoney/git_users
Feb 9, 2023
f8d9958
(feat) harness, fix create branch, PR calls
Feb 9, 2023
cc7b846
(feat) harness, add get pr commits
Feb 10, 2023
3d6625f
(feat) harness, add create PR
Feb 10, 2023
eab2fbe
Merge pull request #247 from tphoney/harness_pr
Feb 10, 2023
643af2e
(fix) harness, webhook fixes
Feb 10, 2023
288a76a
Merge pull request #248 from tphoney/harness-webhook-fix
Feb 10, 2023
f8f38df
(feat) harness, add finduser
Feb 13, 2023
1ddface
Merge pull request #250 from tphoney/harness_user
Feb 13, 2023
a9651b1
(maint) prep for 1.29.0
Feb 15, 2023
20ab723
Merge pull request #251 from tphoney/prep1.29.0
Feb 15, 2023
971da4d
update list url to scopepath instead of path (#249)
eoinmcafee00 Feb 15, 2023
430a0a7
add required header for bitbucket server in commit API use-case to ha…
mohitg0795 Feb 15, 2023
2957cd3
release prep v1.29.1
eoinmcafee00 Feb 16, 2023
6c7a64c
Merge pull request #252 from mohitg0795/bitbucket-header-fix
Feb 16, 2023
bdac483
fix: [CI-6978] fixed gitlab webhook parse
devkimittal Mar 1, 2023
de2a54e
Merge pull request #253 from drone/devmittal
Mar 1, 2023
194f53f
fix: [CDS-67745]: fix find user email api for bitbucket in go-scm (#255)
shalini-agr Apr 28, 2023
5877f38
feat: [CDS-69341]: add find user email api for github in go-scm (#256)
shalini-agr May 15, 2023
ad21d44
(maint) stash/bitbucket on prem v5 add push webhook test (#257)
Jun 22, 2023
64a614c
[feat]: [CDS-73030]: Support for text based branch filtration
adivishy1 Jul 5, 2023
aefd6d1
[feat]: [CDS-73030]: added comments
adivishy1 Jul 5, 2023
3947016
Merge pull request #260 from adivishy1/master
rajatharanganath Jul 7, 2023
70cccf8
[feat]: [CDS-73572]: Support List Repo Live Search for all git providers
adivishy1 Jul 19, 2023
beec4da
Merge pull request #261 from adivishy1/master
rajatharanganath Jul 19, 2023
d86848a
fix: [CODE-727]: change to gitness from harness
abhinav-harness Aug 8, 2023
d363e65
fix: [CODE-727]: change to gitness from harness
abhinav-harness Aug 8, 2023
0f7857f
Implemented FindMembership method in organization service for gitea d…
cod3rboy Aug 10, 2023
cc305a6
[IAC-941]: PR comment creation for BitBucket (#265)
scottyw-harness Aug 14, 2023
6906e84
(maint) v1.31.0 release prep (#266)
Aug 15, 2023
1579795
Fix compare change api result for harness (#267)
shubham149 Aug 23, 2023
5098db8
Fix api name for fetching diff in harness driver (#268)
shubham149 Aug 29, 2023
8764ac0
Fix diff api response conversion for harness compareChange (#269)
shubham149 Aug 29, 2023
bec9362
[feat]: [CDS-75848]: Add new action type for github provider
rathodmeetsatish Aug 29, 2023
b2bdb6d
fix: [CODE-727]: change to gitness from harness
abhinav-harness Aug 30, 2023
c91f424
fix: [CODE-727]: change to gitness from harness
abhinav-harness Aug 30, 2023
8d6a8e3
fix: [CODE-727]: change to gitness from harness
abhinav-harness Aug 30, 2023
13e99fa
fix: [CODE-727]: change to gitness from harness
abhinav-harness Aug 30, 2023
e2d6b14
Merge pull request #264 from drone/abhinav/CODE-727
abhinav-harness Aug 31, 2023
84d449a
Add review ready action for gitlab
rathodmeetsatish Sep 7, 2023
2d64e5c
address comments
rathodmeetsatish Sep 11, 2023
7065a05
Merge pull request #270 from rathodmeetsatish/master
bradrydzewski Sep 11, 2023
e0123f7
(maint) release prep for 1.32.0
invalid-email-address Sep 12, 2023
0321acd
Merge pull request #272 from tphoney/prep1.32.0
Sep 12, 2023
13e5d45
(maint) clean integration testing for stash
invalid-email-address Sep 12, 2023
0392b78
Merge pull request #273 from tphoney/clean_testing
Sep 12, 2023
3ce608d
fix: Gitness get content missing query param
abhinav-harness Sep 27, 2023
6db398c
Merge pull request #275 from drone/abhinav/fix-gitness-get-content
Sep 27, 2023
b66c7e1
(maint) prep for 1.32.1
invalid-email-address Sep 27, 2023
60fa179
Merge pull request #276 from tphoney/prep1.32.1
Sep 27, 2023
3b21a0f
fix: Harness list commits api update as per new spec (#277)
abhinav-harness Oct 3, 2023
166ac92
fix: ref should have pullreq instead of pull for gitness (#278)
abhinav-harness Oct 11, 2023
6982ab8
feat: add more parsed data in harness webhook parsing (#279)
abhinav-harness Oct 11, 2023
a5db7f4
feat: Add pr_comment webhook for harness (#280)
abhinav-harness Oct 25, 2023
dc565fc
(maint) prep 1.33.0
invalid-email-address Oct 27, 2023
1050b3d
Merge pull request #281 from tphoney/prep1.33.0
Oct 27, 2023
a802ce1
feat: add support for branch update for gitness (#283)
abhinav-harness Dec 6, 2023
96d3e4f
(maint) v1.34.0 prep
invalid-email-address Dec 7, 2023
868dd43
Merge pull request #284 from tphoney/v1.34.0
Dec 7, 2023
05fe67f
fix: use opts for harness list commits
abhinav-harness Dec 8, 2023
e578c65
Merge pull request #286 from drone/abhinav/list-commit-harness
Dec 8, 2023
8ddff1f
(maint) v1.34.1 release prep
invalid-email-address Dec 8, 2023
e960969
Merge pull request #287 from tphoney/v1.34.1
Dec 8, 2023
e6556d1
feat: support more events in webhook parse in go-scm for gitness (#289)
abhinav-harness Dec 20, 2023
2877ffa
fix: ref should be branch name for harness code (#288)
abhinav-harness Dec 20, 2023
93042b7
feat: add pr link as coming from new webhook (#290)
abhinav-harness Dec 20, 2023
5a98a57
Update content.go
senjucanon2 Jan 8, 2024
b4f0d9b
Update content.go
senjucanon2 Jan 8, 2024
c1465b7
Update content.go
senjucanon2 Jan 9, 2024
64261e5
Update content.go
senjucanon2 Jan 9, 2024
de9fc72
Update content.go
senjucanon2 Jan 9, 2024
f637c3c
Update content.go
senjucanon2 Jan 9, 2024
6ee41cf
Update content.go
senjucanon2 Jan 9, 2024
9982b16
Update content.go
senjucanon2 Jan 9, 2024
da64c1c
Update content.go
senjucanon2 Jan 9, 2024
be2ecb2
Update content.go
senjucanon2 Jan 9, 2024
474ee0b
Added UTs
senjucanon2 Jan 10, 2024
18b3b41
Merge pull request #291 from senjucanon2/master
mohitg0795 Jan 11, 2024
f5e5a75
set query params for pagination in bitbucket server
raghavharness Feb 6, 2024
8a56783
set query params for pagination in bitbucket server
raghavharness Feb 6, 2024
4f7b529
set query params for pagination in bitbucket server
raghavharness Feb 6, 2024
294a5aa
Merge pull request #293 from drone/stash_pr_commits_pagination
raghavharness Feb 7, 2024
9d3ec6b
feat: change as per new contract of webhook in harness code (#294)
abhinav-harness Feb 9, 2024
91387e9
Add harness comment (#295)
nassergonzalez Feb 21, 2024
290c4aa
feat: follow new api convention (#296)
abhinav-harness Mar 1, 2024
fcc8453
fix: tag webhook parse for code (#297)
abhinav-harness Mar 12, 2024
95e7cdc
Update util.go
senjucanon2 Mar 19, 2024
44a195c
Update util.go
senjucanon2 Mar 19, 2024
b43614d
Update util.go
senjucanon2 Mar 19, 2024
55f6df5
Update util.go
senjucanon2 Mar 19, 2024
68b549a
Update util.go
senjucanon2 Mar 19, 2024
d2e8e4e
Update util.go
senjucanon2 Mar 19, 2024
b23de2c
Update util.go
senjucanon2 Mar 20, 2024
1eb7655
Update util.go
senjucanon2 Mar 20, 2024
39d795f
Update util.go
senjucanon2 Mar 20, 2024
dcd4b47
Update util.go
senjucanon2 Mar 20, 2024
c06f5b7
Update util.go
senjucanon2 Mar 20, 2024
f8119f1
Update util.go
senjucanon2 Mar 20, 2024
594c68b
Update util.go
senjucanon2 Mar 20, 2024
142ee30
feat: pr harness parse all fields (#302)
abhinav-harness Mar 20, 2024
6089476
Merge pull request #301 from senjucanon2/master
adivishy1 Mar 25, 2024
845e445
Update .drone.yml
bradrydzewski Apr 16, 2024
1255b15
feat: fixed harness UTs based on new API convention (#303)
hitesharinga Apr 17, 2024
bf93d79
fix: [CODE-1870]: adding cloneUrl to the convertRepository method for…
karansaraswat19 May 6, 2024
9de001d
fixed tests
karansaraswat19 May 6, 2024
7d40648
[feat]: [CI-12179]: Add support for gitlab basesha
smjt-h May 6, 2024
0a0caf1
Merge pull request #304 from drone/CODE-1870
karansaraswat19 May 6, 2024
1cd57db
add diff_refs json
smjt-h May 8, 2024
9e8b4ca
Merge pull request #306 from drone/gitlabsha
smjt-h May 9, 2024
9b7f437
feat: [CODE-1907]: Fix go-scm azure driver for getting namespace in t…
karansaraswat19 May 15, 2024
6e98856
feat: [IAC-1930]: fixed ListTags
vitsafronovici May 28, 2024
34f93ff
fixed tests
vitsafronovici May 30, 2024
a2e3a61
fixed notes
vitsafronovici May 30, 2024
bd00040
fixed notes
vitsafronovici May 30, 2024
99ca5aa
removed println
vitsafronovici May 30, 2024
9d07172
fixed notes
vitsafronovici May 30, 2024
99568c3
Merge pull request #310 from drone/IAC-1930
bradrydzewski May 30, 2024
fc4336b
feat: add list namespace for repos (#309)
abhinav-harness Jun 6, 2024
2e2589d
fix query params for List PRs API call for stash provider for paginat…
karansaraswat19 Jun 17, 2024
77eb503
Merge pull request #312 from drone/CODE-2023
karansaraswat19 Jun 18, 2024
ced9941
feat: [IAC-2101]: added ListTags for Harness Code
vitsafronovici Jun 21, 2024
57ce083
removed prints
vitsafronovici Jun 21, 2024
15e91da
Merge pull request #313 from drone/IAC-2101
vitsafronovici Jun 21, 2024
7f588f4
fix unmarshalling array into Go value of type github.searchRepository…
karansaraswat19 Jun 25, 2024
b8beb99
Merge pull request #314 from drone/ks/CODE-2043
karansaraswat19 Jun 25, 2024
8ad6b66
setting azure devops repo visibility based on the project's visibility
karansaraswat19 Jul 5, 2024
92b5486
fixed test
karansaraswat19 Jul 5, 2024
8df99c4
fixed TestRepositoryFind for azure driver
karansaraswat19 Jul 5, 2024
ecdc44a
Merge pull request #315 from drone/ks/CODE-2072
karansaraswat19 Jul 6, 2024
0d2baa2
fix: [IAC-2201]: fixed looping endless pagination
vitsafronovici Jul 16, 2024
8aca10b
adjust
vitsafronovici Jul 16, 2024
f3725ef
removed logs
vitsafronovici Jul 16, 2024
be67dd5
fixed UT
vitsafronovici Jul 16, 2024
efdcec6
Merge pull request #316 from drone/IAC-2201
vitsafronovici Jul 17, 2024
f23ffd9
add support for harness error message
johannesHarness Jul 25, 2024
4c976e1
Merge pull request #317 from drone/jobatzil/misc/harness_error
karansaraswat19 Jul 29, 2024
845b0c5
Add draft boolean for github and gitlab PRs
karansaraswat19 Aug 2, 2024
0969f30
added for azure devops too
karansaraswat19 Aug 2, 2024
2e4fa5a
Merge pull request #318 from drone/ks/draft-prs
karansaraswat19 Aug 3, 2024
122a705
Update azure.go
senjucanon2 Aug 6, 2024
0116853
Update azure_test.go
senjucanon2 Aug 7, 2024
0ad4451
Merge pull request #319 from senjucanon2/master
mohitg0795 Aug 7, 2024
1eb6efe
feat: [CI-13826]: add check for bitbucket tag slash
smjt-h Aug 22, 2024
48eec0e
feat: [CI-13826]: add UTs
smjt-h Aug 27, 2024
44424ac
Merge pull request #320 from drone/bittagfix
smjt-h Aug 27, 2024
756f053
feat: bypass branch rules as default for file ops (#321)
abhinav-harness Aug 29, 2024
607a215
feat: bypass branch rules as default for create branch ops (#323)
abhinav-harness Sep 18, 2024
63abea2
feat:[CDS-101592]: Add support for parsing Gitlab System Hooks (#324)
puthrayaharness Oct 7, 2024
f42f711
Update pr.go
atefehmohseni Nov 19, 2024
ad49c0a
Update prs.json.golden
atefehmohseni Nov 19, 2024
494c7c7
Update pr.json.golden
atefehmohseni Nov 19, 2024
2cb72e1
Update pr.go
atefehmohseni Nov 19, 2024
8f57b64
Update pr.json.golden
atefehmohseni Nov 19, 2024
44d28c7
Update prs.json.golden
atefehmohseni Nov 19, 2024
a394f0d
Update pr.go
atefehmohseni Nov 19, 2024
de8ab92
Update pr.json.golden
atefehmohseni Nov 19, 2024
587bff3
Update prs.json.golden
atefehmohseni Nov 19, 2024
df65124
gofmt
atefehmohseni Nov 19, 2024
7dc2e34
Merge pull request #326 from drone/atmsn/bb_prauthor
bradrydzewski Nov 19, 2024
d5ed63c
fix: pass gitlab mergerequest param via json body (#322)
olblak Nov 21, 2024
31d79c4
feat: [PIPE-23808]: integrate author details with the harness commits…
karansaraswat19 Dec 2, 2024
d9147fb
Merge pull request #328 from drone/PIPE-23808
karansaraswat19 Dec 3, 2024
2826df1
change ref to query escape
raghavharness Feb 19, 2025
9308066
change ref to query escape
raghavharness Feb 19, 2025
feb699b
add tag support for content list api azure
raghavharness Feb 19, 2025
a363038
add tag support for content list api azure
raghavharness Feb 19, 2025
d6b7671
add tag support for content list api azure
raghavharness Feb 19, 2025
6a6fa10
add tag support for content list api azure
raghavharness Feb 19, 2025
4bcbe7b
Merge pull request #329 from drone/CI-16298
raghavharness Feb 19, 2025
e91781e
feat: [PIPE-25660]: Handling for pipeline hook (#330)
shivamnegi94 Apr 10, 2025
2a616ab
feat: add new field of commit link for HC webhooks (#331)
abhinav-harness Apr 23, 2025
ecd9254
feat: Rename .drone.yml to .drone.yml.bak (#335)
Ompragash Apr 23, 2025
a515870
feat: new hc webhook fields (#337)
abhinav-harness May 1, 2025
3a9d633
feat: Add ListTags to Azure (#338)
nassergonzalez Jul 11, 2025
6ba5ff5
feat: [PIPE-28869]: Added support for pull_request_review
shivamnegi94 Jul 28, 2025
cbfe7cb
feat: [PIPE-28869]: Added support for pull_request_review
shivamnegi94 Jul 28, 2025
af032bb
fix: [PIPE-28862]: Fix for Expression resolve and detail URL
shivamnegi94 Jul 29, 2025
94cbf99
feat: [PIPE-28869]: Added support for pull_request_review
shivamnegi94 Jul 29, 2025
352d8aa
Merge pull request #339 from drone/PIPE-28869
shivamnegi94 Jul 30, 2025
b2de1d5
fix: [CDE-986]: Adding support for search in ListV2 API in harness dr…
Aug 11, 2025
98b7432
Merge pull request #341 from drone/CDE-986
dhruv-harness Aug 11, 2025
ebf056b
fix: [CDE-997]: Fixing ListBranchesV2 method for harness driver.
Aug 13, 2025
bac4f9e
fix: [CDE-997]: Updating test.
Aug 13, 2025
15eef26
Merge pull request #342 from drone/CDE-997
dhruv-harness Aug 13, 2025
76c520f
feat: [PIPE-29374]: make author/committer fields optional for GitHub …
ritek01 Aug 21, 2025
8097ac1
feat: [PIPE-29374]: add support for GitHub App signed commits with em…
ritek01 Aug 21, 2025
7cf2ec0
docs: [PIPE-29374]: add GitHub App signed commits support and documen…
ritek01 Aug 21, 2025
c0ad4e7
Merge pull request #343 from drone/ritek/PIPE-29374
mohitg0795 Aug 21, 2025
6d88ba2
feat: [CODE-4389]: Fix double commit messages in HCR backed pipeline …
karansaraswat19 Aug 30, 2025
0efcc14
Merge pull request #344 from drone/CODE-4389
karansaraswat19 Sep 9, 2025
5e9655f
feat: [CI-19242]: Adding go-scm fix for getting started repo fix.
DevanshMathur19 Oct 31, 2025
4b9ccaa
Merge pull request #346 from drone/CI-19242
DevanshMathur19 Nov 4, 2025
3e0fb7d
fix: prevent the client from un-escaping the encoded path parameters …
alebuh Dec 3, 2025
5750961
Merge pull request #347 from drone/fix/github-path-escaping
alebuh Dec 4, 2025
75ada98
bitbucket closing the PR
Dhairya-Dudhatra Dec 14, 2025
c595594
feat: [PIPE-31833]: Added code to return the list of files for FindCo…
adivishy1 Feb 2, 2026
b5b2c7c
feat: [PIPE-31833]: uts fixed
adivishy1 Feb 2, 2026
41cf654
Merge pull request #349 from adivishy1/master
adivishy1 Feb 4, 2026
352bd9e
feat: [PIPE-32185]: handle deprecated cross-workspace API endpoints
ritek01 Feb 13, 2026
eb4d1b5
feat: [PIPE-32185]: Add UT's
ritek01 Feb 13, 2026
d21cfbf
feat: [PIPE-32185]: update code and fixed UT's
ritek01 Feb 13, 2026
857cdf1
feat: [PIPE-32185]: Addressed comments
ritek01 Feb 14, 2026
0538ac9
feat: [PIPE-32185]: Addressed comments
ritek01 Feb 16, 2026
df16c0d
feat: [PIPE-32185]: Implement workspace-aware pagination for reposito…
ritek01 Feb 16, 2026
131abdb
refactor: Update workspace sorting tests and improve pagination logic
ritek01 Feb 16, 2026
dce102e
refactor: Improve repository permission fetching and pagination logic
ritek01 Feb 16, 2026
7ca2dec
feat: Add comprehensive tests for repository permissions and listing …
ritek01 Feb 16, 2026
0f012cc
feat: Enhance repository listing methods with URL support for direct …
ritek01 Feb 16, 2026
0a01f9f
refactor: Rename and enhance repository fetching methods for clarity …
ritek01 Feb 16, 2026
3ecb23a
refactor: Update test cases and method names for clarity in paginatio…
ritek01 Feb 16, 2026
b2db0cc
Merge pull request #351 from drone/ritek/PIPE-32185-new
ritek01 Feb 16, 2026
70d9117
scm/driver/bitbucket: fix multiple dropped errors
alrs Feb 17, 2026
c206c21
feat: [CODE-5172] include subgroups repos in ListV2 for Gitlab (#100001)
atefehmohseni Mar 25, 2026
cdabb9c
fix: use non-admin endpoint for repository permission checks
userbig Apr 14, 2026
3a90520
Merge pull request #352 from alrs/bitbucket-errs
ritek01 Apr 15, 2026
9aee7bd
fix: [PIPE-32774]: Surface Bitbucket 429 rate-limit errors instead of…
ritek01 Apr 15, 2026
a190901
Merge pull request #356 from userbig/fix/findperms-use-role-based-end…
ritek01 Apr 18, 2026
3805ae0
fix: [PIPE-34150]: Handle ISO 8601 date strings in Bitbucket DC stash…
ritek01 May 25, 2026
b95bf49
feat: [PIPE-34310]: Fix repo name when subgroups in gitlab (#100005)
ManasAsati Jun 11, 2026
00dedde
feat:[STO-11679]:Added create comment API changes (#100004)
yash-harness Jun 14, 2026
1aa483b
feat: [CODE-5421] add normalized CheckHook for GitHub check_run + sta…
anurag-harness Jun 16, 2026
c956cc8
feat: [CDS-125782]: Propagate size and encoding fields from GitHub Co…
lokeshbihani9 Jun 17, 2026
a26bf4f
Merge pull request #348 from Dhairya-Dudhatra/bitbucket/pr-close
ritek01 Jun 17, 2026
66cedce
fix: [PIPE-32312]: add Bitbucket workspace extraction support
ritek01 Feb 22, 2026
62c70ff
Merge remote-tracking branch 'github/master'
ritek01 Jun 17, 2026
0fc9381
Revert "fix: [PIPE-32312]: add Bitbucket workspace extraction support"
ritek01 Jun 17, 2026
6440342
feat: [IAC-7349]: Support comment list and delete for BitBucket and H…
alebuh Jun 22, 2026
6c46d58
feat: [PIPE-35339]: Implement Matching Refs API in ListBranchesV2 for…
neerudunikhil1412 Jun 26, 2026
62b6572
fix:[PIPE-35486]: Add codeowners for go-scm (#100013)
bhumijgupta Jul 1, 2026
28b7452
fix:[PIPE-35486]: Add path in codeowner file (#100015)
bhumijgupta Jul 1, 2026
ec480fc
feat: [STO-11975]: Implemented review comment (#100011)
yash-harness Jul 9, 2026
741a60b
feat:[STO-11975]:Added PR file Diff API (#100012)
yash-harness Jul 17, 2026
1ed1c9d
feat:[STO-12110]: Added Hunk Header in diff for stash (#100017)
yash-harness Jul 24, 2026
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
  •  
  •  
  •  
15 changes: 0 additions & 15 deletions .drone.yml

This file was deleted.

56 changes: 56 additions & 0 deletions .drone.yml.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
kind: pipeline
type: vm
name: default

pool:
use: ubuntu

steps:
- name: vet
image: golang:1.22
commands:
- go vet ./...
volumes:
- name: gopath
path: /go
depends_on:
- clone

- name: test
image: golang:1.22
commands:
- go test -cover ./...
volumes:
- name: gopath
path: /go
depends_on:
- vet

- name: check go.mod is up to date
image: golang:1.22
commands:
- cp go.mod go.mod.bak
- go mod tidy
- diff go.mod go.mod.bak || (echo "go.mod is not up to date" && exit 1)
volumes:
- name: gopath
path: /go
depends_on:
- vet

- name: golangci-lint
image: golangci/golangci-lint:v1.48-alpine
commands:
- golangci-lint run --timeout 500s --new-from-rev=HEAD~
volumes:
- name: gopath
path: /go
depends_on:
- clone

volumes:
- name: gopath
temp: {}

...
1 change: 1 addition & 0 deletions .github_changelog_generator
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
since-tag=v1.15.1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
*.out
_*.md
.vscode
.idea
cmd
51 changes: 51 additions & 0 deletions .golangci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"linters": {
"disable-all": true,
"enable": [
"govet",
"revive",
"goimports",
"misspell",
"ineffassign",
"gofmt"
]
},
"linters-settings": {
"govet": {
"check-shadowing": false
},
"gofmt": {
"simplify": false
}
},
"run": {
"skip-dirs": [
"vendor",
"tests",
"pkg/client",
"pkg/generated"
],
"tests": false,
"timeout": "10m"
},
"issues": {
"exclude-rules": [
{
"linters": "govet",
"text": "^(nilness|structtag)"
},
{
"linters": "revive",
"text": "should have comment"
},
{
"linters": "revive",
"text": "should be of the form"
},
{
"linters": "typecheck",
"text": "imported but not used as apierrors"
}
]
}
}
1 change: 1 addition & 0 deletions .harness/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* mohit.garg@harness.io adithya.viswanathan@harness.io bhumij.gupta@harness.io
Loading