Commit graph

4045 commits

Author SHA1 Message Date
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
6543
062579d66f
Run pipeline for binary files on pull if go code changed (#722)
* run pipeline for binary files on pull if go code changed

* add release-dryrun

* run "test" only if go code changes

* fix-build-checksum
2022-01-29 13:58:55 +01:00
jdoubleu
48089f53d8
Add note about Gitlab & Gitea internal connections to docs (#711)
* add note about Gitlab internal connections to docs

* add note about Gitea internal connections to docs
2022-01-27 19:15:15 +01:00
Thomas McWork
262d29700e
fix typo in docs (#716) 2022-01-24 16:11:00 +01:00
6543
17fd76b23f
Fix helm chart release (#715)
* fix helm chart release

* make it pass
2022-01-24 11:41:39 +01:00
FestplattenSchnitzel
9feb6be9f2
Fix typo (#714) 2022-01-23 02:25:44 +01:00
jdoubleu
074e2cd38a
minor updates to docs (#712)
* correct minor spellings in the docs

* add warning about artifacts not being shared in multi-pipelines

* highlight note on multi-pipelines docs page

* update mentions of GitLab to use its official notation (camel case)
2022-01-20 18:24:16 +01:00
Anthony Wang
be11e57976
Fix avivable -> available typo in backend.go (#710) 2022-01-20 18:21:57 +01:00
6543
11d5d4bf48
Compile for more platforms on release (#703)
* move docker stuff into own pipeline

* add compile targets "freebsd/arm64,freebsd/amd64,openbsd/arm64,openbsd/amd64" for agent & cli

* add dryrun for server
2022-01-18 00:36:46 +01:00
Anbraten
401072abb1
Support ChangedFiles for Github & Gitlab PRs and Gitlab pushes (#697) 2022-01-17 23:46:59 +01:00
Anbraten
50570cba5c
Automatically determine platform of agent (#690)
* Automatically determine platform of agent

* add migration hint

* cleanup docs a bit
2022-01-17 15:19:30 +01:00
6543
04eb7935db
Improve compile pipeline (#699)
Refactor
- use constants for strings
- more tests
- move constraint code into own package

Enhance
- all constrains use doublestart (glob pattern matching) now

Co-authored-by: Anbraten <anton@ju60.de>
2022-01-17 14:43:30 +01:00
Anbraten
097676fe47
tiny ui fixes (#702) 2022-01-17 13:48:53 +01:00
Philipp
366701fde7
Fix multiline secrets replacer (#700)
* Fix multiline secrets replacer

* Add tests
2022-01-16 22:57:37 +01:00
Anbraten
2f780193b1
github tag build should not have changed files (#698) 2022-01-16 18:44:44 +01:00
Anbraten
549996cbcd
Fix some ui issues and mobile view (#695)
* fix ui issues and improve mobile view

* show proc errors

* auto open logs on md screens
2022-01-16 18:42:10 +01:00
Anbraten
b15879d460
Update 80-downloads.md (#691) 2022-01-16 00:26:55 +01:00
Kaleb Elwert
62557ffeff
Only publish to latest on tags (#505)
* Only publish to latest on tags

* Update docs

Co-authored-by: 6543 <6543@obermui.de>
2022-01-15 17:49:31 +01:00
6543
900b4b09ad
Changelog for v0.15.0-rc1 (#676)
Add changelog for an ReleaseCandidate

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2022-01-11 18:41:01 +01:00
6543
03638b2934
pipeline backend: remove unused var (#683) 2022-01-09 23:28:41 +01:00
6543
5a120db69d
remove "panic()" as much as posible from code (#682) 2022-01-09 23:27:30 +01:00
Anbraten
6eecfa4b88
Show changed files of pipeline in UI (#650) 2022-01-09 19:28:02 +01:00
Anbraten
37c82b905c
Show yml config of pipeline in UI (#649)
closes #89
2022-01-09 03:59:45 +01:00