-
Notifications
You must be signed in to change notification settings - Fork 6
fix: update build scripts #148
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
Conversation
|
Summary of Changes: The main purpose of these changes is to make the process of passing the environment file path from the What exactly changed?1. Temporary File Handling
2. Result File Passing
3. Cleanup
4. Optional Variable Added
Why are these changes necessary?Problems with the Old Approach
In SummaryThese changes:
In one sentence: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed multiple slots by deploying the experimental build of lite node, with Snapshotter CLI.
Investigated the slot launch screen for logs, and everything seems okay
ℹ️ Auto-selected existing environment file: ./.env-mainnet-UNISWAPV2-ETH
🟢 Using environment file: ./.env-mainnet-UNISWAPV2-ETH
🟢 Operating on selected environment file: ./.env-mainnet-UNISWAPV2-ETH
🔔 ./.env-mainnet-UNISWAPV2-ETH has OVERRIDE_DEFAULTS=true. Preserving existing overrides.
🔍 Overriding POWERLOOM_CHAIN in ./.env-mainnet-UNISWAPV2-ETH with value: mainnet (existing value: MAINNET)
🔍 Adding new variable SNAPSHOT_CONFIG_REPO_COMMIT to ./.env-mainnet-UNISWAPV2-ETH with value: cc740e46687ecd6732e11bd59fa7918db82099f5
🔍 Adding new variable SNAPSHOTTER_COMPUTE_REPO_COMMIT to ./.env-mainnet-UNISWAPV2-ETH with value: ebb5bbf66122de45fae10c9ef908102e010a8b24
🔍 Skipping update for CONNECTION_REFRESH_INTERVAL_SEC, using existing value: 75
🔍 Skipping update for TELEGRAM_NOTIFICATION_COOLDOWN, using existing value: 300
🔔 Skipping credential update prompts due to --skip-credential-update flag
🔔 LOCAL_COLLECTOR_PORT not found in ./.env-mainnet-UNISWAPV2-ETH, setting to default value 50051 and adding to file.
🔔 MAX_STREAM_POOL_SIZE not found in ./.env-mainnet-UNISWAPV2-ETH, setting to default value 2 and adding to file.
🔍 Overriding MAX_STREAM_POOL_SIZE in ./.env-mainnet-UNISWAPV2-ETH with value: 2 (existing value: 10)
🔔 STREAM_HEALTH_CHECK_TIMEOUT_MS not found in ./.env-mainnet-UNISWAPV2-ETH, setting to default value 5000 and adding to file.
🔍 Adding new variable STREAM_HEALTH_CHECK_TIMEOUT_MS to ./.env-mainnet-UNISWAPV2-ETH with value: 5000
🔔 STREAM_WRITE_TIMEOUT_MS not found in ./.env-mainnet-UNISWAPV2-ETH, setting to default value 5000 and adding to file.
🔍 Adding new variable STREAM_WRITE_TIMEOUT_MS to ./.env-mainnet-UNISWAPV2-ETH with value: 5000
🔔 MAX_WRITE_RETRIES not found in ./.env-mainnet-UNISWAPV2-ETH, setting to default value 3 and adding to file.
🔍 Adding new variable MAX_WRITE_RETRIES to ./.env-mainnet-UNISWAPV2-ETH with value: 3
🔔 MAX_CONCURRENT_WRITES not found in ./.env-mainnet-UNISWAPV2-ETH, setting to default value 4 and adding to file.
🔍 Adding new variable MAX_CONCURRENT_WRITES to ./.env-mainnet-UNISWAPV2-ETH with value: 4
🔔 TELEGRAM_MESSAGE_THREAD_ID not found in ./.env-mainnet-UNISWAPV2-ETH, setting to default value and adding to file.
🔍 Adding new variable TELEGRAM_MESSAGE_THREAD_ID to ./.env-mainnet-UNISWAPV2-ETH with value:
✅ Configuration complete. Environment file ready at ./.env-mainnet-UNISWAPV2-ETH
🔗 Reported env file to build script: ./.env-mainnet-UNISWAPV2-ETH
Untagged: snapshotter-lite-setup:latest
Deleted: sha256:0f6f474ddbe4c3d1f1555831399783db4c618a2621afa9c67bf1f3091d91b14d
ℹ️ Setup container configured: ./.env-mainnet-UNISWAPV2-ETH
🔔 LOCAL_COLLECTOR_IMAGE_TAG found in .env, using value latest
🏗️ Running snapshotter-lite-v2 node Docker image with tag experimental
SwaroopH
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - confirmed with noe1 on Discord who was facing the permission issue
https://discord.com/channels/777248105636560948/1063022869040353300/1412364828118618142
|
@halfdoctor Thank you for the contribution! Commits to all our repos require |
This pull request updates the build scripts.