Commit graph

21 commits

Author SHA1 Message Date
Jamie Tanna
fde0305037
feat: show Renovate CLI version more prominently in logs (#983)
As noted in #969, it would be useful to have a more prominent output in
the logs to indicate the version of the Renovate CLI being used.

This would help with both personal debugging (for administrators of the
GitHub Action) and for raising issues upstream.

To do this, we can call the `--version` on the CLI, capture the output
and report it back to the user.

By using a Notice annotation, we can then make it more visible at the
job- and step-level.

We can then also wrap it in a `group`, so it's hidden in its own
expandable group (with timing information).

Closes #969.
2025-12-15 11:21:29 +00:00
Michael Kriese
7f974c0f8a
feat: enable tty for docker run (#974)
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / release (push) Blocked by required conditions
feat: enable tty to docker run
2025-12-12 15:57:18 +01:00
Michael Kriese
e8fc25c747
build: compile as esm (#888) 2024-11-08 15:32:08 +00:00
Michael Kriese
4d91b7f286
fix(refactor): use named imports (#879)
Allows better tree shaking while bundling.
2024-11-08 13:41:42 +01:00
Mike Ryan
c0afe86658
feat: add docker-socket-host-path input (#862)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-09-30 10:24:25 +00:00
Taras
c928c7fe82
feat: Add docker-network input param (#853)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-07-01 09:15:33 +00:00
Michael Kriese
392d12b000
feat: use async fs (#826) 2024-02-12 10:20:31 +00:00
Michael Kriese
bd7200cde8
chore: prepare for prettier v3 (#818) 2024-02-08 13:03:56 +00:00
r-binder
fcce0a0ee8
feat(volume-mount): mount docker volumes as input (#797)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-12-05 17:03:15 +00:00
Cédric Cabessa
8d4ffe3283
feat: allow to override docker command and user (#783)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-10-16 09:16:31 +00:00
Mahé
7c65b94442
feat: add mount-docker-socket option (#749)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-05-26 17:33:35 +00:00
Michael Kriese
2b734bc8d8
feat!: use default docker user (#737)
BREAKING CHANGE: The action now uses the default docker user again.
2023-05-12 08:17:28 +00:00
Jamie Magee
1bf6b3ad0a
refactor: use @tsconfig/node16 (#721) 2023-04-26 07:51:16 +02:00
renovate[bot]
fedfacb882
fix(deps)!: update renovate/renovate docker tag to v35 (#702)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-10 13:08:08 +00:00
Michael Kriese
827e51874a
feat!: remove docker socket and change to current user (#700) 2023-03-10 13:18:34 +01:00
Mario Valderrama
e18dc08b62
feat: Allow using non-slim renovate image (#626)
Signed-off-by: Mario Valderrama <mario.valderrama@ionos.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-23 14:39:19 +00:00
Michael Kriese
d7c9fe4fd7
fix: use numeric docker user (#553) 2021-08-23 09:36:55 +00:00
Jeroen de Bruijn
9c8a784d88
feat: add passing of Renovate environment variables (#534)
Inputs may now be provided using environment variables, as well as the existing inputs. None of the
inputs are required any more, so it is possible to use only environment variables. Nevertheless all
inputs must be provided in some way, either using the input or their corresponding environment
variables.

BREAKING CHANGE: The `configurationFile` input no longer has a default value. This means that a
value for it is now required using the `configurationFile` input or the `RENOVATE_CONFIG_FILE`
environment variable.

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-08 09:42:52 +01:00
Jeroen de Bruijn
3aa72249b9
fix: throw error if docker group cannot be found (#78) 2020-05-11 21:39:15 +02:00
Michael Kriese
9b8645713e
feat: use slim image (#61)
- mount docker.sock and /tmp to renovate
- use slim image

Co-authored-by: Jeroen de Bruijn <vidavidorra+jdbruijn@gmail.com>
Co-authored-by: Jeroen de Bruijn <62570005+jdbruijn@users.noreply.github.com>
2020-05-08 06:55:32 +02:00
Jeroen de Bruijn
ec8a542458
refactor: convert project to typescript (#47)
* refactor: convert project to typescript

* fix: image as last argument of docker run

* ci: remove example as the build can act as example

* fix: set tokenEnv to RENOVATE_TOKEN

* fix: add trailing single quite to Docker --env arguments

* fix: mount volume with config file to Docker container

* chore: remove Prettier trailingComma on all

This puts it back at the default, which is es5 style.

* fix: correct package main to dist/indes.js

* fix: use @actions/exec to execute docker child process

* fix: use async/await for exec

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* fix: use async/await in the runner

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-05-04 08:19:15 +02:00