Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove legacy dealer #3958

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ This repo includes charts for:
- [`galoy`](https://github.com/GaloyMoney/galoy) Our bitcoin banking application
- [`galoy-pay`](https://github.com/GaloyMoney/galoy-pay)
- [`admin-panel`](https://github.com/GaloyMoney/admin-panel)
- [`dealer`](https://github.com/GaloyMoney/dealer)
- [`price`](https://github.com/GaloyMoney/price)

- [`bitcoind`](https://github.com/bitcoin/bitcoin) Bitcoin full node
Expand Down
23 changes: 0 additions & 23 deletions charts/dealer/.helmignore

This file was deleted.

6 changes: 0 additions & 6 deletions charts/dealer/Chart.lock

This file was deleted.

25 changes: 0 additions & 25 deletions charts/dealer/Chart.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions charts/dealer/templates/_helpers.tpl

This file was deleted.

10 changes: 0 additions & 10 deletions charts/dealer/templates/dealer-app-configmap.yaml

This file was deleted.

97 changes: 0 additions & 97 deletions charts/dealer/templates/dealer-deployment.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions charts/dealer/templates/dealer-price-service.yml

This file was deleted.

17 changes: 0 additions & 17 deletions charts/dealer/templates/dealer-service.yml

This file was deleted.

39 changes: 0 additions & 39 deletions charts/dealer/values.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions charts/monitoring/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,37 +84,6 @@ prometheus:
action: replace
target_label: namespace

- job_name: 'dealer'

scrape_interval: 1m
scrape_timeout: 45s

kubernetes_sd_configs:
- role: pod

relabel_configs:
- source_labels: [__meta_kubernetes_pod_name]
regex: '.*dealer.*'
action: keep
- source_labels: [__meta_kubernetes_pod_label_app_kubernetes_io_instance]
action: replace
target_label: pod
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
action: keep
regex: true
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
action: replace
target_label: __metrics_path__
regex: (.+)
- source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
action: replace
regex: ([^:]+)(?::\d+)?;(\d+)
replacement: $1:$2
target_label: __address__
- source_labels: [__meta_kubernetes_namespace]
action: replace
target_label: namespace

- job_name: 'kube-state-metrics'

scrape_interval: 5s
Expand Down
26 changes: 1 addition & 25 deletions ci/pipeline-fragments.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ source:

#@ bitcoin_charts = ["bitcoind", "lnd", "rtl", "specter", "bria", "fulcrum", "mempool"]

#@ addons_charts = ["admin-panel", "dealer", "galoy-pay", "web-wallet"]
#@ addons_charts = ["admin-panel", "galoy-pay", "web-wallet"]

#@ def testflight_job(chart, deployment, vars = {}):
name: #@ testflight_job_name(chart)
Expand Down Expand Up @@ -129,9 +129,6 @@ plan:
trigger: true
- { get: pipeline-tasks }
- { get: galoy-deployments }
#@ if chart == "dealer":
- get: #@ repo_resource_name(chart)
#@ end
- task: #@ "bump-" + chart
config:
platform: linux
Expand All @@ -149,27 +146,6 @@ plan:
GITHUB_SSH_KEY: #@ data.values.github_private_key
run:
path: pipeline-tasks/ci/tasks/bump-chart.sh
#@ if chart == "dealer":
- task: #@ "bump-" + chart + "-dashboard"
config:
platform: linux
image_resource: #@ task_image_config()
inputs:
- name: #@ chart_resource_name(chart)
path: chart
- name: #@ repo_resource_name(chart)
- name: pipeline-tasks
- name: galoy-deployments
outputs:
- name: galoy-deployments
params:
REPO: #@ repo_resource_name(chart)
CHART: #@ chart
BRANCH: #@ data.values.deployments_git_branch
GITHUB_SSH_KEY: #@ data.values.github_private_key
run:
path: pipeline-tasks/ci/tasks/bump-dealer-dashboard.sh
#@ end
- put: galoy-deployments
params:
repository: galoy-deployments
Expand Down
2 changes: 0 additions & 2 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,6 @@ resources:
- #@ testflight_tf_resource("galoy")
- #@ slack_resource("galoy")

- #@ repo_resource("dealer")

- #@ chart_repo_resource("stablesats")
- #@ testflight_tf_resource("stablesats")
- #@ slack_resource("stablesats")
Expand Down
Loading
Loading