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

DPLT-1084 Add support for Runner infrastructure #166

Merged
merged 10 commits into from
Aug 7, 2023

Conversation

morgsmccauley
Copy link
Collaborator

@morgsmccauley morgsmccauley commented Aug 4, 2023

This PR contains various changes to support the new Runner infra. I've added comments inline to provide context to the changes.

@morgsmccauley morgsmccauley force-pushed the DPLT-1084-provision-infra-for-redis-handler branch 3 times, most recently from 4fe8d93 to a875e94 Compare August 6, 2023 23:01
@morgsmccauley morgsmccauley force-pushed the DPLT-1084-provision-infra-for-redis-handler branch from a875e94 to 7527250 Compare August 6, 2023 23:15
@morgsmccauley morgsmccauley changed the title DPLT-1084 Runner infra DPLT-1084 Runner Infra Aug 6, 2023
database: process.env.PG_ADMIN_DATABASE,
host: process.env.PG_HOST,
port: Number(process.env.PG_PORT),
user: process.env.PGUSER,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Now using node-postgres & Postgres specified environment variables, these don't actually need to be defined, but I'm just doing it for explicitness.

@@ -39,7 +39,7 @@ export default class Indexer {
this.network = network;
this.deps = {
fetch,
s3: new AWS.S3({ region: process.env.REGION }),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This env var has been changed to AWS_REGION, which is automatically pulled in from the environment.

@morgsmccauley morgsmccauley force-pushed the DPLT-1084-provision-infra-for-redis-handler branch from 51ad3be to 6ddc549 Compare August 6, 2023 23:19
"prettier": "^3.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"dependencies": {
"@near-lake/primitives": "^0.1.0",
"pluralize": "^8.0.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Dev dependencies are stripped from the docker build, and this was incorrectly placed there.

@morgsmccauley morgsmccauley marked this pull request as ready for review August 6, 2023 23:21
@morgsmccauley morgsmccauley requested a review from a team as a code owner August 6, 2023 23:21
@morgsmccauley morgsmccauley changed the title DPLT-1084 Runner Infra DPLT-1084 Support for Runner infrastructure Aug 7, 2023
@morgsmccauley morgsmccauley changed the title DPLT-1084 Support for Runner infrastructure DPLT-1084 Add support for Runner infrastructure Aug 7, 2023
@morgsmccauley
Copy link
Collaborator Author

Merging as I need the Dockerfile in main so that the build triggers work :)

@morgsmccauley morgsmccauley merged commit ca7aefd into main Aug 7, 2023
@morgsmccauley morgsmccauley deleted the DPLT-1084-provision-infra-for-redis-handler branch August 7, 2023 03:00
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.

1 participant