Commit Graph

94 Commits

Author SHA1 Message Date
nemunaire 3b2cbc4727 Use golang 1.20 in all places
continuous-integration/drone/push Build is passing Details
2024-03-02 22:03:49 +01:00
nemunaire 6279d543d7 Upgrade to 0.121.0 version
continuous-integration/drone/push Build is failing Details
2024-01-12 13:14:27 +01:00
nemunaire 4424ad0e9f Use gcompat instread of deprecated libc6-compat in alpine edge
continuous-integration/drone/push Build is passing Details
2024-01-05 11:48:44 +01:00
nemunaire 83bf0e890f Switch to my own infra
continuous-integration/drone/push Build is passing Details
2023-12-03 18:37:00 +01:00
AzurCrystal e16f04fcf3 add args for dockerfile & update go/hugo versions
- Replaced hard-coded golang version and hugo version with GO_VERSION
    and HUGO_VERSION args.
  - Update builtin HUGO_VERSION from 0.70.0 to 0.101.0.
  - Update GO_VERSION from 1.14 to 1.18.3.

replace libstdc++ source from v3.15 to edge

  hugo-extended compiled by go1.18.3 needs libstdc++ v11.2.1 provided by
  the alpine edge repo.
  - Changed repository of apk add command in dockerfiles.
2022-08-03 12:09:58 +08:00
AzurCrystal 748a401cec Update README.md 2022-08-03 12:09:58 +08:00
TP Honey 84b352b4ec remove microbadger from build. 2022-08-03 12:09:58 +08:00
AzurCrystal c10a8fc610 use go 1.18.3 on all places
As the docker built-in hugo and drone plugin uses go 1.18.3 as
  dependence, drone.yml was modified to use go 1.18.3 either.

  - All golang/1.14 was replaced by golang/1.18.3.
2022-08-03 12:09:58 +08:00
AzurCrystal f692e3cc44 update go.mod
- This is auto generated by vscode GO plugin.
    - Updated urfave/cli from v1.20.0 to v1.22.9.
    - Removed unused pkg/errors.
2022-08-03 12:09:58 +08:00
AzurCrystal 5bb893c04e remove drone-hugo validate arg
The dependence of drone-hugo validate, hugo check, was removed since v0.92.0.
  As the hugo check does nothing in fact, a removal of command validate
  could be considered.

  - removed command validate in main.go and plugin_test.go
  - removed unused github.com/pkg/errors in plugin_test.go
2022-08-03 00:12:34 +08:00
TP Honey 3e380a7ddf
Update README.md 2022-08-01 13:40:23 +01:00
Thomas Boerger 054249e93a
Merge pull request #27 from drone-plugins/refactor-and-fix
Refactor, fixes and latest Hugo version
2020-05-15 07:57:30 +02:00
Thomas Boerger 312a870f0b
Use Go 1.14 on all places 2020-05-15 02:29:14 +02:00
Thomas Boerger f723940bc7
Make vet and testing happy 2020-05-15 02:25:23 +02:00
Thomas Boerger df53de2dfa
Upgrade bundled Hugo to latest version
As the bundled Hugo version haven't been updated for ages I have added
the latest released version now as well.
2020-05-15 02:18:22 +02:00
Thomas Boerger b4fa179180
Compile Hugo on our own, fix extended version and refactoring
Since the extended version is only available for amd64 I have started to
build Hugo on our own in a multi stage Dockerfile. Now we are installing
both binaries, regular hugo and extended hugo, bundled into the Docker
image.

Beside that the download for regular hugo and extended hugo should also
be more solid now.

