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

Add Docker Configuration for Executor #189

Merged
merged 1 commit into from
Nov 13, 2022
Merged

Conversation

RPate97
Copy link
Collaborator

@RPate97 RPate97 commented Nov 13, 2022

Purpose

Adds Docker container configuration for the executor.

You'll need to install Docker Desktop to test this feature locally.

Testing

  1. In the root directory run yarn build.
  2. Navigate to the plugins directory and run a local node npx hardhat node --local false.
  3. Navigate to the executor directory, make a copy of .env.example, rename it to .env, and fill in the values (the Amplitude API key is optional).
  4. Build the container yarn build-container
  5. Run the container yarn run-container
  6. You should see the container start up and output some logs. After ~20 seconds, you'll see logs indicating that the test contract from the plugins package was executed.

You can also try out deploying other projects with the executor using npx hardhat chugsplash-deploy --local false.

Todo

  • Test against Optimism Goerli

@RPate97 RPate97 force-pushed the pate/docker-container branch 2 times, most recently from 63d8851 to 423326e Compare November 13, 2022 01:16
@RPate97 RPate97 requested a review from sam-goldman November 13, 2022 01:16
@RPate97 RPate97 force-pushed the pate/docker-container branch from 5c74010 to 17f262c Compare November 13, 2022 22:08
@RPate97 RPate97 force-pushed the pate/docker-container branch from 17f262c to 2e70cde Compare November 13, 2022 22:32
@RPate97 RPate97 requested a review from sam-goldman November 13, 2022 22:35
@RPate97 RPate97 force-pushed the pate/docker-container branch from 2e70cde to 6669060 Compare November 13, 2022 23:40
@mergify
Copy link
Contributor

mergify bot commented Nov 13, 2022

This PR has been added to the merge queue, and will be merged soon.

@mergify mergify bot merged commit a43e0e3 into develop Nov 13, 2022
@mergify mergify bot deleted the pate/docker-container branch November 13, 2022 23:42
@mergify
Copy link
Contributor

mergify bot commented Nov 13, 2022

This PR is next in line to be merged, and will be merged as soon as checks pass.

@mergify mergify bot removed the on-merge-train label Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants