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

fix(archive): dburl check #2071

Merged
merged 4 commits into from
Sep 26, 2023
Merged

fix(archive): dburl check #2071

merged 4 commits into from
Sep 26, 2023

Conversation

Ivansete-status
Copy link
Collaborator

@Ivansete-status Ivansete-status commented Sep 22, 2023

Description

This is to make the database URL regex to accept . and - within the hostname.
Also, the user and password fields can be anything not empty.

notes:

  • also cleaning dead code in apps/wakunode2/external_config.nim.
  • creating the temporary quay image with POSTGRES=1 in .github/workflows/container-image.yml

How to test

  1. Run nwaku with --store-message-db-url = "postgres://nim-waku-user:nim-waku-pass@store-db-01.do-ams3.shards.test.wg:5432/postgres".
  2. The node should start and complain about not being able to resolve the host name but it shouldn't complain anything about the db URL format.

Issue

status-im/infra-shards#8 (comment)

@Ivansete-status Ivansete-status self-assigned this Sep 22, 2023
@github-actions
Copy link

This PR may contain changes to configuration options of one of the apps.

If you are introducing a breaking change (i.e. the set of options in latest release would no longer be applicable) make sure the original option is preserved with a deprecation note for 2 following releases before it is actually removed.

Please also make sure the label release-notes is added to make sure any changes to the user interface are properly announced in changelog and release notes.

@github-actions
Copy link

github-actions bot commented Sep 22, 2023

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:2071

Built from 3453b30

Copy link
Contributor

@SionoiS SionoiS left a comment

Choose a reason for hiding this comment

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

LGTM

@Ivansete-status
Copy link
Collaborator Author

Sorry for the mess. I need first to submit a PR where the POSTGRES=1 is properly set so that the Docker image is built with Postgres support.

This can't be merged yet.

Copy link
Contributor

@NagyZoltanPeter NagyZoltanPeter left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@Ivansete-status Ivansete-status merged commit a27d005 into master Sep 26, 2023
9 of 10 checks passed
@Ivansete-status Ivansete-status deleted the fix-dburl-check branch September 26, 2023 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants