-
Notifications
You must be signed in to change notification settings - Fork 2
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: add AWS S3 bucket as "Send" destination for staging envs only #2999
Conversation
value: Destination.S3, | ||
label: "Upload to AWS S3 bucket", | ||
}); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than introduce a feature-flag here which we'll then have to communicate to Editors how to use - I figure we can just only display this option on non-prod environments at first? It also throws an alert with warning message if anyone outside of Barnet selects it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this works well I think 👍
@@ -76,7 +84,8 @@ const SendComponent: React.FC<Props> = (props) => { | |||
|
|||
// Show warnings on selection of BOPS or Uniform for likely unsupported services | |||
// Don't actually restrict selection because flowSlug matching is imperfect for some valid test cases | |||
const flowSlug = window.location.pathname?.split("/")?.[1]; | |||
const teamSlug = window.location.pathname?.split("/")?.[1]; | |||
const flowSlug = window.location.pathname?.split("/")?.[2]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The flowSlug
index was actually wrong here, but only impacted the in-editor warning messages - now fixed throughout!
Removed vultr server and associated DNS entries |
value: Destination.S3, | ||
label: "Upload to AWS S3 bucket", | ||
}); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this works well I think 👍
Editor-side changes for the Barnet prototype described in linked Trello ticket. API changes to follow in a separate PR