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

Job Launcher - vercel config #832

Merged
merged 20 commits into from
Aug 28, 2023
Merged

Job Launcher - vercel config #832

merged 20 commits into from
Aug 28, 2023

Conversation

portuu3
Copy link
Collaborator

@portuu3 portuu3 commented Aug 25, 2023

Description

Implement changes to make Job Launcher work on vercel

Summary of changes

  • Create vercel.json file.
  • Create endpoint for cron job. This is the only way I found to make it work with vercel cron jobs.
  • Split launch job into 3 steps: launch, fund and call webhook. This way if fund fails we can retry funding it later, otherwise we crate a new escrow every time we retry.
  • Change absolute routes to relative ones.
  • Download swagger files as static to make job launcher work on vercel.

How test the changes

yarn test

Operational checklist

  • All new functionality is covered by tests
  • Any related documentation has been changed or added

@portuu3 portuu3 added the WIP Work In Progress label Aug 25, 2023
@portuu3 portuu3 self-assigned this Aug 25, 2023
@vercel
Copy link

vercel bot commented Aug 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
escrow-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 2:06pm
faucet-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 2:06pm
fortune-exchange-oracle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 2:06pm
fortune-exchange-oracle-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 2:06pm
fortune-job-launcher-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 2:06pm
fortune-job-launcher-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 2:06pm
fortune-recording-oracle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 2:06pm
fortune-reputation-oracle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 2:06pm
job-launcher-server ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 2:06pm

@vercel vercel bot temporarily deployed to Preview – fortune-reputation-oracle August 25, 2023 15:39 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-recording-oracle August 25, 2023 15:45 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-server August 25, 2023 15:47 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle August 25, 2023 15:50 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-client August 25, 2023 15:53 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle-server August 25, 2023 15:55 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-recording-oracle August 28, 2023 07:56 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-server August 28, 2023 09:11 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-client August 28, 2023 09:11 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-recording-oracle August 28, 2023 09:13 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle August 28, 2023 09:14 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle-server August 28, 2023 09:14 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-reputation-oracle August 28, 2023 09:15 Inactive
@portuu3 portuu3 changed the title Feat/vercel config Job Launcher - vercel config Aug 28, 2023
@portuu3 portuu3 added Oracles and removed WIP Work In Progress labels Aug 28, 2023
eugenvoronov
eugenvoronov previously approved these changes Aug 28, 2023
@vercel vercel bot temporarily deployed to Preview – fortune-recording-oracle August 28, 2023 14:02 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-job-launcher-server August 28, 2023 14:03 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle-server August 28, 2023 14:05 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-exchange-oracle August 28, 2023 14:06 Inactive
@vercel vercel bot temporarily deployed to Preview – fortune-reputation-oracle August 28, 2023 14:06 Inactive
@portuu3 portuu3 merged commit 0d36bba into develop Aug 28, 2023
8 checks passed
@portuu3 portuu3 deleted the feat/vercel-config branch August 28, 2023 14:42
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.

3 participants