Commit Graph
5064 Commits
Author SHA1 Message Date
Anbraten a0f2ee9506 Add deprecation warnings (#2725) 2023-11-04 15:30:47 +01:00
Anbraten 33f9574dce Add version and update notes (#2722) 2023-11-04 14:20:50 +01:00
Anbraten 5f8e252fba Fix default tab not being selected (#2733) 2023-11-04 14:20:04 +01:00
dffdcdaac0 Translated using Weblate (Indonesian)
Currently translated at 100.0% (357 of 357 strings)

Translated using Weblate (German)

Currently translated at 100.0% (357 of 357 strings)

Co-authored-by: Linerly <linerly@proton.me>
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
2023-11-04 10:43:42 +00:00
9af71dcc98 Use unique label selector for pod label for kubernetes services (#2723)
Co-authored-by: Julian Haseleu <julian.haseleu@dreamit.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-04 10:35:37 +01:00
renovate[bot] fc8a001b2b Update woodpeckerci/plugin-ready-release-go Docker tag to v0.7.0 (#2728) 2023-11-04 07:44:13 +01:00
Anbraten b949c190de Some UI fixes (#2698)
- fix first log line being dropped if channel was opened
- link org and repo on repo logs view
- fix decline pipeline status does not update
2023-11-04 06:51:26 +01:00
Anbraten fe489287fc Fix active tab not updating on prop change (#2712) 2023-11-03 16:01:14 +01:00
Patrick Schratz fd8f35a879 Fix pinned alpine package versions (#2713) 2023-11-03 15:41:44 +01:00
Anbraten 49f95edf00 Fix step selection (#2719)
Just reverted those lines from #1572
2023-11-03 14:42:59 +01:00
qwerty287 4cb48aab1d Fix axisID for non-matrix (#2717)
Just one more from #2695
2023-11-03 14:04:37 +01:00
qwerty287 d284aeb545 Fix default status (#2715)
Regression #2695

probably closes #2716
2023-11-03 13:00:34 +01:00
Weblate dd930e5754 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translation: Woodpecker CI/UI
2023-11-03 10:44:09 +00:00
5ff006614f Enhance linter and errors (#1572)
Co-authored-by: 6543 <m.huber@kithara.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-03 11:44:03 +01:00
JanikandPatrick Schratz 4c4fdff5f7 Add grafana dashobard to awesome (#2710)
Co-authored-by: Patrick Schratz <patrick.schratz@gmail.com>
2023-11-02 18:21:49 +01:00
6543 7bc40f20cb Option to change temp dir for local backend (#2702)
---
*Sponsored by Kithara Software GmbH*
2023-11-02 15:45:18 +01:00
Michael HoltermannandMichael Holtermann da6f39258d Improve secrets documentation (#2707)
Adds some editorial improvements that hopefully clarify the usage of
secrets.

Fixes #2704

---------

Co-authored-by: Michael Holtermann <michael.holtermann@lynq.tech>
2023-11-02 15:36:18 +01:00
qwerty287andAnbraten c1faa95d8f Revert breaking pipeline changes (#2677)
Revert #2180 and #2480 so we can release v2.0 without breaking changes
in pipeline config.

After merging #2476 we should apply these changes to a new v2.

After merging this, we should be ready for the 2.0 release.

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-11-02 15:31:49 +01:00
WeblateandLinerly f270be4940 Translated using Weblate (Indonesian)
Currently translated at 100.0% (354 of 354 strings)

Co-authored-by: Linerly <linerly@proton.me>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/id/
Translation: Woodpecker CI/UI
2023-11-02 12:17:40 +00:00
runephilosof-karnovgroup dbed835b6d Use int64 for IDs in woodpecker client lib (#2703)
Switch from int to int64 for IDs
2023-11-02 12:21:11 +01:00
6543 c75068920c save GOOS and GOARCH in local engine (#2701)
make refactoring easyer
2023-11-02 07:58:32 +01:00
Thomas Anderson de53b906e8 Add ports into pipeline backend step model (#2656)
Closes #2655.


[Pipeline](https://woodpecker-ci.org/docs/next/usage/services#complete-pipeline-example):
```yaml
services:
  database:
    image: mysql
    environment:
      - MYSQL_DATABASE=test
      - MYSQL_ROOT_PASSWORD=example
    ports:
      - 3306

steps:
  get-version:
    image: ubuntu
    commands:
      - ( apt update && apt dist-upgrade -y && apt install -y mysql-client 2>&1 )> /dev/null
      - sleep 60s # need to wait for mysql-server init
      - echo 'SHOW VARIABLES LIKE "version"' | mysql -uroot -hdatabase test -pexample
```

Service:
```yaml
apiVersion: v1
kind: Service
metadata:
  name: wp-01hdq6gbkw1mn6k1655fs3rntf-0-services-0
  namespace: woodpecker-runtime
  ...
  selfLink: >-
    /api/v1/namespaces/woodpecker-runtime/services/wp-01hdq6gbkw1mn6k1655fs3rntf-0-services-0
status:
  loadBalancer: {}
spec:
  ports:
    - protocol: TCP
      port: 3306
      targetPort: 3306
  selector:
    step: database
  clusterIP: 10.43.180.120
  clusterIPs:
    - 10.43.180.120
  type: ClusterIP
  sessionAffinity: None
  ipFamilies:
    - IPv4
  ipFamilyPolicy: SingleStack
  internalTrafficPolicy: Cluster
```
2023-11-02 04:12:41 +01:00
Thomas Andersonand6543 3620c84da4 Unregister stateless agents from server on termination (#2606)
Closes #2027

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-11-02 01:53:47 +02:00
Patrick Schratz ec62a1d0c6 Pin alpine versions in Dockerfile (#2649) 2023-11-01 23:46:03 +01:00
qwerty287and6543 abb2f280eb Unique status for matrix (#2695)
implement this fix but with an additional field on workflows to not
change the workflow name

closes #1840 
closes #713

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-11-01 17:28:02 +01:00
6543 037703028e Fix typo in golang image name (#2696) 2023-11-01 17:01:34 +01:00
6543 ebe0307c6b Let the backend engine report the current platform (#2688)
if you run woodpecker-agent on windows and connect it to an docker
daemon, there could be two different platforms possible, as you can
switch from linux to windows mode and visa versa


---
*Sponsored by Kithara Software GmbH*
2023-11-01 15:38:37 +01:00
Joonhyeok AhnandRobert Kaussow 5876213b42 Showing the pending pipelines on top (#1488)
close #1358

---------

Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-11-01 15:37:43 +01:00
Robert Kaussowand6543 1f7c087074 Use full qualifyer for images (#2692)
Supersedes https://github.com/woodpecker-ci/woodpecker/pull/1659

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-11-01 15:25:48 +01:00
6543 48e4eceb0a local backend make cmd log output similar to other shells (#2678)
the cmd currently shows the full prompt and drop the exact error level.

this set the prompt to be hidden and let cmd exit with error level
reported by the command

---
*Sponsored by Kithara Software GmbH*
2023-11-01 11:49:36 +01:00
4647e64f13 Report problems with listening to ports and exit (#2102)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-01 11:44:08 +01:00
6543 e83357833d Use path.Join for server side path generation (#2689)
make sure to have valid config even when server is running under windows

---
*Sponsored by Kithara Software GmbH*
2023-11-01 11:29:44 +01:00
Weblate fe7dc3fff5 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translation: Woodpecker CI/UI
2023-11-01 09:43:59 +00:00
runephilosof-karnovgroup 97f04449a4 Woodpecker-go: Use Feed instead Activity (#2690)
The models had gotten out of sync.
Use the same definition ~to avoid them getting out of sync in the
future~.

Closes https://github.com/woodpecker-ci/woodpecker/issues/2679
2023-11-01 10:43:55 +01:00
Weblate bde9f97407 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/
Translation: Woodpecker CI/UI
2023-11-01 09:30:46 +00:00
qwerty287andAnbraten 2ff916c804 Refactor UI dark/bright mode (#2590)
- collapse pipeline configs by default, closes
https://github.com/woodpecker-ci/woodpecker/discussions/2557
- refactor ui themes: instead of just differentiating between "is dark"
or "is not dark", add a third "auto" option following the browser
settings (closes
https://github.com/woodpecker-ci/woodpecker/discussions/2204) and put
everything into an enum. also move the option from the navbar to user
settings.

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-11-01 10:30:40 +01:00
Anbratenand6543 4198c447fb Destroy steps after they are done (#2681)
Co-authored-by: 6543 <m.huber@kithara.com>
2023-11-01 09:35:11 +01:00
6543 902877690d Fix secrets UI (#2687) 2023-11-01 08:36:59 +01:00
Anbraten fffddb0bc3 Fix docker preview images (#2683) 2023-10-31 21:07:29 +01:00
6543 5742e8695c Do not sanitzie secrets with 3 or less chars (#2680)
as this secrets have to low entropy they can not be valid secrets and
e.g. make log only unredable

just add a secret with value `a` to a repo an run a pipeline ...

---
*Sponsored by Kithara Software GmbH*
2023-10-31 19:44:03 +01:00
WeblateandMichael 15960e7628 Translated using Weblate (French)
Currently translated at 100.0% (352 of 352 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
2023-10-31 16:46:08 +00:00
renovate[bot] c36b1cd6ff chore(deps): lock file maintenance (#2673) 2023-10-31 13:21:20 +01:00
Jannik Heuer 0fbf8cfc85 Fix secret image filter regex (#2674) 2023-10-31 13:15:13 +01:00
Patrick Schratz 2f0bb7153e Pin trivy docker image version (#2668) 2023-10-31 13:04:28 +01:00
renovate[bot] e4fe5022c0 fix(deps): update golang (packages) (#2671) 2023-10-31 12:55:47 +01:00
qwerty287 9c07b15c99 Fix where syntax (#2676) 2023-10-31 12:43:06 +01:00
renovate[bot] 8a21a4c08e fix(deps): update docker to v24 (#2675) 2023-10-31 12:33:27 +01:00
856b2ef8c7 pre-commit fixes (#2669)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2023-10-31 09:14:09 +01:00
Patrick Schratz bd46c01a3e Use pre-commit (#2650) 2023-10-28 21:58:59 +02:00
renovate[bot]andlnx01 4dbde3c409 fix(deps): update dependency fuse.js to v7 (#2666)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-28 21:31:34 +02:00