Commit graph

39 commits

Author SHA1 Message Date
Thomas Anderson
6c9469f610
Improved Local backend detection (#4006)
Co-authored-by: 6543 <6543@obermui.de>
2024-08-07 12:04:10 +02:00
6543
aa276403b3
Update alpine package dep for docker images (#3917) 2024-07-16 21:39:23 +02:00
Anbraten
2c7edbf4c8
Fix config loading of cli (#3764) 2024-06-06 13:30:08 +02:00
renovate[bot]
eb5f35b296
chore(deps): update docker.io/alpine docker tag to v3.20 (#3735)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 07:34:05 +02:00
renovate[bot]
c6b2cd8a48
chore(deps): update node.js to v22 (#3659) 2024-04-28 11:14:03 +02:00
Robert Kaussow
daf673a857
Add make target for spellcheck (#3648) 2024-04-26 07:51:10 +02:00
Robert Kaussow
781628816d
Fix make in_docker generate (#3616) 2024-04-15 17:46:44 +02:00
renovate[bot]
7544abde62
chore(deps): update dependency alpine_3_18/ca-certificates to v20240226 (#3501)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| alpine_3_18/ca-certificates | major | `20230506-r0` -> `20240226-r0` |

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge -
"before 4am" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 14:28:17 +01:00
smainz
65a429d24a
Fix usage of WOODPECKER_DATABASE_DATASOURCE_FILE (#3404)
fixes #3389

Set variable to let server detect if it's deployed within a container
image.
Set the default database connection based on this.

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-02-26 20:12:41 +01:00
renovate[bot]
e1e1e8b137
chore(deps): update docker.io/golang docker tag (#3391)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| docker.io/golang |  | minor | `1.21.6` -> `1.22.0` |
| docker.io/golang | final | minor | `1.21` -> `1.22` |
| docker.io/golang | stage | minor | `1.21-alpine3.18` ->
`1.22-alpine3.18` |
| docker.io/golang | stage | minor | `1.21` -> `1.22` |

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge -
"before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 16:40:46 +01:00
qwerty287
af513b5a30
Fix build output paths (#3065)
closes https://github.com/woodpecker-ci/woodpecker/issues/1766
2023-12-29 20:30:20 +01:00
renovate[bot]
7ee0bc4033
chore(deps): update docker.io/alpine docker tag to v3.19 (#2970)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| docker.io/alpine |  | minor | `3.18` -> `3.19` |
| docker.io/alpine | final | minor | `3.18` -> `3.19` |

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge -
"before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/woodpecker-ci/woodpecker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-19 06:10:22 +01:00
Patrick Schratz
fd8f35a879
Fix pinned alpine package versions (#2713) 2023-11-03 15:41:44 +01:00
Patrick Schratz
ec62a1d0c6
Pin alpine versions in Dockerfile (#2649) 2023-11-01 23:46:03 +01:00
6543
037703028e
Fix typo in golang image name (#2696) 2023-11-01 17:01:34 +01:00
Robert Kaussow
1f7c087074
Use full qualifyer for images (#2692)
Supersedes https://github.com/woodpecker-ci/woodpecker/pull/1659

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-11-01 15:25:48 +01:00
renovate[bot]
54a2572051
chore(deps): update node.js to v21 (#2615) 2023-10-22 08:10:42 +02:00
renovate[bot]
af34458008
chore(deps): update node.js to v20 (#2422) 2023-09-12 07:41:12 +02:00
renovate[bot]
4a7203f097
chore(deps): update golang docker tag (#2396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 17:01:26 +02:00
6543
db34d3f39a
Docker build dont ignore ci env vars (#2238)
close  #2236
2023-08-18 16:39:18 +02:00
Robert Kaussow
84b597478f
Add ping command to server to allow container healthchecks (#2030)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1943

Note: Kubernetes ignores the container `HEALTHCHECK` by default.

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-07-25 15:55:29 +02:00
Robert Kaussow
669abdf690
Add makefile to make container and .pnpn-store to gitignore (#1996)
Running `make in_docker ...` on a fresh system failed:

```
 => CACHED [stage-1 3/6] COPY --from=golang_image /usr/local/go /usr/local/go                                                                                                                                                                            0.0s
 => ERROR [stage-1 4/6] RUN make install-tools &&   mv /root/go/bin/* /usr/local/go/bin/ &&   chmod 755 /usr/local/go/bin/*                                                                                                                              0.1s
------                                                                                                                                                                                                                                                        
 > [stage-1 4/6] RUN make install-tools &&   mv /root/go/bin/* /usr/local/go/bin/ &&   chmod 755 /usr/local/go/bin/*:
0.132 make: *** No rule to make target 'install-tools'.  Stop.
------
Dockerfile.make:14
--------------------
  13 |     # Cache tools
  14 | >>> RUN make install-tools && \
  15 | >>>   mv /root/go/bin/* /usr/local/go/bin/ && \
  16 | >>>   chmod 755 /usr/local/go/bin/*
  17 |     
--------------------
```

Fixed after adding the Makefile to the make container.
2023-07-14 16:14:00 +02:00
Timo Tomasini
eb5c48a85f
Store agent ID in config file (#1888) 2023-07-02 17:22:05 +02:00
6543
101e684059
make in_docker work again (#1830) 2023-06-06 18:29:40 +02:00
Patrick Schratz
820cec9466
Update alpine images to 3.18 (#1765)
Fresh out of the oven! Tested with custom images, no issues encountered.

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2023-05-18 10:08:35 +02:00
Lauris BH
46452fbd84
Update Go dependencies and minimal Go version to 1.20 (#1650)
Signed-off-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@obermui.de>
2023-03-21 00:48:15 +01:00
Josh Soref
e7c8ed00e6
Makefile tweaks (#1410)
make CGO optional and fix a bug

Co-authored-by: 6543 <6543@obermui.de>
2022-11-22 23:39:49 +01:00
Anbraten
dbbd369c9a
Migrate to certmagic (#360)
closes #219
closes #850

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2022-09-04 03:24:42 +02:00
6543
65587e3e30
use yaml alias and adjust build targets for docker images (#1143)
- use yaml alias for plaftorms settings
- add linux/s390x for agent/cli release
- add linux/riscv64
- remove darwin as mac use linux in hypervisor for docker
2022-08-31 16:27:06 +02:00
6543
86cbd63dc2
Update base images (#1024)
update alpine base image to current stable
and cross-build with golang v1.18
2022-07-17 09:41:32 +02:00
6543
17999da20f
Minim golang 1.18 and drop vendor folder (#979) 2022-06-17 01:57:02 +02:00
relnod
da99f47553
Build multiarch images for server (#821)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <anton@ju60.de>
2022-03-01 16:40:24 +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
6543
c2b0c1d73e
Multiarch build cli docker images (#634) 2021-12-21 16:51:23 +01:00
6543
9c7691094a
Add multiarch support agent (#622)
- Makefile
  - Delete _with-docker
  - Fix version creation
  - Add default values for  TARGETOS & TARGETARCH
- Add multiarch Dockerfile for agent
- pipeline config
  - target more platforms for agent docker builds (windows & darwin)

close #181, close #187
2021-12-21 02:35:48 +01:00
Anbraten
06800cb61e
Change paths to use woodpecker instead of drone (#494)
* change paths to use woodpecker instead of drone

* improve sql file migration

* add migration notice
2021-10-28 14:02:43 -05:00
Anbraten
d15c642f91
Release cli images (#404)
* release cli images

* update docs

Co-authored-by: 6543 <6543@obermui.de>
2021-10-04 23:47:21 +02:00
Anbraten
78c977f3b1
correct bin path (#402) 2021-10-04 21:45:01 +02:00
6543
e3354e440f
Publish alpine container (#398)
* Enable build & publish of alpine docker container
 * Delete outdated BUILD file
 * Move Dockerfiles into subdir "docker"
 * Update & format Dockerfiles
 * Introduce "next" tag

Co-authored-by: Anbraten <anton@ju60.de>
2021-10-04 17:09:22 +02:00