Giter Site home page Giter Site logo

Comments (6)

andsus avatar andsus commented on August 15, 2024

Apparently, there's an issue with ECS cluster task not updating, after latest image is pushed to ECR.
I've run the aws ecs update-service --force to take redeploy.
Is there any npm run task associated with update-servce? I ran npm run service:deploy .. but it does not update ecs to redeploy.

from stratospheric.

BjoernKW avatar BjoernKW commented on August 15, 2024

@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 ServiceApp in the project's cdk folder should usually take care of that. Since we're using CDK for deployments, there should be no need to manually call update-service from the CLI.

Can you provide a link to a GitHub repository with a project that experiences this issue?

from stratospheric.

andsus avatar andsus commented on August 15, 2024

@BjoernKW
Sure, here's the repo https://github.com/andsus/todo-app.git

from stratospheric.

BjoernKW avatar BjoernKW commented on August 15, 2024

@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.

from stratospheric.

rieckpil avatar rieckpil commented on August 15, 2024

If the URL is pointing to https://app.stratospheric.dev and you change it inside your application.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

Make sure to previously push a new Docker Image to the ECR and use x64 for the CPU arch.

from stratospheric.

andsus avatar andsus commented on August 15, 2024

from stratospheric.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.