-
Notifications
You must be signed in to change notification settings - Fork 188
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
Collaborator - user not able to login to accepts the invite. #213
Comments
Apparently, there's an issue with ECS cluster task not updating, after latest image is pushed to ECR. |
@andsus So, if I understand this correctly, the issue is the external URL not being updated from https://app.stratospheric.dev/ to https://app.devops.prime-video.amazon.dev/ after a new deployment? The Can you provide a link to a GitHub repository with a project that experiences this issue? |
@BjoernKW |
@rieckpil Do you have an idea as to what this issue might be caused by? The code in the linked repository looks correct to me. |
If the URL is pointing to If your re-deployment fails, I would take a look at that, as from the code perspective it looks fine. To manually trigger a new service deployment, you need to attach the Docker Image Tage you want to deploy:
Make sure to previously push a new Docker Image to the ECR and use x64 for the CPU arch. |
The steps to deploy application
- Gradle build
- docker build todo-app and tag latest
- docker push to ecr
- check ecr got latest tag image
- npm deploy:service. Read the parameters from cdk.json
I am using
dockerImageUrl and dockerImageTag
https://github.com/andsus/todo-app/blob/main/cdk/cdk.json
I noticed the ecs doesn't redeploy .
Using AWS ecs update-service --force triggered redeployment.
Would passing the parameters running npm run solves the problem?
…On Sun, Jul 9, 2023, 11:36 PM Philip Riecks ***@***.***> wrote:
If the URL is pointing to https://app.stratospheric.dev and you change it
inside your applicaiton.yml afterwards, you have to re-deploy the whole
application.
If your re-deployment fails, I would take a look at that, as from the code
perspective it looks fine.
To manually trigger a new service deployment, you need to attach the
Docker Image Tage you want to deploy:
npm run service:deploy -- -c dockerImageTag=YOUR_IMAGE_TAG_WITH_UPDATED_APPLICATION_YML
—
Reply to this email directly, view it on GitHub
<#213 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFKBE3ZAWVBUJ4YNE3COBLXPOPGTANCNFSM6AAAAAA2CJJ5WI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
What's going wrong and not working?
Steps:
someone shared a Todo from https://app.stratospheric.dev/ with you.
Information about the shared Todo item:
Title: Let's build
Description: Let's build the document
Priority: LOW
You can accept the collaboration by clicking this link: https://app.stratospheric.dev/todo/1/collaborations/2/confirm?token=f59f6892-d4c2-4374-803a-540e42fae860
How do I trouble shoot the problem?
What would be the problem.
Thanks
Kind regards,
Stratospheric
Expected outcome
User B should be able to authenticated and authorized to accept invitation.
On application.yaml, the external_url is set to:
custom:
invitation-codes: DUKE, HELLO_WORLD, STRATOSPHERIC # TODO: outsource them -> e.g. env variable or database
sharing-queue: stratospheric-todo-sharing
external-url: https://app.devops.prime-video.amazon.dev/
public TodoSharingListener(
MailSender mailSender,
TodoCollaborationService todoCollaborationService,
@value("${custom.auto-confirm-collaborations}") boolean autoConfirmCollaborations,
@value("${custom.confirm-email-from-address}") String confirmEmailFromAddress,
@value("${custom.external-url}") String externalUrl) {
this.mailSender = mailSender;
this.todoCollaborationService = todoCollaborationService;
this.autoConfirmCollaborations = autoConfirmCollaborations;
this.confirmEmailFromAddress = confirmEmailFromAddress;
this.externalUrl = externalUrl;
}
Why TodoSharingListener.listenToSharingMessages() got https://app.stratospheric.dev/ instead of https://app.devops.prime-video.amazon.dev/
No response
The text was updated successfully, but these errors were encountered: