From 9b8539e3738501ab1b8a130ffec0188c62db29fa Mon Sep 17 00:00:00 2001 From: Ragot Geoffrey Date: Tue, 27 Feb 2024 16:50:54 +0100 Subject: [PATCH] feat: use main for earthly core (#1290) --- Earthfile | 2 +- components/Earthfile | 2 +- components/fctl/Earthfile | 2 +- components/ledger/Earthfile | 2 +- components/ledger/libs/Earthfile | 2 +- components/operator/Earthfile | 2 +- components/payments/Earthfile | 2 +- ee/Earthfile | 2 +- ee/agent/Earthfile | 2 +- ee/auth/Earthfile | 2 +- ee/gateway/Earthfile | 2 +- ee/orchestration/Earthfile | 2 +- ee/reconciliation/Earthfile | 2 +- ee/search/Earthfile | 2 +- ee/stargate/Earthfile | 2 +- ee/wallets/Earthfile | 2 +- ee/webhooks/Earthfile | 2 +- helm/Earthfile | 2 +- helm/regions/Earthfile | 2 +- libs/go-libs/Earthfile | 2 +- releases/Earthfile | 2 +- tests/benchmarks/Earthfile | 2 +- tests/integration/Earthfile | 2 +- tools/operator-utils/Earthfile | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Earthfile b/Earthfile index 9708e6b1e8..cf82bcd594 100644 --- a/Earthfile +++ b/Earthfile @@ -1,6 +1,6 @@ VERSION --arg-scope-and-set --pass-args --use-function-keyword 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core sources: diff --git a/components/Earthfile b/components/Earthfile index 2ba30478b2..dce4aa68e4 100644 --- a/components/Earthfile +++ b/components/Earthfile @@ -1,6 +1,6 @@ VERSION --arg-scope-and-set --pass-args --use-function-keyword 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT .. AS stack diff --git a/components/fctl/Earthfile b/components/fctl/Earthfile index 981c80299a..5b349fe439 100644 --- a/components/fctl/Earthfile +++ b/components/fctl/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/components/ledger/Earthfile b/components/ledger/Earthfile index 830338bd52..676efe5568 100644 --- a/components/ledger/Earthfile +++ b/components/ledger/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/components/ledger/libs/Earthfile b/components/ledger/libs/Earthfile index c042bf61f6..e1df0cd8ad 100644 --- a/components/ledger/libs/Earthfile +++ b/components/ledger/libs/Earthfile @@ -1,6 +1,6 @@ VERSION --arg-scope-and-set --pass-args --use-function-keyword 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core FROM core+base-image diff --git a/components/operator/Earthfile b/components/operator/Earthfile index 63b74a9904..035e86129a 100644 --- a/components/operator/Earthfile +++ b/components/operator/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack IMPORT .. AS components diff --git a/components/payments/Earthfile b/components/payments/Earthfile index e750ee8c72..8c098b7920 100644 --- a/components/payments/Earthfile +++ b/components/payments/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/ee/Earthfile b/ee/Earthfile index 2ba30478b2..dce4aa68e4 100644 --- a/ee/Earthfile +++ b/ee/Earthfile @@ -1,6 +1,6 @@ VERSION --arg-scope-and-set --pass-args --use-function-keyword 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT .. AS stack diff --git a/ee/agent/Earthfile b/ee/agent/Earthfile index 8a331ff682..8c723c9dd3 100644 --- a/ee/agent/Earthfile +++ b/ee/agent/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/ee/auth/Earthfile b/ee/auth/Earthfile index 872c4d9239..0f624dac38 100644 --- a/ee/auth/Earthfile +++ b/ee/auth/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/ee/gateway/Earthfile b/ee/gateway/Earthfile index 9c6f4def17..5f64238c3c 100644 --- a/ee/gateway/Earthfile +++ b/ee/gateway/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/ee/orchestration/Earthfile b/ee/orchestration/Earthfile index ebff6b4abe..56d9df324f 100644 --- a/ee/orchestration/Earthfile +++ b/ee/orchestration/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/ee/reconciliation/Earthfile b/ee/reconciliation/Earthfile index b20e4d6e94..b29e6acd7b 100644 --- a/ee/reconciliation/Earthfile +++ b/ee/reconciliation/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/ee/search/Earthfile b/ee/search/Earthfile index 67625846c2..dd112af8fc 100644 --- a/ee/search/Earthfile +++ b/ee/search/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/ee/stargate/Earthfile b/ee/stargate/Earthfile index 3f2a376cb0..c26dd0c942 100644 --- a/ee/stargate/Earthfile +++ b/ee/stargate/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/ee/wallets/Earthfile b/ee/wallets/Earthfile index 2135e9e456..61e804b16e 100644 --- a/ee/wallets/Earthfile +++ b/ee/wallets/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/ee/webhooks/Earthfile b/ee/webhooks/Earthfile index 95bd33e924..3d3c6a93ac 100644 --- a/ee/webhooks/Earthfile +++ b/ee/webhooks/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/helm/Earthfile b/helm/Earthfile index 3d6ef878bf..f27f2fd109 100644 --- a/helm/Earthfile +++ b/helm/Earthfile @@ -1,6 +1,6 @@ VERSION --arg-scope-and-set --pass-args --use-function-keyword 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT .. AS stack diff --git a/helm/regions/Earthfile b/helm/regions/Earthfile index 289b7a84a1..4968ccf0c4 100644 --- a/helm/regions/Earthfile +++ b/helm/regions/Earthfile @@ -1,6 +1,6 @@ VERSION --arg-scope-and-set --pass-args --use-function-keyword 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/libs/go-libs/Earthfile b/libs/go-libs/Earthfile index c042bf61f6..e1df0cd8ad 100644 --- a/libs/go-libs/Earthfile +++ b/libs/go-libs/Earthfile @@ -1,6 +1,6 @@ VERSION --arg-scope-and-set --pass-args --use-function-keyword 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core FROM core+base-image diff --git a/releases/Earthfile b/releases/Earthfile index 3676cd7c59..ba179ff4d2 100644 --- a/releases/Earthfile +++ b/releases/Earthfile @@ -1,6 +1,6 @@ VERSION --arg-scope-and-set --pass-args --use-function-keyword 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ./../ AS stack diff --git a/tests/benchmarks/Earthfile b/tests/benchmarks/Earthfile index 887d11412a..2ca00eb042 100644 --- a/tests/benchmarks/Earthfile +++ b/tests/benchmarks/Earthfile @@ -1,6 +1,6 @@ VERSION --arg-scope-and-set --pass-args --use-function-keyword 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack diff --git a/tests/integration/Earthfile b/tests/integration/Earthfile index 4c83824210..99b99328e6 100644 --- a/tests/integration/Earthfile +++ b/tests/integration/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack IMPORT ../../releases AS releases diff --git a/tools/operator-utils/Earthfile b/tools/operator-utils/Earthfile index d13e491144..1b39272290 100644 --- a/tools/operator-utils/Earthfile +++ b/tools/operator-utils/Earthfile @@ -1,6 +1,6 @@ VERSION --pass-args --arg-scope-and-set 0.7 -ARG core=github.com/formancehq/earthly:v0.11.1 +ARG core=github.com/formancehq/earthly IMPORT $core AS core IMPORT ../.. AS stack IMPORT .. AS components