Commit graph

4319 commits

Author SHA1 Message Date
6543
9a57602174
Pipeline compiler should not alter specified image (#1005)
* pipeline compiler should not alter specifyed image

adress #1003
2022-08-26 20:00:11 +02:00
6543
f21d854114
Move away from deprecated go funcs (#1123) 2022-08-25 08:39:19 +02:00
6543
d3eea72663
Bump deps (#1125)
* upgrade to codeberg.org/6543/go-yaml2json v0.2.1

* upgraded github.com/bmatcuk/doublestar/v4 v4.0.2 => v4.2.0

* upgraded github.com/docker/cli v20.10.14+incompatible => v20.10.17+incompatible

* upgraded github.com/docker/docker v20.10.14+incompatible => v20.10.17+incompatible

* upgraded github.com/gin-gonic/gin v1.7.7 => v1.8.1

* upgraded github.com/golang-jwt/jwt/v4 v4.4.1 => v4.4.2

* upgraded github.com/moby/moby v20.10.14+incompatible => v20.10.17+incompatible

* upgraded github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 => v0.0.0-20220808134915-39b0c02b01ae

* upgraded github.com/lafriks/ttlcache/v3 v3.1.0 => v3.2.0

* upgraded github.com/mattn/go-sqlite3 v1.14.12 => v1.14.15

* upgraded github.com/lib/pq v1.10.5 => v1.10.6

* github.com/prometheus/client_golang v1.12.1 => v1.13.0

* upgraded github.com/urfave/cli/v2 v2.5.1 => v2.11.2

* upgraded github.com/rs/zerolog v1.26.1 => v1.27.0

* upgraded golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 => v0.0.0-20220822191816-0ebed06d0094

* upgraded github.com/xanzy/go-gitlab v0.64.0 => v0.73.1

* upgraded google.golang.org/grpc v1.47.0 => v1.49.0
2022-08-25 08:09:05 +02:00
Manu Hernandez
5fc1eb5138
Close code block (#1121)
Added missing code block end.
2022-08-24 20:07:58 +02:00
6543
a4453dc5af
Implement Refresher for GitLab and refactor nits (#1031)
* refactor & update gitea remote

* refactor & update gitlab remote

* gitlab remote: add Refresh()

* change as suggested by @dsanader
2022-08-24 15:46:11 +02:00
qwerty287
770cd1bd95 Translated using Weblate (German)
Currently translated at 100.0% (168 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-08-21 07:42:18 +00:00
ktprograms
0eef104759
Note change to /woodpecker in default workspace path (#1118) 2022-08-20 11:17:59 +02:00
qwerty287
d94769fb13
Fix prettier on locales (#1117) 2022-08-20 11:13:38 +02:00
Lauris BH
0799906af9 Translated using Weblate (Latvian)
Currently translated at 98.8% (166 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-08-16 07:42:21 +00:00
qwerty287
26c391683c Translated using Weblate (German)
Currently translated at 100.0% (168 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-08-16 07:42:21 +00:00
admin
61acfdf5ed Translated using Weblate (German)
Currently translated at 100.0% (168 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-08-16 07:42:21 +00:00
Lauris BH
a5b2565dd5 Translated using Weblate (English)
Currently translated at 100.0% (168 of 168 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/en/
2022-08-16 07:42:17 +00:00
Lauris BH
366a1e18f3
Add cli support for global and organization secrets (#1113)
* Add cli support for global and organization secrets

* Fix usage of deprecated functions
2022-08-15 20:10:13 +02:00
6543
ec6490e367
bump DefaultCloneImage version 2022-08-15 17:23:38 +02:00
qwerty287
22214f5a43
Do not show pipeline name if it's a single file (#1069) 2022-08-15 15:53:36 +02:00
6543
a46723334b
refactor: use switch-case not try-err (#1112) 2022-08-15 14:39:08 +02:00
Lauris BH
5a945c10e9
Fix to show build pipeline parse error (#1066) 2022-08-15 14:37:46 +02:00
Anbraten
fc862bf627
Default clone do checkout tags on tag pipeline (#1110) 2022-08-15 11:52:30 +02:00
Anbraten
93c96de2ac
use fix version to be able to update clone images (#1108) 2022-08-14 21:22:35 +02:00
Anbraten
e269890643
Allow multiple when conditions (#1087)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: LamaAni <zshotan@bloomberg.net>
2022-08-14 19:32:49 +02:00
6543
98e6396e3e
Publish preview container images of pulls (#1072)
* convert dryrun into preview

* nit: vendor first
2022-08-14 19:04:19 +02:00
Anbraten
446585ef1d
Add depends_on to pipeline syntax docs (#1104) 2022-08-14 17:32:01 +02:00
vanous
991fcf7412
Add more documentation for local backend (#1107) 2022-08-14 16:43:06 +02:00
Lauris BH
d63c1dbcba
Fix vscode eslint/prettier settings and Vue extension recommendation (#1084) 2022-08-14 16:34:21 +02:00
Lauris BH
a627968b73
Install missing peer dependency (#1106) 2022-08-14 15:37:50 +02:00
Lauris BH
1ac2c42652
Add global and organization secrets (#1027)
* Implement database changes and store methods for global and organization secrets

* Add tests for new store methods
* Add organization secret API and UI
* Add global secrets API and UI

* Add suggestions

* Update warning style

* Apply suggestions from code review

Co-authored-by: Anbraten <anton@ju60.de>

* Fix lint warning

Co-authored-by: Anbraten <anton@ju60.de>
2022-08-14 13:48:53 +02:00
qwerty287
bed3ef104c
Support Docker credential helpers (#1075)
* support docker credential and add docker-credential-ecr-login into alpine image

* Remove ecr from docker and add docs

* Update docs/docs/30-administration/22-backends/10-docker.md

Co-authored-by: WeStone <xuecanlong@qq.com>
Co-authored-by: Anbraten <anton@ju60.de>
2022-08-14 10:46:18 +02:00
vanous
b7957c53aa
Fix filter cli attribute name (#1103)
Co-authored-by: Anbraten <anton@ju60.de>
2022-08-14 09:48:52 +02:00
Anbraten
fdf5fd3f69
Use local search and update docusaurus (#1093) 2022-08-14 09:19:24 +02:00
Dejan SANADER
7a4827bbf6
Fix duplicate pipeline status in GitLab (#1095) 2022-08-12 17:49:40 +02:00
Hrvoje Slaviček
3367933378
Add hints for reverse proxying of grpc server (#1091)
* Update 70-proxy.md

* Update docs/docs/30-administration/70-proxy.md

* fix suggestion

Co-authored-by: Anbraten <anton@ju60.de>
2022-08-12 09:34:49 +02:00
Lauris BH
4d390104bd
Hide log container if step does not have logs (#1086) 2022-08-10 09:53:55 +02:00
Lauris BH
2e8f9e17e6
Add syntax highlighting for pipeline config (#1082) 2022-08-09 17:39:45 +02:00
Anbraten
66be4923d2
Update dependencies and tiny adjustments to UI (#1083)
- updated all web/ dependencies
- fixed icon positioning issue
- changed text color of pipeline message
- add hover underline effect to breadcrumb org name
2022-08-09 14:13:32 +02:00
qwerty287
d22821afc1
Add logs command to CLI & update forges supported features docs (#1064)
* Complete forges overview + add `logs` command to CLI

* Update 10-overview.md

Co-authored-by: 6543 <6543@obermui.de>
2022-08-09 10:17:39 +02:00
Lauris BH
2f5e5b8e2c
Remove xterm and use ansi converter for logs (#1067)
* Steaming works without flickering
* Text can be correctly copied
* Show only selected step output when streaming
* Improved exit code colors for better readability
* Adds time display on right side

When compiled assets/Build.js size was 355K, now it is 26K

Fixes #1012 
Fixes #998

Co-authored-by: Anbraten <anton@ju60.de>
2022-08-08 15:29:52 +02:00
qwerty287
98636a5493
Fix gitpod docs link (#1076) 2022-08-04 12:56:31 +02:00
Lauris BH
550aefead4
Make returned proc list to be returned always in correct order (#1060) 2022-08-02 18:34:16 +02:00
Julian Groß
75b62ffadc
Fix screenshot upload for issue template (#1062) 2022-08-01 07:43:21 +02:00
Julian Groß
3714605808
Fix broken link in documentation (#1057) 2022-07-31 20:42:35 +02:00
Florian Märkl
7031904dbe
Wait to finish reading logs before calling Wait() on pipeline (#1010)
This fixes errors like the following and chopped off logs ...
2022-07-31 17:12:15 +02:00
Anbraten
5557674835
Add gitpod setup (#1020)
Adding [Gitpod](https://github.com/gitpod-io/gitpod) allows us and others to easily start a complete Woodpecker setup and development cloud IDE. It starts a Woodpecker server, agent and a preconfigured Gitea instance. You can login at Gitea with `woodpecker` and `password`.
2022-07-31 17:07:18 +02:00
Lauris BH
01bfbba458
Add pipline convert tool to docs (#1054) 2022-07-30 21:08:01 +02:00
Arno Hautala
d5e31dc187
Provide global environment variables for pipeline substitution (#968)
* make global environment variables available for pipeline substitution

* lint fixes

* global env support in cli exec; procBuilder tests

* drop GLOBAL_ prefix

* docs

* documentation typo

* Update docs/docs/20-usage/50-environment.md

as suggested by anbraten

Co-authored-by: Anbraten <anton@ju60.de>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2022-07-30 08:06:03 +02:00
Simon Vieille
6351684070
Update type of 'log_data' from blob to longblob (#1050)
* Update type of 'log_data' from blob to longblob

* Add migration task to update log_data type
2022-07-29 14:57:18 +02:00
eleith
b9e1de33c5
Make ListItem component more accessible by using a button tag when clickable (#1044)
Co-authored-by: eleith <eleith@lemon.localdomain>
2022-07-25 04:18:50 +02:00
Lauris BH
19dfc331f4
Add method to check organization membership (#1037)
* Add remote method to check organization membership
* Use named return parameters in interface
* Add membership check service
* Update Gitea SDK
2022-07-25 03:09:35 +02:00
6543
1e8d4cc455
Update jsonschema and pipeline linting 2022-07-19 15:09:39 +02:00
6543
d2556a0613
Update jsonschema and define "services" (#1036)
Co-authored-by: Anbraten <anton@ju60.de>
2022-07-19 15:01:36 +02:00
6543
69ec44075c
Let single line command be a single command (#1009)
* rm go-shlex usage

* update
2022-07-19 07:20:27 +02:00