Anbraten
5653577d7e
Fix sanitizePath ( #326 )
...
With #299 the `sanitizePath` has a bug now. If no special config (empty string) has been set it falls back to default values, but the `sanitizePath` function the used the pipelince-config-path to sanitize pipeline names.
2021-09-21 04:21:13 +02:00
Anbraten
894df351ee
Remove push, tag and deployment webhook filters ( #281 )
...
- remove `AllowPush`, `AllowTag`, `AllowDeploy` options.
- keep `AllowPullRequest` option and disable it by default
---
close #265
close #243
2021-09-18 16:28:35 +02:00
Anbraten
289f0c9ad6
Change pipeline config path resolution ( #299 )
...
# Config resolution
- pipeline-config setting empty / not specified (default): `.woodpecker/` => `.woodpecker.yml` => `.drone.yml`
- pipeline-config setting defined by user: try that file / folder and no fallback (if a user sets some special value that is normally done for some reason)
# Changes
- pipeline-config setting will be empty by default
- remove fallback setting for config loading (simplifies config)
---
closes #133
---
* adjust config fetching mechanism
* default path empty
* remove fallback flag from ui and db
2021-09-17 21:40:43 +02:00
Anbraten
34cfabb56d
Fix filter pipeline config files ( #279 )
...
closes #271
- filter pipeline config folders for `.yml` and `.yaml` files
- improve `fetchConfig` tests
- update remote mock and correct wrong folder name `mock` => `mocks` to match package name
- fix: return correct filename for fallback
- improve config loading by checking if folder or not before sending api call
2021-08-30 22:54:21 +02:00
Anbraten
8aeae0a651
Use custom config path to sanitize build names ( #280 )
...
fix #270
2021-08-29 22:25:41 +02:00
Anbraten
1a67fc6e99
Use server-host as source for public links and warn if it is set to localhost ( #251 )
...
* Use server-host as source for public links
* use config and rm GetURL()
* fix: solve import cycle
Co-authored-by: 6543 <6543@obermui.de>
2021-08-20 16:32:52 +02:00
6543
70958acc44
update / remove drone dependencies ( #236 )
...
* include github.com/drone/signal
* update github.com/drone/envsubst
* move github.com/woodpecker-ci/expr to woodpecker org
2021-06-30 19:15:28 +02:00
Alex Eftimie
2ff91e6a05
Add support for path-prefix condition ( #174 )
...
Example:
```yaml
when:
path: '*.md'
```
should match only builds in which the commit added/removed or modified files with the *.md extension
Co-authored-by: 6543 <6543@obermui.de>
2021-06-28 23:50:35 +02:00
Paweł Bogusławski
68dbd488a9
Using configured server URL instead of obtained from request ( #175 )
...
Woodpecker should use configured server URL when creating self
URL-s for VCS UI and not depend on URL read from request. In
case of internal calls like answers for webhooks from Gitea
on backend, address in URL may be internal and this causes
Gitea to display CI status for commit with intenal URL
to woodpecker not external one.
2021-06-28 19:28:18 +02:00
6543
bfc4aa8059
Enforce code format ( #228 )
...
* format .drone.yml & go code
* improve .editorconfig
* extend Makefile
* enforce go code format
* fix space
* update deps
* clean up
2021-06-22 12:34:35 +02:00
Laszlo Fogas
c7ebd68232
Relaced laszlocph/woodpecker with woodpecker-ci/woodpecker
2021-05-25 14:08:27 +02:00
Laszlo Fogas
5ea7098569
Go 1.16, go fmt, go modules update
2021-02-19 09:43:03 +01:00
Laszlo Fogas
14636cc226
Merge pull request #119 from imduffy15/owner-filter
...
Add whitelist for syncable owners
2020-05-20 06:53:24 +02:00
Ian
1f8b3c4a45
Fix mistakes caused from splitting out into PRs
2020-05-19 13:20:29 +01:00
Ian
0d90789422
Add whitelist for syncable owners
2020-05-18 16:58:59 +01:00
Ian
a11db91e49
Upgrade dependencies
2020-05-18 16:41:15 +01:00
Laszlo Fogas
a63a74053e
Administration articles moved
2019-11-13 20:04:14 +01:00
Laszlo Fogas
0970d3a971
Make version number visible in UI
2019-11-12 21:42:05 +01:00
Laszlo Fogas
8dee34878d
Version is now a string coming from ldlags and git tags
2019-11-12 21:10:16 +01:00
Laszlo Fogas
61a14df51b
Pull in frontend
2019-11-12 14:27:39 +01:00
Laszlo Fogas
e2a7917c83
Merge pull request #74 from mhmxs/test-parallel
...
Make test execution parallel in server
2019-10-08 15:52:21 +02:00
mhmxs
1196222a14
Make test execution parallel in server
2019-10-06 20:30:06 +02:00
mhmxs
72743424fa
Proc status update tests
2019-10-04 18:27:46 +02:00
Laszlo Fogas
d8fe50dfa7
Iterating on cance;ation logic
2019-09-16 15:19:09 +02:00
mhmxs
db4876aabc
Create separate Go file for proc status updates
2019-09-15 07:29:45 +02:00
mhmxs
53258bf989
Format source code
2019-09-14 14:21:16 +02:00
mhmxs
fd361ddf2a
Create separate Go file for build status updates
2019-09-14 14:20:16 +02:00
Laszlo Fogas
1c306dd1d4
Surface parsing error in branch filter
2019-09-09 09:53:54 +02:00
Laszlo Fogas
630c383181
Project is renamed to Woodpecker
2019-08-27 13:07:19 +02:00
Laszlo Fogas
1f83f0f198
After filterItemsWithMissingDependencies introduced, the next id can be higher than the length of procs
2019-07-23 14:10:44 +02:00
Laszlo Fogas
3bb0f64025
Handling zero-steps as transitive dependencies
2019-07-22 14:29:15 +02:00
Laszlo Fogas
6879bf62cb
Handling zero-step pipelines as multi-pipeline depedencies
2019-07-22 14:13:46 +02:00
Laszlo Fogas
ed51df29b3
Factor out sideeffects
2019-07-22 13:45:01 +02:00
Laszlo Fogas
b7f61fc81d
Queue knows about skipped tasks now to handle transitive deps
2019-07-22 12:44:03 +02:00
Laszlo Fogas
906c0c7a0d
Merge remote-tracking branch 'origin/master' into zero-steps
...
* origin/master:
Reinstate simplified gating logic
2019-07-20 21:15:50 +02:00
Laszlo Fogas
d560643b26
Calculating build steps early on to cut short cases without any runnable steps
2019-07-19 10:13:02 +02:00
Laszlo Fogas
c303a4d463
If there are no steps, it shouldn't yield a proc
2019-07-19 09:18:40 +02:00
Laszlo Fogas
2edc5fcfb7
Pid ID refactor
2019-07-19 09:17:47 +02:00
Laszlo Fogas
2cd5d8c02b
Reinstate simplified gating logic
2019-07-18 14:21:05 +02:00
Laszlo Fogas
05ca66cc97
Moved to woodpecker-ui
2019-07-09 13:23:08 +02:00
Laszlo Fogas
1d564e978f
More prometheus metrics, refactoring
2019-06-28 14:28:41 +02:00
Laszlo Fogas
8bb5770636
Endpoint that blocks until there are running builds
2019-06-28 08:42:06 +02:00
Laszlo Fogas
d39dd6f2ff
Pause/Resume queue
2019-06-28 08:29:57 +02:00
Laszlo Fogas
ace264fe2f
Persist intended URL through the OAuth flow
2019-06-27 08:25:00 +02:00
Laszlo Fogas
8d79f8671e
Fallback to default config. Allows incremental rollout of custom-path
2019-06-25 13:45:43 +02:00
Laszlo Fogas
84564f9ae5
.drone.yml takes precedence over configured path. Allows incremental rollout
2019-06-25 09:46:18 +02:00
Laszlo Fogas
580b7b272f
Pipeline path configurable
2019-06-24 09:04:30 +02:00
Laszlo Fogas
eed92421c9
Branch conditions on pipelines
2019-06-19 09:36:54 +02:00
Laszlo Fogas
fded153328
Gated builds is disabled as I don't understand the feature
2019-06-19 09:01:17 +02:00
Laszlo Fogas
69de8face1
Handling canceled, skipped builds
2019-06-19 08:36:13 +02:00