-
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
Update dockerfile and actions #732
Conversation
.github/workflows/dev-green.yml
Outdated
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |
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.
Realtime Signs doesn't have these secrets stored in the repo environments so I guess we'll have to add them. I thought though that we wanted to avoid saving AWS credentials in GitHub repos directly, or has that changed?
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.
You should be using v2
which uses a different connection type to AWS: https://github.com/mbta/busloc/blob/master/.github/workflows/staging.yml#L25-L34
Coverage of commit
|
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.
You might want to include a docker.yml
to ensure that the Dockerfile builds: https://github.com/mbta/busloc/blob/master/.github/workflows/docker.yml
.github/workflows/dev-green.yml
Outdated
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |
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.
You should be using v2
which uses a different connection type to AWS: https://github.com/mbta/busloc/blob/master/.github/workflows/staging.yml#L25-L34
COPY config/runtime.exs config\\runtime.exs | ||
RUN mix release | ||
COPY config/runtime.exs config/runtime.exs | ||
RUN mix release linux |
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.
I got an error at this line; did you mean to also check in a change to mix.exs
?
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.
Ah yes, thank you
Coverage of commit
|
Coverage of commit
|
Coverage of commit
|
Coverage of commit
|
Coverage of commit
|
Coverage of commit
|
Summary of changes
Asana Ticket: migrate realtime-signs to Linux cluster
New Dockerfile and github actions for moving Realtime Signs to run on linux