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

[Helm] Updated the helm package to deploy the upgraded blockscout version #1129

Merged

Conversation

jcortejoso
Copy link
Member

Description

Updated the Helm Package to deploy the new version of Blockscout

Tested

No yet tested. Before testing, celo-org/blockscout#8 has to be merged, the new image generated, adapt the image tag to latest or configure a different docker tag in the helm variables, and then deploy to verify.

Related issues

Backwards compatibility

The deployment changes a bit the approach (one unique docker image for the two containers, the indexed and the web, with a different command.

@@ -7,8 +7,7 @@ promtosd:
blockscout:
image:
repository: gcr.io/celo-testnet/blockscout
webTag: web
indexerTag: indexer
tag: latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason you used latest specifically here? We generally use specific tags because docker will often not pull if it already has a tag

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @nambrot,
No any specific reason. Now there is not need for two different images, so I picked latest as default value, but if we are versioning or any other patter I think it is very appropriate.

@codecov
Copy link

codecov bot commented Sep 27, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@740bbda). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1129   +/-   ##
=========================================
  Coverage          ?   65.87%           
=========================================
  Files             ?      271           
  Lines             ?     8061           
  Branches          ?      559           
=========================================
  Hits              ?     5310           
  Misses            ?     2638           
  Partials          ?      113
Flag Coverage Δ
#mobile 65.87% <ø> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 740bbda...f56669b. Read the comment docs.

@jcortejoso jcortejoso changed the title Updated the helm package to deploy the upgraded blockscout version [Helm] Updated the helm package to deploy the upgraded blockscout version Oct 1, 2019
@jcortejoso jcortejoso force-pushed the feature/helm-blockscout-update branch 2 times, most recently from 14f6042 to feb3052 Compare October 2, 2019 10:30
@@ -44,6 +44,16 @@ volumes:
value: {{ .Values.blockscout.jsonrpc_ws_url }}
- name: DATABASE_URL
value: postgres://$(DB_USERNAME):$(DB_PASSWORD)@127.0.0.1:5432/{{ .Values.blockscout.db.name }}
- name: DATABASE_USER
value: $(DB_USERNAME)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably easiest to just rename the above variables?

@jcortejoso jcortejoso force-pushed the feature/helm-blockscout-update branch 3 times, most recently from 0913d88 to b52593c Compare October 8, 2019 14:43
@jcortejoso jcortejoso marked this pull request as ready for review October 8, 2019 14:44
@jcortejoso jcortejoso requested a review from timmoreton as a code owner October 8, 2019 14:44
@jcortejoso jcortejoso force-pushed the feature/helm-blockscout-update branch 2 times, most recently from 6499a41 to 0fff638 Compare October 8, 2019 14:53
@jcortejoso jcortejoso force-pushed the feature/helm-blockscout-update branch from 4ff425d to d728b67 Compare October 10, 2019 16:14
@nambrot nambrot assigned jcortejoso and unassigned nambrot Oct 16, 2019
@nambrot nambrot removed their assignment Oct 18, 2019
@nambrot
Copy link
Contributor

nambrot commented Oct 18, 2019

@diminator Why did you assign me to this PR? Looks like I already approved it and no changes happened since then

@diminator
Copy link
Contributor

Ok, no worries. If all is good then @jcortejoso can merge

@nambrot nambrot added the automerge Have PR merge automatically when checks pass label Oct 23, 2019
@celo-ci-bot-user celo-ci-bot-user merged commit be9a7f0 into celo-org:master Oct 23, 2019
tkporter added a commit that referenced this pull request Oct 24, 2019
aaronmgdr added a commit that referenced this pull request Oct 24, 2019
* master:
  [Wallet] Wallet can switch between hosted and local node (#1419)
  [Wallet] Prevent error from Avatar when name is missing (#1454)
  [Wallet] Show splash screen until JS is ready on iOS (#1453)
  Use new segment api keys used by both iOS and Android (#1452)
  [Wallet] Don't log all props, which includes i18n (#1445)
  [Helm] Updated the helm package to deploy the upgraded blockscout version (#1129)
  Tiny copy change (#1429)
  [contractkit] SortedOraclesWrapper + tests (#1405)
  [wallet] Refactor leftover thunk to sagas (#1388)
  [Wallet] Fix repeated QR code scanning and related navigation issues (#1439)
  [Wallet] Show the currency values with correct rounding. (#1435)
  [Wallet] Fix firebase initialization error on iOS after reinstalling the app (#1423)
  [Wallet] Use exit on iOS since we can't restart like Android (#1424)
  [Wallet] Update local currency styles and layout (#1325)
  Reset pincode cache if unlock fails (#1430)
tkporter added a commit that referenced this pull request Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Users SBAT see only Celo networks (Alfajores, Betanet) on blockscout
5 participants