Comments (6)
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.
@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.
@BjoernKW
Sure, here's the repo https://github.com/andsus/todo-app.git
from stratospheric.
@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.
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.
from stratospheric.
Related Issues (20)
- Todo sharing confirmation emails show invalid content
- Can't view/edit a shared todo
- Switch to SecurityFilterChain-based security configuration
- Release and update CDK library
- create.sh - use of aws-hello-world/reflectoring-hello-world instead of todo-app-v1 HOT 1
- org.postgresql.util.PSQLException: FATAL: password authentication failed for user "stratospheric" HOT 4
- Upgrade to Spring Boot 3 HOT 1
- Improvement - get Cognito userPoolClientSecret directly from the UserPoolClient HOT 1
- Trying to deploy with create.sh but have some issue. HOT 9
- Setting up the Technical GitHub Actions IAM User HOT 4
- GitHub Actions: The `set-output` command is deprecated and will be disabled soon.
- Having an issue with creating the first app using CDK. HOT 2
- Setting up the Technical GitHub Actions IAM User (again) HOT 5
- Getting an error while creating a stack from the template - registry.yml HOT 3
- Error performing - 1.06 - Deploying a Service Stack with CloudFormation HOT 1
- ECS error log when npm run service:deploy HOT 3
- Tracing User Actions with Amazon DyanomoDB missing initialization HOT 2
- Bug in chapter 10 - "npm run service:deploy" includes more than a single stack HOT 3
- Bug Chapter 10 - The deployment of the ECS Service freeze HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stratospheric.