Skip to content

Conversation

gusinacio
Copy link
Contributor

No description provided.

Copy link
Contributor

github-actions bot commented Oct 14, 2024

Pull Request Test Coverage Report for Build 11348922333

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.05%) to 70.518%

Files with Coverage Reduction New Missed Lines %
tap-agent/src/agent/sender_account.rs 3 92.64%
Totals Coverage Status
Change from base Build 11348529131: -0.05%
Covered Lines: 4492
Relevant Lines: 6370

💛 - Coveralls

@gusinacio gusinacio force-pushed the gusinacio/migration-config branch from 954004e to 5d8bad9 Compare October 15, 2024 15:05
@gusinacio gusinacio force-pushed the gusinacio/migration-config branch from 5d8bad9 to 037cb41 Compare October 15, 2024 15:21
@gusinacio gusinacio marked this pull request as ready for review October 15, 2024 15:22
@gusinacio gusinacio merged commit fbdee8a into main Oct 15, 2024
10 checks passed
@gusinacio gusinacio deleted the gusinacio/migration-config branch October 15, 2024 17:28
Comment on lines +3 to +7
In case you want to quickly migrate from the old stack into the new stack, you can use the following two configurations to help you to migrate without changing too much fields.

You just need to drop the config, use it in the `--config` args and add some additional environment variables.

Please take a deeper look in the config, but 90% of the time you'll be safe just using it. If you find any issues using this config, feel free to open an issue.
Copy link
Collaborator

Choose a reason for hiding this comment

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

If you check a Markdown guide they say .md is supposed be formatted so that if you used cat in a terminal and thus limited to 80 chars per line. Up to you.

@@ -0,0 +1,34 @@
# Migration guide

In case you want to quickly migrate from the old stack into the new stack, you can use the following two configurations to help you to migrate without changing too much fields.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
In case you want to quickly migrate from the old stack into the new stack, you can use the following two configurations to help you to migrate without changing too much fields.
If you want to migrate quickly from the old stack to the new stack, you can use the following two configurations to help you to do so without changing too many fields.

INDEXER_SUBGRAPHS__ESCROW__DEPLOYMENT_ID=<escrow deployment id>
```

We recommend you migrating overtime to be fully in the configuration and don't need to provide multiple environment variables that can stay in plaintext, this will make your work easier.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
We recommend you migrating overtime to be fully in the configuration and don't need to provide multiple environment variables that can stay in plaintext, this will make your work easier.
We recommend gradually transitioning to a full configuration setup, so you won’t need to rely on multiple environment variables, especially those stored in plaintext. This will simplify your workflow and improve security.


The configuration doesn't accept booleans as strings, so in case you had `INDEXER_SERVICE_SERVE_NETWORK_SUBGRAPH` environment variable, please update to `INDEXER_SERVICE__SERVE_NETWORK_SUBGRAPH` and use `true/false` as values (or you could update directly in the configuration).

Please update the config accordingly. Also, check it out the explanation for each field in [config/minimal-config-example.toml](config/minimal-config-example.toml) and also [config/maximal-config-example.toml](config/maximal-config-example.toml)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Please update the config accordingly. Also, check it out the explanation for each field in [config/minimal-config-example.toml](config/minimal-config-example.toml) and also [config/maximal-config-example.toml](config/maximal-config-example.toml)
Please update the config accordingly. Also, check out the explanation for each field in [config/minimal-config-example.toml](config/minimal-config-example.toml) and also [config/maximal-config-example.toml](config/maximal-config-example.toml).

free_query_auth_token = "${INDEXER_SERVICE_FREE_QUERY_AUTH_TOKEN}"

########################################
# Specific configurations to tap-agent #
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
# Specific configurations to tap-agent #
# tap-agent configurations #

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was taken from our default values.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
# Specific configurations to tap-agent #
# Specific configurations for tap-agent #

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.

3 participants