Skip to content

Commit

Permalink
chore: remove some infrastructure tests (moved to dedicated repositor…
Browse files Browse the repository at this point in the history
…y) (#596)

* feat: some pulumi split

* wip

* feat: add dataset gen

* wip

* wip

* feat: test CI

* chore: clean

* wip
  • Loading branch information
gfyrag authored Dec 5, 2024
1 parent a7263c1 commit b69289b
Show file tree
Hide file tree
Showing 27 changed files with 1,318 additions and 1,597 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,46 +78,6 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

TestsDeployments:
runs-on: "formance-runner"
if: github.event_name == 'pull_request'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-deployments-tests
cancel-in-progress: false
steps:
- uses: 'actions/checkout@v4'
with:
fetch-depth: 0
- name: Setup Env
uses: ./.github/actions/env
with:
token: ${{ secrets.NUMARY_GITHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: "NumaryBot"
password: ${{ secrets.NUMARY_GITHUB_TOKEN }}
- run: >
earthly
--allow-privileged
--no-output
--push
--secret GITHUB_TOKEN=$GITHUB_TOKEN
--secret KUBE_APISERVER=$KUBE_APISERVER
--secret KUBE_TOKEN=$KUBE_TOKEN
--secret PULUMI_ACCESS_TOKEN=$PULUMI_ACCESS_TOKEN
${{ contains(github.event.pull_request.labels.*.name, 'no-cache') && '--no-cache' || '' }}
./test/rolling-upgrades+run
--CLUSTER_NAME ledger-${{ github.event.number }}
--NO_CLEANUP=${{ contains(github.event.pull_request.labels.*.name, 'no-cleanup') && 'true' || 'false' }}
--NO_CLEANUP_ON_FAILURE=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
KUBE_APISERVER: ${{ secrets.FORMANCE_DEV_KUBE_API_SERVER_ADDRESS }}
KUBE_TOKEN: ${{ secrets.FORMANCE_DEV_KUBE_TOKEN }}
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
GoReleaser:
runs-on: "formance-runner"
if: contains(github.event.pull_request.labels.*.name, 'build-images') || github.ref == 'refs/heads/main' || github.event_name == 'merge_group'
Expand Down
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ pre-commit:
BUILD +generate-client
BUILD +export-docs-events

BUILD ./test/*+pre-commit
BUILD ./tools/*+pre-commit
BUILD ./deployments/*+pre-commit

openapi:
FROM node:20-alpine
Expand Down
23 changes: 0 additions & 23 deletions deployments/helm/.helmignore

This file was deleted.

24 changes: 0 additions & 24 deletions deployments/helm/Chart.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions deployments/helm/Earthfile

This file was deleted.

5 changes: 0 additions & 5 deletions deployments/helm/README.md

This file was deleted.

22 changes: 0 additions & 22 deletions deployments/helm/templates/NOTES.txt

This file was deleted.

62 changes: 0 additions & 62 deletions deployments/helm/templates/_helpers.tpl

This file was deleted.

86 changes: 0 additions & 86 deletions deployments/helm/templates/deployment.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions deployments/helm/templates/hpa.yaml

This file was deleted.

61 changes: 0 additions & 61 deletions deployments/helm/templates/ingress.yaml

This file was deleted.

Loading

0 comments on commit b69289b

Please sign in to comment.