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

feat: GH Actions workflow to support coordinator auto-deployment to Fargate #1504

Merged
merged 1 commit into from
May 23, 2024

Conversation

ntampakas
Copy link
Contributor

@ntampakas ntampakas commented May 23, 2024

Description

With this PR, a new GH Actions workflow is introduced to enable coordinator auto deployment to a dedicated AWS Fargate cluster, each time there is a push to the dev branch.

The workflow execution triggers the following events:

  • Authentication against AWS using short lived credentials to specific cloud resources
  • Docker image build
  • Image upload to AWS Repository (ECR)
  • Update ECS cluster deployment with the latest image

The endpoint can be reached at: http://maci-coordinator.pse.dev:8545

Confirmation

Copy link

vercel bot commented May 23, 2024

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

Name Status Preview Updated (UTC)
maci-website ✅ Ready (Inspect) Visit Preview May 23, 2024 5:04pm

@ctrlc03 ctrlc03 force-pushed the ecs_coordinator branch from e2321a5 to 1c010f3 Compare May 23, 2024 08:38
@ntampakas ntampakas changed the title [MACI/Coordinator] GH Actions workflow to support auto-deployment to Fargate feat: GH Actions workflow to support coordinator auto-deployment to Fargate May 23, 2024
Copy link
Collaborator

@0xmad 0xmad left a comment

Choose a reason for hiding this comment

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

@ntampakas thanks, just left some comments

.github/workflows/coordinator-deploy.yml Outdated Show resolved Hide resolved
coordinator/apps/Dockerfile Outdated Show resolved Hide resolved
coordinator/apps/Dockerfile Outdated Show resolved Hide resolved
@0xmad 0xmad enabled auto-merge May 23, 2024 17:15
Copy link
Collaborator

@0xmad 0xmad left a comment

Choose a reason for hiding this comment

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

@ntampakas thanks!

@0xmad 0xmad merged commit 321a0c9 into privacy-scaling-explorations:dev May 23, 2024
21 checks passed
Copy link

gitpoap-bot bot commented May 23, 2024

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2024 MACI Contributor:

GitPOAP: 2024 MACI Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

@ntampakas ntampakas deleted the ecs_coordinator branch May 23, 2024 17:17
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.

2 participants