Commit graph

4874 commits

Author SHA1 Message Date
qwerty287
3372d1a87c
Rename remote to forge (#1357)
As of #745

Co-authored-by: Anbraten <anton@ju60.de>
2022-11-05 00:35:06 +01:00
Lukas
2ee75dbceb
Wait for gitea to start in gitpod (#1392) 2022-11-04 01:52:56 +01:00
Michael
2477d2e57f
Support .yaml as file-ending for workflow config too (#1388)
This implements #1073, adds .yaml to the accepted endings for woodpecker configs.

This currently adds some more lines to the duplication (tried to compensate by fixing the other duplication in the configFetcher) as the CLI and Server are still separate.
2022-11-03 19:12:40 +01:00
qwerty287
ee9269d658
Fix CLI format and plugin settings in docs (#1390) 2022-11-02 18:02:41 +01:00
Weblate
07b143864a Translated using Weblate (French)
Currently translated at 100.0% (216 of 216 strings)

Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translation: Woodpecker CI/UI
2022-11-01 18:08:31 +00:00
qwerty287
f2a37ce801
Fix redirects (#1325)
Not a very elegant solution, but it should work.

Co-authored-by: 6543 <6543@obermui.de>
2022-10-31 17:06:21 +01:00
Joonhyeok Ahn (Joon)
aed3a80287
Migrate sql querys to xorm query builder (#1356)
Co-authored-by: 6543 <6543@obermui.de>
2022-10-31 16:08:57 +01:00
Lukas
8593b756b8
Use html landmark elements (#1361)
Co-authored-by: Anbraten <anton@ju60.de>
2022-10-31 15:04:19 +01:00
6543
b15ca52a63
Move constrain to only have a single command in backend to run to dedicated backends (#1032)
at the moment we compile a script that we can pipe in as single command
this is because of the constrains the docker backend gives us.

so we move it into the docker backend and eventually get rid of it altogether
2022-10-31 00:26:49 +01:00
Michael
e61f97f8ac
Add RBAC to helm chart (#1373)
This PR fixes #1367 with the minimum needed (plus the basics of
annotations and labels, since some clusters need those for extra
verifications, OPA, Kyverno, etc.).

The added role is the minimum access I could get away with (tested each
verb and resource individually), since the Kubernetes go library seems
to use list and get even when not strictly necessary.

I've defaulted to inactive, setting the serviceAccount.rbac.create=true
will create the Role and roleBinding.

The changes only affect the woodpecker-agent chart, as the
woodpecker-server chart currently does nothing directly

# Tests

- [x] non default namespace (roleBindung uses namespace in a not
automatically rewritten position)
- [x] rbac.create enabled and disabled (nothing changes for disabled,
since the templates use a guard)
- [x] custom serviceAccount name
- [x] both roleBinding and role with no annotations, no lables, single
a&l, multiple each
- [x] helm deploy to Kubernetes, with all settings mentioned above

# Documentation

Added in the comments of the values.yaml. Taking it into the docs might
be helpful, but the Kubernetes section in the next docs is fairly empty,
possibly open a new issue and solve when the chart for next is mostly
done.
2022-10-30 22:47:58 +01:00
Divya Jain
280d27d723
Fix pipeline cancel API endpoint and update Web and CLI clients (#1372)
Fixes #1369 

Co-authored-by: Anbraten <anton@ju60.de>
2022-10-30 14:39:01 +01:00
Divya Jain
a5e1714039
Add additional tag to next image with commit sha (#1365)
Next image will have an additional tag of format `next-${truncated_commit_sha}`,

where truncated_commit_sha is the first 10 characters of the commit sha
(also, same for for the `next-alpine` image).
2022-10-29 19:28:47 +02:00
qwerty287
f65654c226
Update Mastodon link (#1364) 2022-10-29 14:07:35 +03:00
Weblate
9756542cae Translated using Weblate (Dutch)
Currently translated at 22.7% (49 of 215 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (215 of 215 strings)

Translated using Weblate (French)

Currently translated at 100.0% (215 of 215 strings)

Translated using Weblate (Spanish)

Currently translated at 17.2% (37 of 215 strings)

Translated using Weblate (German)

Currently translated at 100.0% (215 of 215 strings)

Co-authored-by: Julio Loayza <julio+woodpecker@loayzameneses.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Michael <misc+weblatewoodp@zarb.org>
Co-authored-by: Michel <woodpecker-ci@pseudonymous.email>
Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/es/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/nl/
Translation: Woodpecker CI/UI
2022-10-29 07:08:31 +00:00
qwerty287
8f183c82a8
Support changed files for Gitea PRs (#1342)
- add tests to fetch changed files
- ignore error if gitea version is to low
- adjust docs accordingly

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
2022-10-28 19:17:30 +02:00
Harikesh00
36e42914fa
Renamed procs/jobs to steps in code (#1331)
Renamed `procs` to `steps` in code for the issue #1288

Co-authored-by: Harikesh Prajapati <harikesh.prajapati@druva.com>
Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2022-10-28 17:38:53 +02:00
qwerty287
b44e895017
Add Node PM plugin (#1360)
A simple plugin that executes NPM, PNPM or Yarn scripts
2022-10-28 17:06:14 +02:00
Lukas
4b9a380939
Add gitpod port names (#1359) 2022-10-28 13:10:45 +02:00
Divya Jain
e2ab8a46ed
Header and Tabs UI Improvements (#1290)
Some improvements to the Page Header and Tab UI.

Original |  New
:--------:|:-------:

![image](https://user-images.githubusercontent.com/62170586/197360886-046f1016-ca39-4b69-8134-99ba88e3a0c2.png)
|
![image](https://user-images.githubusercontent.com/62170586/197360819-7efd0d82-1412-465d-aefa-039164f97465.png)

![image](https://user-images.githubusercontent.com/62170586/197360872-f2ece5fd-7c0b-4e2c-8629-31524a412af5.png)
|
![image](https://user-images.githubusercontent.com/62170586/197360830-49f09e0d-619e-4fa9-8e38-8d05d9404185.png)

![image](https://user-images.githubusercontent.com/62170586/197281776-e3de6441-9417-4614-8b25-1aaef0b8da61.png)
|
![image](https://user-images.githubusercontent.com/62170586/197281698-40c66d34-76f3-4fd5-97e3-1c422b74844c.png)

![image](https://user-images.githubusercontent.com/62170586/196609248-ff150c6e-2995-4bcc-8573-49ffaf388446.png)
|
![image](https://user-images.githubusercontent.com/62170586/197323734-7c1a1b79-0f41-4bf2-96a3-dd38df9e1415.png)

![image](https://user-images.githubusercontent.com/62170586/196609329-b7a6f37e-e8c2-4004-a98b-73f837122ff8.png)
|
![image](https://user-images.githubusercontent.com/62170586/197323882-10141ffd-7411-4493-8291-b8000adc3cc5.png)


What?
- Create a new Scaffold component, which includes the header and tabs
required for a page.
- Use this component to wrap all the views that have a header.
- Ensures consistency in headers between different pages.
- [x] Add support to use custom html/component in place of title (for
repo page, pipeline page, etc)
- [x] Add support of right icon buttons (for repo page, pipeline page,
etc)
- [x] Refactor tabs handling using compositions (useTabsProvider, useTabsClient)
- [x] Make new header ui resposive
2022-10-28 00:55:07 +02:00
qwerty287
8b7ca464cf
Always use rounded quadrat user avatars (#1350)
To stay consistent with the header.
2022-10-27 16:11:37 +02:00
qwerty287
e568c42e84
Support plugin-only secrets (#1344)
Closes #1071
2022-10-27 04:21:07 +02:00
Lukas
9ece7a1c49
Change locale in user settings (#1305)
Closes #1109
2022-10-27 02:42:39 +02:00
Weblate
2023518552 Added translation using Weblate (Chinese (Traditional))
Co-authored-by: admin <owners@woodpecker-ci.org>
2022-10-26 23:54:11 +00:00
6543
1dad681027
rename zh-Hans 2022-10-27 01:51:25 +02:00
Weblate
50f66cfe11 Translated using Weblate (Indonesian)
Currently translated at 100.0% (212 of 212 strings)

Translated using Weblate (German)

Currently translated at 100.0% (212 of 212 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: qwerty287 <ndev@web.de>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translation: Woodpecker CI/UI
2022-10-26 23:47:19 +00:00
Lukas
6ea23c1aac
Fix display of long pipeline and job names (#1346) 2022-10-27 00:49:26 +02:00
Lauris BH
371d23a437
Fix Gitpod Gitea OAuth2 client must be confidential (#1343) 2022-10-26 16:54:42 +02:00
Michael
cc803a589d Translated using Weblate (French)
Currently translated at 96.2% (203 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/fr/
2022-10-25 23:23:34 +00:00
qwerty287
de4e62cfcf
Allow to run cron manually (#1338)
Closes #1154
2022-10-26 01:23:28 +02:00
Lukas
ed44c3b50f
Use Vue.volar in gitpod (#1339) 2022-10-26 00:11:07 +02:00
qwerty287
da7d13ad4e
Use native directory and run with Node 18 (#1337)
- replace `cd` with native key `directory` (#1329)
- Update Node images to 18
2022-10-25 14:51:29 +02:00
Divya Jain
d7c2fdd05f
Update pipeline steps and logs background (#1330) 2022-10-24 22:36:53 +02:00
mondstern
4fdf3c98cb Translated using Weblate (Ukrainian)
Currently translated at 100.0% (211 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/uk/
2022-10-24 16:18:03 +00:00
qwerty287
4ae042624b Translated using Weblate (German)
Currently translated at 100.0% (211 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-24 16:17:58 +00:00
qwerty287
f6cac78119
Allow to change directory for steps (#1329)
Add `directory` YAML key that changes the workdir. Can replace a `cd`
before your commands start or make it possible to run plugins in a
subdirectory.
2022-10-24 16:31:06 +02:00
Jose Segura
27ee8ef97d
Add pipeline build number into Pipeline list (#1301)
Closes #1299

Co-authored-by: Jose Segura segux <jsegura@bit2me.com>
Co-authored-by: qwerty287 <ndev@web.de>
2022-10-23 11:19:12 +02:00
qwerty287
bdf0a59bea
Use system font stack (#1326)
Closes https://github.com/woodpecker-ci/woodpecker/issues/1316

Applied suggestion by @silverwind
2022-10-23 04:33:39 +02:00
admin
784f92eed1 Translated using Weblate (Spanish)
Currently translated at 0.4% (1 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/es/
2022-10-23 00:21:59 +00:00
6543
60a22f3731 Translated using Weblate (German)
Currently translated at 100.0% (211 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/
2022-10-23 00:18:05 +00:00
mondstern
a511808234 Translated using Weblate (Ukrainian)
Currently translated at 14.6% (31 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/uk/
2022-10-23 00:18:04 +00:00
mondstern
4aa9d0aff4 Translated using Weblate (Dutch)
Currently translated at 3.3% (7 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/nl/
2022-10-23 00:18:04 +00:00
mondstern
8e10b9cd61 Translated using Weblate (Latvian)
Currently translated at 100.0% (211 of 211 strings)

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/lv/
2022-10-23 00:18:04 +00:00
Weblate
6bcfa8bb57 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
aa1ca2fe4d Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
21ae7fa20e Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
ec3b37c93d Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
b81f161a25 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
44c86cae97 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:03 +00:00
Weblate
09a252a825 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:02 +00:00
Weblate
fae2f31be3 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Woodpecker CI/UI
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
2022-10-23 00:18:02 +00:00