After that I have also added more aliases for the environment variables.
As mentioned on some GitHub issue we are also installing more required
packages for a downloaded extended Hugo version as this relies on
libc6-compat and libstdc++.
2020-05-15 02:13:51 +02:00
Thomas Boerger 8a8184da98
Merge pull request #22 from fbrinker/fix-hugo-extended-version
#21 Fix empty version in download with buildInVersion fallback
2019-11-21 09:09:21 +01:00
Florian Brinker d2fa5f5ce0 Fix empty version in download with buildInVersion fallback 2019-11-13 12:59:43 +01:00
Thomas Boerger 4a3d5c25e1
Merge pull request #20 from sofixa/master
bump Hugo version to 0.58.3
2019-10-21 13:37:01 +02:00
Adrian Todorov df2b110d75 bump Hugo version to 0.58.3 2019-10-21 11:03:07 +02:00
Thomas Boerger a85b540749
Merge pull request #19 from drone-plugins/pr_18
Follow up:  Added the hugoExtended (#18)
2019-07-08 09:55:27 +02:00
Robert Kaussow ca074536f9 fix env var naming 2019-07-07 21:23:02 +02:00
Jens True 42ca5d4410 Removed VS code folder 2019-04-25 14:17:05 +02:00
Jens True 1f5cdffd0b Added the hugoExtended 2019-04-25 10:48:42 +02:00
Thomas Boerger e635243b54
Fix trimPrefix within manifest 2019-02-19 11:39:07 +01:00
Thomas Boerger 46d9dc135d
Merge pull request #17 from drone-plugins/improve-config
Drop renovate, proper version definition, unified jsonnet config
2019-02-19 00:38:00 +01:00
Thomas Boerger 189358b8ff
Fix imports 2019-02-18 23:42:01 +01:00
Thomas Boerger 33d6f77854
Unified documentation and readme 2019-02-15 11:58:37 +01:00
Thomas Boerger 3526b57b8b
Update windows references within manifest 2019-02-15 11:58:04 +01:00
Thomas Boerger d2c5ed8ad7
Move main package to top directory as the other plugins 2019-02-15 11:54:41 +01:00
Thomas Boerger b5e1a12f60
Add a reliable version and integrate libsonnet definition 2019-02-14 23:53:36 +01:00
Thomas Boerger 3516e4fd61
Drop renovate config, it is simply too noisy 2019-02-14 20:14:16 +01:00
Thomas Boerger 8ee3015a48
Merge pull request #16 from drone-plugins/upgrade-drone
Upgrade and switch to Drone 1.0.0
2019-01-23 11:32:19 +01:00
Thomas Boerger 0edfc64715
Build binary from right folder 2019-01-23 11:30:36 +01:00
Thomas Boerger 8d6fcd6b8c
Execute built binary as simple test 2019-01-22 23:13:38 +01:00
Thomas Boerger 2fe2ff099c
Add some basic issue template content 2019-01-21 21:02:13 +01:00
Thomas Boerger 8300d12b98
Add probot settings config 2019-01-21 20:58:27 +01:00
Thomas Boerger dbdc10cdbe
Remove duplicated badge 2019-01-21 09:33:09 +01:00
Thomas Boerger 61958d3988
Fix duplicated step names 2019-01-21 01:14:24 +01:00
Thomas Boerger 97fcdbfdc8
Update badges within readme 2019-01-21 00:19:20 +01:00
Thomas Boerger 05ae0673d0
Drop drone shell build script 2019-01-21 00:18:40 +01:00
Thomas Boerger a8e12785e6
Migrate configs to drone 1.0.0 and drop appveyor 2019-01-20 23:52:03 +01:00
Thomas Boerger 47c0f87fa7
Add manifest template to docker folder 2019-01-20 22:21:28 +01:00
Thomas Boerger b193f2e575
Move dockerfiles to docker folder 2019-01-20 22:20:06 +01:00
Thomas Boerger 747ef598b5
Merge pull request #15 from drone-plugins/renovate/configure
Configure Renovate
2019-01-19 11:05:17 +01:00
Thomas Boerger c46ecdeaaa
Update renovate.json 2019-01-19 10:57:40 +01:00
Renovate Bot 8fe203ebf0
Add renovate.json 2019-01-19 03:43:20 +00:00
techknowlogick b68e3d07c6
Merge pull request #14 from drone-plugins/module
feat(vendor): switch dep to go module
2019-01-09 10:04:15 -05:00
Bo-Yi Wu 9b5c18bcdd feat(vendor): switch dep to go module
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-01-09 15:18:15 +08:00
techknowlogick 9aee76b213 add cacheDir flag (#11)
golang version of #7 

-----
This enables setting a custom cache directory for Hugo. Some caching
plugins (e.g. http://plugins.drone.io/drillster/drone-volume-cache/)
require the directories to be cached to be located inside the workspace.
2018-10-29 15:45:36 +08:00