Skip to content

Commit

Permalink
refactor: Move folder to dedicated repository (#1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
flemzord authored Sep 26, 2024
1 parent 57c8fa2 commit b37d1df
Show file tree
Hide file tree
Showing 1,248 changed files with 64 additions and 151,702 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: ./.github/actions/env
- run: >
earthly
--allow-privileged --auto-skip
--allow-privileged
--secret SPEAKEASY_API_KEY=$SPEAKEASY_API_KEY
${{ contains(github.event.pull_request.labels.*.name, 'no-cache') && '--no-cache' || '' }}
+pre-commit
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
uses: ./.github/actions/env
- run: >
earthly
--no-output --auto-skip
--no-output
--allow-privileged
--secret SPEAKEASY_API_KEY=$SPEAKEASY_API_KEY
${{ contains(github.event.pull_request.labels.*.name, 'no-cache') && '--no-cache' || '' }}
Expand All @@ -72,7 +72,7 @@ jobs:
uses: ./.github/actions/env
- run: >
earthly
--no-output --auto-skip
--no-output
--allow-privileged
--secret SPEAKEASY_API_KEY=$SPEAKEASY_API_KEY
${{ contains(github.event.pull_request.labels.*.name, 'no-cache') && '--no-cache' || '' }}
Expand Down
20 changes: 16 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ VERSION 0.8
PROJECT FormanceHQ/stack

IMPORT github.com/formancehq/earthly:tags/v0.15.0 AS core
IMPORT github.com/formancehq/ledger:main AS ledger
IMPORT github.com/formancehq/payments:main AS payments
IMPORT github.com/formancehq/gateway:main AS gateway
IMPORT github.com/formancehq/auth:main AS auth
IMPORT github.com/formancehq/search:main AS search
IMPORT github.com/formancehq/stargate:main AS stargate
IMPORT github.com/formancehq/webhooks:main AS webhooks


sources:
FROM core+base-image
Expand All @@ -22,10 +30,14 @@ build-final-spec:
COPY releases/openapi-merge.json .
RUN mkdir ./build

FOR c IN payments ledger
COPY (./components/$c+openapi/openapi.yaml) /src/components/$c/
END
FOR c IN auth webhooks search wallets reconciliation orchestration gateway
COPY (ledger+openapi/openapi.yaml) /src/components/ledger/
COPY (payments+openapi/openapi.yaml) /src/components/payments/
COPY (gateway+openapi/openapi.yaml) /src/ee/gateway/
COPY (auth+openapi/openapi.yaml) /src/ee/auth/
COPY (search+openapi/openapi.yaml) /src/ee/search/
COPY (webhooks+openapi/openapi.yaml) /src/ee/webhooks/

FOR c IN wallets reconciliation orchestration
COPY (./ee/$c+openapi/openapi.yaml) /src/ee/$c/
END

Expand Down
3 changes: 1 addition & 2 deletions components/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ deploy-staging:
run:
LOCALLY
ARG --required TARGET
BUILD ./ledger+$TARGET
BUILD ./operator+$TARGET
BUILD ./payments+$TARGET

136 changes: 0 additions & 136 deletions components/ledger/.all-contributorsrc

This file was deleted.

14 changes: 0 additions & 14 deletions components/ledger/.dockerignore

This file was deleted.

9 changes: 0 additions & 9 deletions components/ledger/.github/CODEOWNERS

This file was deleted.

1 change: 0 additions & 1 deletion components/ledger/.github/FUNDING.yml

This file was deleted.

27 changes: 0 additions & 27 deletions components/ledger/.github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

22 changes: 0 additions & 22 deletions components/ledger/.github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions components/ledger/.github/dependabot.yml

This file was deleted.

23 changes: 0 additions & 23 deletions components/ledger/.github/labeler.yml

This file was deleted.

33 changes: 0 additions & 33 deletions components/ledger/.github/workflows/main.yml

This file was deleted.

Loading

0 comments on commit b37d1df

Please sign in to comment.