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

[Issue #1625] Deploy to staging and prod, fix path #1636

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

coilysiren
Copy link
Collaborator

@coilysiren coilysiren commented Apr 8, 2024

Summary

Fixes #1625

Time to review: 2 mins

Changes proposed

  • fixes an instance of a path being hardcoded to ./data
  • adds staging and prod terraform configuration

Testing

staging

Staging step function running successfully:

image

output is here: https://betagrantsgov.slack.com/archives/C06L7JGT9M0/p1712613628944219

prod

Prod step function running successfully:

image

output is here: https://betagrantsgov.slack.com/archives/C064Y8VNW14/p1712613702615029

Comment on lines +53 to +54
"Name" : "OUTPUT_DIR",
"Value" : "/tmp/",
Copy link
Collaborator Author

@coilysiren coilysiren Apr 8, 2024

Choose a reason for hiding this comment

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

Only /tmp is writable in ECS, but the previous code was hardcoding data as an output directory.

The error message that code produced, was:

OSError: [Errno 30] Read-only file system: 'data'

So this changes the code from writing to data to writing to /tmp

@coilysiren coilysiren changed the title deploy to staging and prod [Issue #1625] Deploy to staging and prod, fix path Apr 8, 2024
@coilysiren coilysiren marked this pull request as ready for review April 8, 2024 22:06
coilysiren added a commit that referenced this pull request Apr 9, 2024
## Summary
Relates to #1625

### Time to review: __1 mins__

## Changes proposed

Deletes the analytics workflow Github action. This change is being made
because this workflow has moved into AWS step functions. The proof of
this code working on AWS step functions is here:
#1636
@coilysiren coilysiren merged commit 3c21adf into main Apr 9, 2024
8 checks passed
@coilysiren coilysiren deleted the analytics-staging-prod branch April 9, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task]: Delivery Dashboard - deploy staging and prod analytics applications
2 participants