6543
31bad81979
Use external lib to convert yaml to json ( #1028 )
...
this move shared/yml/* into an independent lib
2022-07-17 17:23:31 +02:00
6543
86cbd63dc2
Update base images ( #1024 )
...
update alpine base image to current stable
and cross-build with golang v1.18
2022-07-17 09:41:32 +02:00
Silje Kristensen
e08e1e1b4b
chore: fix sentence structure ( #1013 )
2022-07-06 15:11:03 +02:00
Florian Märkl
4879e922c1
Avoid calling /bin/env in local backend ( #1011 )
...
/bin/env was used to resolve a command name against PATH and pass
additional environment variables.
All of this can also be achieved using functionality already provided by
go's exec lib, which will then internally pass the appropriate arguments
to e.g. execve.
2022-07-04 20:27:17 +02:00
Florian Märkl
061596d802
Gracefully handle non-zero exit code in local backend ( #1002 )
...
A non-zero exit code signifies a pipeline failure, but is not a fatal error in the agent.
Since exec reports this as exec.ExitError, this has to be handled explicitly.
This also fixes logs not being shown on build errors.
2022-07-02 15:56:08 +02:00
Florian Märkl
3f73d5bf53
Fix logs view existing multiple times ( #1000 )
...
* Fix terminal DOM existing multiple times
When switching between the tasks/config/changed files tabs in the build
view, the DOM for the log xterm would be inserted multiple times,
causing the current terminal to be shifted down weirdly.
This fixes this behavior by cleaning any custom DOM before the log is
unmounted.
* Use ref
2022-06-25 19:52:37 +02:00
6543
716d55a370
Add German Translation ( #997 )
...
* Add German Translation
* Fix visibility description
* fix lint
* Registries or Registry
* Update web/src/assets/locales/de.json
* Apply suggestions from code review
Co-authored-by: Anbraten <anton@ju60.de>
* Update web/src/assets/locales/de.json
Co-authored-by: Anbraten <anton@ju60.de>
* Update web/src/assets/locales/de.json
Co-authored-by: Anbraten <anton@ju60.de>
2022-06-21 18:18:02 +02:00
Lauris BH
415dfb9c46
Fix tabs URLs to be language agnostic ( #995 )
2022-06-20 19:47:33 +02:00
Simon Michalke
14e1520bf9
Extend FAQ with clone debugging howto ( #996 )
2022-06-20 19:15:15 +02:00
Lauris BH
2153425230
Add Latvian language translation ( #992 )
...
Add Latvian language translation (#992 )
2022-06-19 07:31:16 +02:00
Lauris BH
570aaa4235
Move all static texts to locale file ( #989 )
...
* Move all static texts to locale file
* Fix message
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-06-18 10:48:18 +02:00
qwerty287
42c745362b
Show forge icons in UI ( #987 )
2022-06-17 20:14:01 +02:00
Lauris BH
99f1b70570
Add option to launch all needed services for local development ( #988 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-06-17 16:24:49 +02:00
6543
08479390ff
Use editorconfig-checker ( #982 )
2022-06-17 12:03:34 +02:00
Lauris BH
14b3cfff1b
Improve dark style text color for better readibility ( #985 )
2022-06-17 02:00:31 +02:00
6543
17999da20f
Minim golang 1.18 and drop vendor folder ( #979 )
2022-06-17 01:57:02 +02:00
6543
d2aad473d7
Revert "hotfix to get no missmatch [1 & 2]" ( #984 )
...
This reverts commit 06f869beb3
.
This reverts commit dbb5b4baa2
.
2022-06-16 23:55:17 +02:00
6543
9449b67da9
fix regression from 81dcdea2be
(missmatch)
2022-06-16 23:11:27 +02:00
6543
06f869beb3
hotfix to get no missmatch [2]
2022-06-16 23:07:46 +02:00
6543
dbb5b4baa2
hotfix to get no missmatch
2022-06-16 23:00:24 +02:00
Anbraten
3c4d451b72
Use xterm.js for log outputs ( #846 )
...
- use xterm
- improve error showing
- show build erro
2022-06-16 19:24:27 +02:00
6543
904f9bb194
Update github.com/containerd/containerd ( #978 )
...
* update github.com/containerd/containerd
* go mod tidy && go mod vendor
2022-06-16 17:35:56 +02:00
6543
0ab5182402
Document package architecture ( #972 )
...
to make it easier for devs to find the right place for code
close #655
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-06-16 15:35:58 +02:00
Anbraten
3d8ea2e2c9
Return to page after clikcing login at navbar ( #975 )
2022-06-16 14:38:57 +02:00
6543
bdcee93f79
Move Server Pipeline Build code out of API into own package ( #949 )
...
- refactor
- create new errors to handle on them
- dedup code
- split server pipeline functionality's into dedicated functions
- add code comments to document what goes on
- add TODOs for next refactor
2022-06-15 21:33:29 +02:00
6543
068063655b
Make pipeline runtime log with description ( #970 )
...
* introduce runtime descriptors to pipeline runtime
* nit return orig error at traceStep()
* more logging
* refactor
Co-authored-by: Zav Shotan <zshotan@bloomberg.net>
2022-06-15 18:11:20 +02:00
6543
9f7b72f9a9
Update .vscode/launch.json ( #969 )
...
Co-authored-by: Zav Shotan <zshotan@bloomberg.net>
2022-06-15 12:49:37 +02:00
6543
e06ebd6493
Add Changelog v0.15.2 ( #966 ) ( #967 )
...
frontport #966
2022-06-14 15:07:53 +02:00
Zav Shotan
81dcdea2be
Add support for steps to be a list (instead of dict) ( #826 )
...
- Support for pipeline/containers as list
- Support for container name in logs (step.Name)
Co-authored-by: Zav Shotan <zshotan@bloomberg.net>
Co-authored-by: 6543 <6543@obermui.de>
2022-06-13 23:13:09 +02:00
Arno Hautala
cdbba4c306
fix run_on references with runs_on in docs ( #965 )
2022-06-10 05:44:26 +02:00
6543
024a12105f
fix name of field in the response from config api ( #962 )
...
Co-authored-by: GulfSugar <gulfsugar@noreply.codeberg.org>
2022-06-09 12:00:13 +02:00
Anbraten
b45c0fa634
fix badges ( #957 )
2022-06-04 16:23:45 +02:00
x80486
48b91f99fe
Rename build to pipeline in badges ( #956 )
2022-06-03 15:42:42 +02:00
qwerty287
4cdc50460c
Add matrix room to issue template ( #954 )
2022-06-03 14:21:19 +02:00
qwerty287
a561058fee
Fix nil pointer issue with config-service ( #953 )
2022-06-03 08:17:47 +02:00
qwerty287
0426f7c5d0
Fix nil pointer ( #950 )
2022-06-02 12:49:12 +02:00
Anbraten
cc30db44ac
Use asym key to sign webhooks ( #916 )
...
* use async key pair for webhooks
* fix tests
* fix linter
* improve code
* add key pair to database
* undo some changes
* more undo
* improve docs
* add api-endpoint
* add signaturne api endpoint
* fix error
* fix linting and test
* fix lint
* add test
* migration 006
* no need for migration
* replace httsign lib
* fix lint
Co-authored-by: 6543 <6543@obermui.de>
2022-06-01 20:06:27 +02:00
Egor Tensin
a2ca657631
Improve UI colors to have more contrast ( #943 )
...
* web: improve contrast in BuildProcList component
* White text on gray instead of gray on gray.
* web: improve contrast in Panel component
* White header text on dark gray instead of gray on gray.
* Gray body text on white instead of gray on gray.
* Align header padding with the body.
2022-06-01 04:16:26 +02:00
Anbraten
e79ad00826
Add agent tagging / filtering for pipelines ( #902 )
...
Officially support labels for pipelines and agents to improve pipeline picking.
* add pipeline labels
* update, improve docs and add migration
* update proto file
---
closes #304 & #860
2022-05-31 01:12:18 +02:00
Anbraten
56a55842f6
fixed typo and actual name of json field ( #942 )
2022-05-30 00:56:28 +02:00
6543
fe006d9656
Revert "tmp: fix to make ci run agian"
...
This reverts commit e172b66d53
.
2022-05-20 05:31:19 +02:00
6543
e172b66d53
tmp: fix to make ci run agian
2022-05-20 05:27:43 +02:00
6543
e2e094cfda
Revert "Do not run clone step if no pipeline step will run ( #877 )"
...
This reverts commit f05f918b8d
.
2022-05-20 05:20:17 +02:00
6543
328eb98109
Improve services docs ( #927 )
...
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-05-19 20:27:50 +02:00
6543
a8c23e9771
Update YAML notes in docs ( #928 )
...
* close #517
* sed -i 's/Yaml/YAML/g'
* Update docs/docs/20-usage/10-intro.md
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-05-19 20:07:27 +02:00
Nguyen Phi Truong
baf8b962de
Fix typo in docs ( #930 )
2022-05-19 14:30:15 +02:00
qwerty287
f05f918b8d
Do not run clone step if no pipeline step will run ( #877 )
...
Skip the clone step and ignore hook/pipeline if no pipeline step except clone would run. The status reported back to the forge is `success`.
Closes https://github.com/woodpecker-ci/woodpecker/issues/778
2022-05-18 23:25:14 +02:00
Anbraten
0b2b776ed8
Remove senders model ( #923 )
...
* remove senders
* drop table
2022-05-17 21:27:44 +02:00
6543
c986c7f5ee
CI add lint-pipeline ( #921 )
2022-05-17 17:59:51 +02:00
6543
7cf5a1545e
Drop deprecated environment vars ( #920 )
2022-05-17 17:26:35 +02:00