Skip to content

Commit

Permalink
chore(release): [ci skip] bump quickstart image to sha256@6891b65dcae…
Browse files Browse the repository at this point in the history
…9ab479b696a33921a230bdf46f336b23b0a24cac5fb5e4a35b0c1
  • Loading branch information
galoybot committed Mar 22, 2024
1 parent d02c36b commit e926243
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 26 deletions.
7 changes: 5 additions & 2 deletions quickstart/dev/config/apollo-federation/supergraph.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,9 @@ type Query
onChainUsdTxFee(address: OnChainAddress!, amount: CentAmount!, speed: PayoutSpeed! = FAST, walletId: WalletId!): OnChainUsdTxFee! @join__field(graph: PUBLIC)
onChainUsdTxFeeAsBtcDenominated(address: OnChainAddress!, amount: SatAmount!, speed: PayoutSpeed! = FAST, walletId: WalletId!): OnChainUsdTxFee! @join__field(graph: PUBLIC)

"""Returns 1 Sat and 1 Usd Cent price for the given currency"""
"""
Returns 1 Sat and 1 Usd Cent price for the given currency in minor unit
"""
realtimePrice(currency: DisplayCurrency = "USD"): RealtimePrice! @join__field(graph: PUBLIC)
userDefaultWalletId(username: Username!): WalletId! @join__field(graph: PUBLIC) @deprecated(reason: "will be migrated to AccountDefaultWalletId")
usernameAvailable(username: Username!): Boolean @join__field(graph: PUBLIC)
Expand Down Expand Up @@ -1631,7 +1633,8 @@ type RealtimePrice
@join__type(graph: PUBLIC)
{
btcSatPrice: PriceOfOneSatInMinorUnit!
denominatorCurrency: DisplayCurrency!
denominatorCurrency: DisplayCurrency! @deprecated(reason: "Deprecated in favor of denominatorCurrencyDetails")
denominatorCurrencyDetails: Currency!
id: ID!

"""
Expand Down
6 changes: 3 additions & 3 deletions quickstart/docker-compose.tmpl.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#@ load("@ytt:data", "data")

#@ galoy_api_image_digest = "sha256@f9e01805537dd11c7f0184414f67260c5e210bf621ec9adff2f488e034857a27"
#@ galoy_trigger_image_digest = "sha256@5d4ebed6e9521cc267563d118aed5ab2103cf28d2fa9c2649d68af0a33e0be9b"
#@ mongodb_migrate_image_digest = "sha256@2b5d57b30a708b2de677b5e353c59c19ea9865daec38a2a5ba2b6c94a022a0f2"
#@ galoy_api_image_digest = "sha256@6891b65dcae9ab479b696a33921a230bdf46f336b23b0a24cac5fb5e4a35b0c1"
#@ galoy_trigger_image_digest = "sha256@dfe1dbe3709a1ffc8aea4dbd11adae2e0fad36e0a165b105bad80c5f4ffb3d26"
#@ mongodb_migrate_image_digest = "sha256@987866fa9e8db5399b816978be1db9f8bd2fa41b80b957c2c1bbcbde7e2922b7"
#@ galoy_notifications_image_digest = "sha256@21fb3caae150b425142439d6f0c0b8d7c84d63377649c2831cfad3519e4b976b"

#@ core_env = [
Expand Down
6 changes: 3 additions & 3 deletions quickstart/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ services:
- POSTGRES_PASSWORD=secret
- POSTGRES_DB=hydra
galoy:
image: us.gcr.io/galoy-org/galoy-api@sha256:f9e01805537dd11c7f0184414f67260c5e210bf621ec9adff2f488e034857a27
image: us.gcr.io/galoy-org/galoy-api@sha256:6891b65dcae9ab479b696a33921a230bdf46f336b23b0a24cac5fb5e4a35b0c1
environment:
- HELMREVISION=dev
- NETWORK=regtest
Expand Down Expand Up @@ -161,7 +161,7 @@ services:
aliases:
- bats-tests
trigger:
image: us.gcr.io/galoy-org/galoy-api-trigger@sha256:5d4ebed6e9521cc267563d118aed5ab2103cf28d2fa9c2649d68af0a33e0be9b
image: us.gcr.io/galoy-org/galoy-api-trigger@sha256:dfe1dbe3709a1ffc8aea4dbd11adae2e0fad36e0a165b105bad80c5f4ffb3d26
environment:
- HELMREVISION=dev
- NETWORK=regtest
Expand Down Expand Up @@ -254,7 +254,7 @@ services:
environment:
- MONGO_INITDB_DATABASE=galoy
mongodb-migrate:
image: us.gcr.io/galoy-org/galoy-api-migrate@sha256:2b5d57b30a708b2de677b5e353c59c19ea9865daec38a2a5ba2b6c94a022a0f2
image: us.gcr.io/galoy-org/galoy-api-migrate@sha256:987866fa9e8db5399b816978be1db9f8bd2fa41b80b957c2c1bbcbde7e2922b7
depends_on:
- mongodb
environment:
Expand Down
7 changes: 7 additions & 0 deletions quickstart/graphql/gql/my-updates-sub.gql
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ subscription myUpdates {
... on RealtimePrice {
id
timestamp
denominatorCurrencyDetails {
flag
fractionDigits
id
name
symbol
}
denominatorCurrency
btcSatPrice {
base
Expand Down
7 changes: 7 additions & 0 deletions quickstart/graphql/gql/real-time-price-sub.gql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ subscription realtimePrice($currency: DisplayCurrency!) {
realtimePrice {
id
timestamp
denominatorCurrencyDetails {
flag
fractionDigits
id
name
symbol
}
denominatorCurrency
btcSatPrice {
base
Expand Down
22 changes: 22 additions & 0 deletions quickstart/graphql/gql/real-time-price.gql
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
query RealtimePrice($currency: DisplayCurrency) {
realtimePrice(currency: $currency) {
btcSatPrice {
base
offset
}
denominatorCurrencyDetails {
flag
fractionDigits
id
name
symbol
}
denominatorCurrency
id
timestamp
usdCentPrice {
base
offset
}
}
}
7 changes: 5 additions & 2 deletions quickstart/graphql/schemas/public/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,9 @@ type Query {
onChainUsdTxFee(address: OnChainAddress!, amount: CentAmount!, speed: PayoutSpeed! = FAST, walletId: WalletId!): OnChainUsdTxFee!
onChainUsdTxFeeAsBtcDenominated(address: OnChainAddress!, amount: SatAmount!, speed: PayoutSpeed! = FAST, walletId: WalletId!): OnChainUsdTxFee!

"""Returns 1 Sat and 1 Usd Cent price for the given currency"""
"""
Returns 1 Sat and 1 Usd Cent price for the given currency in minor unit
"""
realtimePrice(currency: DisplayCurrency = "USD"): RealtimePrice!
userDefaultWalletId(username: Username!): WalletId! @deprecated(reason: "will be migrated to AccountDefaultWalletId")
usernameAvailable(username: Username!): Boolean
Expand All @@ -1260,7 +1262,8 @@ type QuizClaimPayload {

type RealtimePrice {
btcSatPrice: PriceOfOneSatInMinorUnit!
denominatorCurrency: DisplayCurrency!
denominatorCurrency: DisplayCurrency! @deprecated(reason: "Deprecated in favor of denominatorCurrencyDetails")
denominatorCurrencyDetails: Currency!
id: ID!

"""
Expand Down
24 changes: 12 additions & 12 deletions quickstart/vendir.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@ apiVersion: vendir.k14s.io/v1alpha1
directories:
- contents:
- git:
commitTitle: 'refactor(core): move intraledger send locked steps into function
(#4181)...'
sha: d087845ddbb5044c0eede2691c47ccd0b912157b
commitTitle: 'refactor(core): add price currency to real time price query/subscriptions
(#4212)...'
sha: d02c36bd2199d657680875478210faa2a80064a4
tags:
- 0.20.128-2-gd087845dd
- 0.20.129-1-gd02c36bd2
path: ./
path: dev
- contents:
- git:
commitTitle: 'refactor(core): move intraledger send locked steps into function
(#4181)...'
sha: d087845ddbb5044c0eede2691c47ccd0b912157b
commitTitle: 'refactor(core): add price currency to real time price query/subscriptions
(#4212)...'
sha: d02c36bd2199d657680875478210faa2a80064a4
tags:
- 0.20.128-2-gd087845dd
- 0.20.129-1-gd02c36bd2
path: schemas/
- git:
commitTitle: 'refactor(core): move intraledger send locked steps into function
(#4181)...'
sha: d087845ddbb5044c0eede2691c47ccd0b912157b
commitTitle: 'refactor(core): add price currency to real time price query/subscriptions
(#4212)...'
sha: d02c36bd2199d657680875478210faa2a80064a4
tags:
- 0.20.128-2-gd087845dd
- 0.20.129-1-gd02c36bd2
path: gql/
path: ./graphql
kind: LockConfig
6 changes: 3 additions & 3 deletions quickstart/vendir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ directories:
- path: ./
git:
url: https://github.com/GaloyMoney/galoy.git
ref: d087845ddbb5044c0eede2691c47ccd0b912157b
ref: d02c36bd2199d657680875478210faa2a80064a4
includePaths:
- dev/**/*
excludePaths:
Expand All @@ -18,15 +18,15 @@ directories:
- path: schemas/
git:
url: https://github.com/GaloyMoney/galoy.git
ref: d087845ddbb5044c0eede2691c47ccd0b912157b
ref: d02c36bd2199d657680875478210faa2a80064a4
includePaths:
- core/api/src/graphql/public/schema.graphql
- core/api/src/graphql/admin/schema.graphql
newRootPath: core/api/src/graphql
- path: gql/
git:
url: https://github.com/GaloyMoney/galoy.git
ref: d087845ddbb5044c0eede2691c47ccd0b912157b
ref: d02c36bd2199d657680875478210faa2a80064a4
includePaths:
- bats/gql/**/*
newRootPath: bats/gql
2 changes: 1 addition & 1 deletion quickstart/vendir/values.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#@data/values
---
galoy_git_ref: d087845ddbb5044c0eede2691c47ccd0b912157b
galoy_git_ref: d02c36bd2199d657680875478210faa2a80064a4

0 comments on commit e926243

Please sign in to comment.