chalice detele from gitlabci
See original GitHub issueI’m using gitlabci to deploy my chalice app and I would like to know how to use the chalice delete
command to delete the app (the entire stack), again from my gitlabci. I can’t use the chalice package
because of s3_event
issue, hence the use of chalice deploy
in my CICD.
Can we for example get the name of cloudformation stack ? if so, I think use this
aws cloudformation delete-stack --stack-name my-stack
`
stages:
- deploy
- stop
chalice-deploy:
stage: deploy
image: python:3.7.4
script:
- pip3 install awscli chalice
- chalice deploy
artifacts:
paths:
- public
chalice-delete:
stage: stop
image: python:3.7.4
when: manual
script:
- pip3 install awscli chalice
- chalice delete ????
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Removals by version - GitLab Docs
We won't delete container images previously published for these analyzers, so older versions of the CI/CD template will continue to work.
Read more >Deployment and setting up a CICD pipeline with AWS Chalice
Part 2: Deployment and setting up a CICD pipeline with AWS Chalice¶ · Initial Setup · Create a SAM template · Deploy your...
Read more >AWS Chalice - CI/CD - Deploy under the same gateway
The reason for the new API ids is because chalice when using the chalice deploy command, it creates a file in .chalice/deployed for...
Read more >Continuous Deployment (CD) — AWS Chalice
Chalice can generate a CloudFormation template that will create a starter CD pipeline. By default it contains an AWS CodeCommit repo, an AWS...
Read more >Creating a Serverless Blog with Chalice - Medium
Utilizing the awesome power of Serverless computing from Amazon Web Services (AWS) on-demand cloud computing platform, you will be able to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep pulling in the .chalice directory like you’ve done should work, with the caveat that concurrent builds could be an issue. Thanks @jrbeilke for chiming in.
Concurrent builds may be a problem and S3’s eventual consistency could also be problematic, but if Terraform is out of the question it seems like a potential workaround for now