From 2a724ce74334ff4e75d29a2c08526cb9910cb434 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sun, 4 Feb 2024 22:40:57 +0100 Subject: [PATCH] ci(earthly): Start moving common tasks into a library --- Earthfile | 4 +--- shared/earthly/Earthfile | 7 +++++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 shared/earthly/Earthfile diff --git a/Earthfile b/Earthfile index fdc3648a5..2451ddaea 100644 --- a/Earthfile +++ b/Earthfile @@ -80,6 +80,4 @@ docs-build: SAVE ARTIFACT ./docs/book AS LOCAL ./docs/book renovate-lint: - FROM ghcr.io/renovatebot/renovate - COPY ./renovate.json ./ - RUN renovate-config-validator + DO ./shared/earthly+RENOVATE_LINT diff --git a/shared/earthly/Earthfile b/shared/earthly/Earthfile new file mode 100644 index 000000000..e97f5b431 --- /dev/null +++ b/shared/earthly/Earthfile @@ -0,0 +1,7 @@ +VERSION 0.7 + +RENOVATE_LINT: + COMMAND + FROM ghcr.io/renovatebot/renovate + COPY ./renovate.json ./ + RUN renovate-config-validator -- GitLab