158 Commits

Author SHA1 Message Date
Ompragash Viswanathan 21cc22ed18 Update impl.go 2025-03-03 20:41:15 +05:30
Ompragash Viswanathan f25f02a29a Update impl.go 2025-03-03 20:39:52 +05:30
Ompragash Viswanathan a1d5647bf0 Update impl_test.go 2025-03-03 20:15:04 +05:30
Ompragash Viswanathan 365132343a Update .drone.yml 2025-03-03 20:10:26 +05:30
Ompragash Viswanathan 2547e83fde Update impl_test.go 2025-03-03 20:07:27 +05:30
Ompragash Viswanathan 70f6e0d02c Update .drone.yml 2025-03-03 19:54:08 +05:30
Ompragash Viswanathan df4752b237 Update .drone.yml 2025-03-03 19:51:51 +05:30
Ompragash Viswanathan 67d1149d3d Update .drone.yml 2025-03-03 19:47:19 +05:30
FSJ 75327df076 Updating validation to ignore default ports as well as a flag for skipping the registry validation. (#68)
* initial attempt at adding in default port agnostic configs for validation with a boolean to disable

* first run at tests

* more tests and fixing an error in logic in the impl file

* adding in extra package.jsons for testing

* adding in more tests to cover some more in depth possible variations

* Changing to a cleaner code and logic for the comparisons

* typo fix and a cleanup of the isNilOrStandardSchemePort logic

* making the new env var and settings name be consistent with the cli flag; formatting

* Adding in a README section for the new env var; as well as an example without said env var
2025-03-03 19:42:02 +05:30
Dan Wilson 643c53afa5 Merge pull request #67 from tphoney/remove_always-auth
(fix) remove deprecated always-auth npm config
2022-12-20 10:14:44 +00:00
TP Honey b4ed9cd8a3 (fix) remove deprecated always-auth npm config 2022-12-20 10:10:46 +00:00
TP Honey efce6761d0 Merge pull request #65 from tphoney/harness_move
(maint) move to harness.drone.io
2022-12-15 13:18:37 +00:00
TP Honey 0a3ecfe895 (maint) move to harness.drone.io 2022-12-15 13:07:58 +00:00
Don Olmstead 8f610a8a9f Update build to run golangci (#63)
Use golang:1.18 for the build/test images.

Fix all linter errors.

Update go.mod to 1.16 to support os.ReadFile, os.WriteFile. Update libraries.
2022-06-10 11:19:39 -07:00
Sean Ryan edd496b5a8 Remove standard http ports from registry URL when writing authToken (#62) 2022-06-09 11:12:45 -07:00
Don Olmstead 17f54dbb9b Remove obsolete steps and pipelines 2022-05-11 08:56:49 -07:00
Mehran Poursadeghi cb8d56a12e Change whoami command from required to optional (#60) 2022-05-03 09:50:19 -07:00
Don 827c3d9712 Merge pull request #56 from drone-plugins/update-template
Update to latest boilr template
2020-09-15 06:46:04 -07:00
Don ac6647a10a Update to latest boilr template 2020-09-14 20:22:20 -07:00
Don 749f7ab8b2 Merge pull request #54 from drone-plugins/v2-again
Update to use drone-plugin-lib
2020-06-20 11:15:21 -07:00
Don 4e0fd404d7 Update to latest boilr template 2020-06-15 09:40:35 -07:00
Don 63fbcfc1af Fix error string lint 2020-06-04 13:08:40 -07:00
Don 4ac099f9db Update to latest boilr template 2020-06-04 13:00:20 -07:00
Don ef2e230ef0 Formating 2019-12-18 16:37:39 -08:00
Don 14fad40a1d Update go modules 2019-12-18 16:35:57 -08:00
Don b5b2b7d005 Migrate plugin 2019-12-18 16:34:33 -08:00
Don 09fe408713 Add Starlark support 2019-12-18 16:22:44 -08:00
Don 3ca6af50fe Remove main.go 2019-12-18 16:20:22 -08:00
Don 5fdbed64ed Update main.go to latest boilr-plugin 2019-12-18 16:19:09 -08:00
Don 35966e1092 Move plugin tests 2019-12-18 16:11:56 -08:00
Don ed46e39b10 Add Settings 2019-12-18 16:04:13 -08:00
Don 865dc14eac Add boilr template stubs 2019-12-18 15:59:48 -08:00
Don c93974e14a Update Dockerfiles from boilr template 2019-12-18 15:58:18 -08:00
Don 971c9c0eb6 Update gitignore 2019-12-18 15:57:01 -08:00
Brad Rydzewski df87717ac7 Merge pull request #52 from tlee21/master
Fix for default case of using GlobalRegistry with a token
2019-10-29 09:47:37 -07:00
Brad Rydzewski 987587a879 Use HasSuffix 2019-10-29 09:43:47 -07:00
tlee21 c6df1b6579 Append a / to registries that do not end in one 2019-10-29 15:23:17 +08:00
tlee21 183558183a Fix for default case of using GlobalRegistry 2019-10-29 14:35:16 +08:00
Don a0c0610666 Merge pull request #50 from sclm/support-paths
Allow for Hosts to have paths with tokens
2019-10-28 14:44:34 -07:00
Stephen McMillen 416f0a47fa Allow for Hosts to have paths with tokens
This changes the config from only passing the host through to allowing for the inclusion of a path with it.
2019-10-28 16:56:09 -04:00
Thomas Boerger 3b3994b076 Merge pull request #48 from drone-plugins/improve-config
Drop renovate, proper version definition, unified jsonnet config
2019-03-27 22:45:07 +01:00
Thomas Boerger c38de87e94 Fix microbadger settings and enable auto_tag for manifest 2019-03-27 22:25:05 +01:00
Thomas Boerger 19329daaae Fix manifest template helper 2019-02-25 22:20:41 +01:00
Thomas Boerger 0f07dedb66 Drop import of unused fmt package 2019-02-18 23:47:41 +01:00
Thomas Boerger dd00a918ba Unified documentation and readme 2019-02-15 11:58:36 +01:00
Thomas Boerger a7b22ec590 Add a reliable version and integrate libsonnet definition 2019-02-15 00:06:24 +01:00
Thomas Boerger d82861b442 Drop renovate config, it is simply too noisy 2019-02-14 20:14:15 +01:00
Thomas Boerger d301ea66fb Merge pull request #47 from drone-plugins/upgrade-drone
Upgrade and switch to Drone 1.0.0
2019-01-23 11:02:16 +01:00
Thomas Boerger 444389bfd9 Execute built binary as simple test 2019-01-22 23:13:21 +01:00
Thomas Boerger 2257dcc4ec Add some basic issue template content 2019-01-21 21:02:12 +01:00