Commit graph

3977 commits

Author SHA1 Message Date
6543 bffdc0a7bf
Partial-Backport of pipeline from current master (#1167) 2022-09-04 23:25:40 +02:00
6543 98dae07c59
Add Changelog for v0.15.4 (#1165) 2022-09-04 17:33:04 +02:00
6543 9e3dceda48
Extract commit message from branch creation (#1150) (#1153)
if commit already exist

close https://codeberg.org/Codeberg-CI/feedback/issues/52
2022-09-02 16:42:17 +02:00
6543 ba4de28590
Respect WOODPECKER_GITEA_SKIP_VERIFY (#1152) (#1151) 2022-09-01 22:56:52 +02:00
6543 8faafd3519
Update golang.org/x/crypto (#1124) 2022-08-25 08:08:39 +02:00
6543 1fa5f31d44
Implement Refresher for GitLab (#1031) (#1120)
Packport #1031 (without unrelated refactoring)
2022-08-24 16:32:45 +02:00
Lauris BH 5758caff21
Make returned proc list to be returned always in correct order (#1060) (#1065) 2022-08-03 07:28:16 +02:00
Simon Vieille f510b4b6e6
Update type of 'log_data' from blob to longblob (#1050) (#1052)
Backport #1050

* Update type of 'log_data' from blob to longblob
* Add migration task to update log_data type
2022-07-29 17:21:50 +02:00
eleith 723d599c0a
Make ListItem component more accessible by using a button tag when clickable (#1044) (#1046)
Co-authored-by: eleith <online-github@eleith.com>
2022-07-25 15:08:35 +02:00
6543 5e1aa4019a
Update base images (#1024) (#1025)
Backport #1024

update alpine base image to current stable
and cross-build with golang v1.18
2022-07-17 10:13:41 +02:00
6543 d8a6b61918
Add Changelog for v0.15.3 (#981) 2022-06-16 19:02:24 +02:00
6543 d224d15fb5
Update github.com/containerd/containerd (#978) (#980) 2022-06-16 17:50:58 +02:00
6543 68faa57c49
Return to page after clikcing login at navbar (#975) (#976)
Co-authored-by: Anbraten <anton@ju60.de>
2022-06-16 15:10:14 +02:00
6543 6d87e73688
Changelog v0.15.2 (#966)
* Backport Changelog v0.15.1

* Add Changelog v0.15.2
2022-06-14 14:42:22 +02:00
Arno Hautala 8ddfdfed8e fix run_on references with runs_on in docs (#965) 2022-06-10 06:07:37 +02:00
6543 903c34580b
Fix uppercase from_secrets (#842) (#925)
Secret names where matched based on their lowercase value already just the conversion to lowercase for `from_secrets` was missing.

Co-authored-by: Anbraten <anton@ju60.de>
2022-05-17 23:50:50 +02:00
6543 63df54d1b2
fix key/val format for dind env vars (#889) (#890)
Co-authored-by: iderr <ibrahim@derraz.fr>
2022-04-23 20:21:42 +02:00
6543 c33d600fa8
Update helm chart releasing (#882) (#888)
closes #863, #792

Co-authored-by: Anbraten <anton@ju60.de>
2022-04-20 17:11:08 +02:00
Anbraten f2bf5931c2
fix: ansi logging (#880) 2022-04-13 22:45:30 +02:00
6543 5f2733f48a
adapt change of #822 for release branch 2022-03-02 18:21:04 +01:00
6543 caa3409e66
Build multiarch images for server (#821) (#822)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: relnod <mail@paul-schiffers.de>
2022-03-02 16:48:07 +01:00
6543 608d8934bf
Fix Makefile by exposing VERSION_NUMBER var for bundle targets (#816) 2022-03-01 15:53:36 +01:00
6543 27ba630dbd
Branch list enhancements (#808) (#809)
* Allow users not logged in to access branches page
  (fixes a nil pointer derefernce)

* Add Gogs support for branches

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-02-27 18:53:24 +01:00
6543 ce07632ffd
Get Netrc machine from clone url (#800) (#803)
We previously got the machine hostname for Netrc from the url of the remote, but in cases where the clone-url does not match the api url this can lead to errors.

Co-authored-by: Anbraten <anton@ju60.de>
2022-02-26 14:36:14 +01:00
6543 7a4c6d32de
Changelog v0.15.0 (#790)
Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2022-02-24 17:34:49 +01:00
6543 56a854fe14
Update deps (#789)
* update github.com/docker/cli

* update github.com/docker/distribution

* update github.com/docker/docker

* update github.com/gin-gonic/gin

* update github.com/golang-jwt/jwt/v4

* update github.com/golangci/golangci-lint

* update github.com/gorilla/securecookie

* update github.com/mattn/go-sqlite3

* update github.com/moby/moby

* update github.com/prometheus/client_golang

* update github.com/xanzy/go-gitlab
2022-02-24 17:33:24 +01:00
6543 505cf8c09a
make gRPC error "to many keepalive pings" only show up in trace logs (#787)
hotfix #717

This comes from the agent being inactive / not sending and requesting any data if there a no pipelines waiting for him to execute. GRPC seems to only allow 2 pings without calling an actual endpoint before closing the connection. I think this will be indirectly solved in the moment we implement something like #536

https://github.com/grpc/grpc/blob/master/doc/keepalive.md

Co-authored-by: Anbraten <anton@ju60.de>
2022-02-24 15:53:44 +01:00
6543 f97f6f25b3
fix nfpm (#788)
fix #774
2022-02-24 15:35:11 +01:00
qwerty287 28e96a3851
View better error if repo was deleted/renamed (#780)
If the repo was renamed, there's an issue with Gitea: it redirects the /api/v1/repos/<owner>/<repo>/hooks POST request to a GET request at the same URL.
This URL returns the list of all hooks, thus the Gitea SDK can't parse the response into a single gitea.Hook type.

A better error is also visisble if the repo was deleted.
2022-02-24 14:54:05 +01:00
6543 c4960cdd2c
Ignore items from WOODPECKER_ENVIRONMENT only containing a key and no value (#781)
* fix 761

* refactor: rename to match what it does & log ignore case
2022-02-23 08:59:52 +01:00
René Schaar dde0678246
Update docker hub link (#779)
The old docker hub link directs you either to a login page or to your profile. I think it makes more sense to redirect the user directly to available images in the explore tab
2022-02-20 21:47:49 +01:00
qwerty287 13030b3d19
Increase margin for "No pipeline steps available!" (#777)
Just a simple UI improvement, set margin to `1rem` on the "No pipeline steps available!" message.
2022-02-14 15:21:28 +01:00
Anbraten 637291db4e
Follow-up for date tooltip (#766)
- ​load the Tooltip component on demand
- to show date in format same to Github and Gitea use it for commit ago time tooltips
2022-02-14 11:02:17 +01:00
Zav Shotan 905350fa15
Add support for default clone image environment variable (#769)
This allows for custom clone images for deployment in air-gap systems.

Co-authored-by: Zav Shotan <zshotan@bloomberg.net>
2022-02-10 17:05:19 +01:00
Zav Shotan 51904c9ee1
Add support for building in docker (#759)
be able to build woodpecker on any environment

Co-authored-by: Zav Shotan <zshotan@bloomberg.net>
Co-authored-by: 6543 <6543@obermui.de>
2022-02-10 15:12:47 +01:00
Anbraten 3b4dc03486
Move vcs configs and hide some unstable options from docs (#755)
move vcs configs to their pages, hide some unclear options
2022-02-09 20:32:38 +01:00
mscherer 3b52afab93
Use DOCKER_HOST env to search for docker before searching for a hardcode docker socket (#763)
Fix #757
2022-02-09 00:08:20 +01:00
9p4 7521336627
Show date time on hover over time items (#756)
Adds a tooltip that shows the date and time when hovering over "created at" times.
2022-02-08 17:41:16 -05:00
Zav Shotan f16525fae5
Add flag to always authenticate when cloning public repositories (#760)
As a developer using an custom git server (e.g. Github Enterprise) I would like to be able to authenticate 
the user on repositories which are marked as public.

See issue: https://github.com/woodpecker-ci/woodpecker/issues/473

Ref: https://github.com/woodpecker-ci/woodpecker/pull/693#issuecomment-1025771162
2022-02-08 17:55:08 +01:00
9p4 8ce41788e8
Add repo-link to badge markdown in UI (#753)
Co-authored-by: Anbraten <anton@ju60.de>
2022-02-06 22:05:02 +01:00
KN4CK3R 5f79739bc0
Add documentation of all server configuration options (#666)
* Added documentation of all configuration options.

* sort some flags

* adjust config docs to current flags

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anton Bracke <anton@ju60.de>
2022-02-06 21:21:57 +01:00
valentinleistner 6bb964921e
Add page to view all projects of a user / group (#741)
* ReposOwner view

shows all repos owned by a person or organization
uses /:repoOwner urls (e. g. ci.example.org/example-org)
also includes a link from the repo page to the owner page
related to #468

* ReposOwner remove add btn; msg if no projects; grid

implements the changes suggested by @anbraten:
- removed the `add repository` button
- now shows a message `This organization / user does not have any projects yet.`
  when appropriate

now uses `grid` instead of `flex` on desktop to keep the search bar
centered and always in the same place
2022-02-06 20:59:45 +01:00
Florian Piesche dbd048c5e9
Allow specifying dind container in values (#750)
This allows:

- resource spec for the dind container different from the main agent
- environment variables for the dind container can also be specified in values, e.g. to change the default driver if one so wishes
- crucially: specifying a different dind image
2022-02-06 16:39:51 +01:00
Anbraten 9ff0f230ec
Add awesome page (#744) 2022-02-04 10:53:03 +01:00
Anbraten 4de9c014ea
fix codecov when (#743) 2022-02-04 10:45:04 +01:00
6543 7b2b884a0e
Add Codecov.io Upload (#660)
use https://github.com/woodpecker-ci/plugin-codecov to track code coverage on codecov.io
2022-02-01 19:34:56 +01:00
6543 616c262223
Changelog v0.15.0-rc2 (#736)
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2022-01-31 19:27:16 +01:00
6543 8c2896faea
fix .woodpecker/binaries.yml (#737) 2022-01-31 17:42:09 +01:00
6543 85d70266d9
fix: ui: calculate build running time 2022-01-31 16:58:11 +01:00
6543 f758fc6412
Changelog for v0.14.4 (#733) (#734) 2022-01-31 16:30:06 +01:00