Commit graph

3967 commits

Author SHA1 Message Date
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
6543 53b68d808e
Add step to release latest images for release branches (#727) 2022-01-31 15:50:58 +01:00
6543 0d463ca467
Let non required migration tasks fail and continue (#729) 2022-01-31 15:50:10 +01:00
6543 2a5159f7fe
Fix pipeline timestamps (#730)
* only calculate time on running builds

* Add updated timestamp into database and use it in frontend

* add more trace logging

* refactor (move grpc unrelated func into related package)

* fix xorm schema

* add todo
2022-01-31 15:38:39 +01:00
Anbraten 6af94d79e3
Remove unused flags / options (#693)
Some flags where unused and / or unnecessary as they are covered by alternatives implemented in PRs of milestone 0.15.0 and just complicated the setup.

closes #681
2022-01-31 15:38:00 +01:00
6543 e2f31c3039
Add TODOs badge to README (#731)
<a href="https://www.tickgit.com/browse?repo=github.com/woodpecker-ci/woodpecker" title="TODOs">
  <img src="https://badgen.net/https/api.tickgit.com/badgen/github.com/woodpecker-ci/woodpecker">
</a>
2022-01-31 14:40:44 +01:00
6543 071bd7418a
Fix tests and pipeline (#732)
* fix pipeline

* use EqualStringSlice to compare slices in tests

* full test coverage

* tests: wait for mysql/postgres to sync ...
2022-01-31 14:39:53 +01:00
6543 6d29651808
Update 10-overview.md (#728)
* Update 10-overview.md

* Update docs/docs/30-administration/20-vcs/10-overview.md

Co-authored-by: Anbraten <anton@ju60.de>
2022-01-30 08:42:11 +01:00
6543 edbf6a3ba9
Allow to change status context again (#674)
* use flag value

* fix test

* sed -i 's/STATUS_CONTEXT/WOODPECKER_STATUS_CONTEXT/g'

* docs

* Update docs/docs/91-migrations.md

Co-authored-by: Anbraten <anton@ju60.de>
2022-01-29 20:37:36 +01:00
6543 b6e47a3f4a
Update deps (#724)
* update github.com/containerd/containerd v1.5.7 -> v1.5.9

* update github.com/lib/pq v1.10.3 -> v1.10.4

* update github.com/prometheus/client_golang v1.11.0 -> v1.12.0

* update github.com/rs/zerolog v1.25.0 -> v1.26.1

* update golang.org/x/crypto 2021-12-15 -> 2022-01-28
2022-01-29 16:04:50 +01:00
6543 95ce87fa1b
Fix path schema (#723)
- allow array for path
- remove "include:" as it is default case
- run tests on schema changes too
2022-01-29 14:26:00 +01:00