Commit Graph
27 Commits
Author SHA1 Message Date
6543 adfcdaf124 bump golang.org/x/net to v0.24.0 (#3628) 2024-04-18 17:11:00 +02:00
399bc5bf1b Document how to enable parallel step exec for all steps (#3605)
Document how depends_on work in more details

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-04-10 12:31:42 +02:00
6543andrenovate[bot] c526be777d Update golang (packages) (#3543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-24 13:27:05 +01:00
6543 14621fdb50 Fix links in CHANGELOG.md (#3519)
The release plugin should be fixed to ...
2024-03-20 14:53:33 +02:00
6543andAnbraten 1f75650720 Delete docs for v0.15.x (#3508)
they will remain in the git history ... but we should not promote them
anymore at all

PS: we only have terminology since v1.0.x ... so even reference to same
topics is hard in old docs

---------

Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-03-19 09:26:06 +01:00
6543 385e7e3a49 Create docs for v2.4.x (#3507) 2024-03-19 08:36:20 +01:00
6543andRobert Kaussow e57a09a404 Update pipeline state on server as a whole on approval (#3504)
We can not just update some records for steps, as we want the pipeline
engine as single source of truth but not manage the state.
And the server should only manage the state but not how pipelines work.

We can match the pipeline but neither workflows or steps 1:1, so we
"update" them as a whole by deleting existing workflow and step data and
insert the new info from engine.

close   #3494
close  #3472

---------
*Sponsored by Kithara Software GmbH*

---------

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2024-03-18 20:07:45 +01:00
6543 936c9bdb0d Export changed files via builtin environment variables (#2935)
add **`CI_PIPELINE_FILES`** to builtin env vars

close  #853

---
*Sponsored by Kithara Software GmbH*
2023-12-18 22:37:38 +01:00
6543andAnbraten 5a7b689e30 Switch to go vanity urls (#2706)
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-07 08:04:33 +01:00
6543andqwerty287 cc252b4ac9 Mark kubernetes backend as fully supported (#2756)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-11-06 09:34:11 +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
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
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
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
6543 902877690d Fix secrets UI (#2687) 2023-11-01 08:36:59 +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
6543 5b3bba726d local backend ignore errors in commands inbetween (#2636)
for normal posix shells we have to add the `-e ` option ... but as there
are more shells out there we have to handle this edgecases on base per
base case.

create a switch case statement in woodpecker should be fine as there is
only a finite number of shells, used in production.

also close  #2612

---
*Sponsored by Kithara Software GmbH*
2023-10-28 13:38:47 +02:00
6543 bb17d25963 Trim last "/" from WOODPECKER_HOST config (#2538)
https://youtu.be/dGwC_AxaWLo?t=770  
( https://youtu.be/dGwC_AxaWLo?t=1020 )
2023-10-07 15:39:19 +02:00
6543 8629a418f8 local backend set home variable windows-equivalent too (#2323) 2023-10-01 14:56:49 +02:00
6543 76f932878c make: autodetect host platform (#2322)
---
*Sponsored by Kithara Software GmbH*
2023-08-24 00:24:16 +02:00
6543 c973099c99 Refactor version handling in Makefile (#2320) 2023-08-23 06:53:40 +02:00
6543 3954d85a5b Add "plugin" support to local backend (#2239)
and a nit to improve the clone


---
*Sponsored by Kithara Software GmbH*
2023-08-22 22:00:32 +02:00
6543 f337d31455 bump github.com/6543/logfile-open ... (#2240)
to make woodpecker compile on windows again


---
*Sponsored by Kithara Software GmbH*
2023-08-18 15:35:12 +02:00
6543 17ab945825 Fix 'add-orgs' migration (#2117)
close  #2096

~~blocked by https://gitea.com/xorm/xorm/pulls/2320~~
2023-08-08 00:16:50 +03:00
6543 d253f8cc30 Make sure we dont have hidden options for backend and pipeline compiler (#2123)
move options based on **os.Getenv** into flags

---------
*Sponsored by Kithara Software GmbH*
2023-08-07 21:13:26 +02:00
6543 3d4758578a Add opt save global log output to file (#2115)
close  #1933

---------
*Sponsored by Kithara Software GmbH*
2023-08-07 20:47:30 +02:00
6543 3cd78c9409 Refactor agent (#2021)
- code cleanup
- init backend engine only once
- pass a taskUUID to the backend

---
*Sponsored by Kithara Software GmbH*
2023-07-20 20:39:20 +02:00