Skip to content

Commit

Permalink
ci: label workloads
Browse files Browse the repository at this point in the history
  • Loading branch information
krtk6160 committed Nov 9, 2023
1 parent 2d64618 commit ed2c975
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dev/addons/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,5 @@ k8s_yaml(helm(
namespace = addons_namespace,
values = ['./api-dashboard-values.yml']
))

k8s_resource(workload='api-dashboard', labels='addons')
9 changes: 8 additions & 1 deletion dev/bitcoin/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ helm_release(
values=['./bitcoind-regtest-values.yml']
)

k8s_resource(workload='bitcoind', labels='bitcoin')

k8s_yaml(secret_from_dict(
name='bitcoind-onchain-rpcpassword',
namespace=bitcoin_namespace,
Expand All @@ -48,6 +50,8 @@ helm_release(
values=['./bitcoind-regtest-values.yml', './bitcoind-onchain-values.yml']
)

k8s_resource(workload='bitcoind-onchain', labels='bitcoin')

local_resource(
name="bitcoind-block-generator",
cmd='./generateBlock.sh',
Expand All @@ -62,6 +66,7 @@ helm_resource(
flags=[
'--values=./lnd-regtest-values.yml',
],
labels='bitcoin'
# resource_deps=["bitcoind-block-generator"],
)

Expand All @@ -72,7 +77,7 @@ helm_release(
values=['./loop-values.yml'],
)

k8s_resource(workload='loop1', resource_deps=['lnd1'])
k8s_resource(workload='loop1', resource_deps=['lnd1'], labels='bitcoin')

# TODO: uncomment fulcrum when we actually use it
# helm_resource(
Expand Down Expand Up @@ -120,6 +125,8 @@ helm_release(
add_repos=True
)

k8s_resource(workload='bria', labels='bitcoin')

# TODO: uncomment mempool when we actually use it
# helm_resource(
# name="mempool",
Expand Down
4 changes: 3 additions & 1 deletion dev/stablesats/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,7 @@ helm_release(
dependency_build=True
)


k8s_resource(workload='stablesats-price', labels='stablesats')
# TODO: Fix stablesats dealer, involves provisioning phone and code and injecting into both galoy and stablesats
k8s_resource(workload='stablesats-dealer', pod_readiness='ignore')
k8s_resource(workload='stablesats-dealer', pod_readiness='ignore', labels='stablesats')

0 comments on commit ed2c975

Please sign in to comment.