I have a simple web application which uses AWS CodeCommit, CodePipeline and CodeDeploy. When ever a change is done and pushed to git, CodePipeline kicks in and deploys the code to the QA environment - WINDOWS. Now I want to setup a MANUALLY triggered deployment from the same repository to the production environment. However the source code locations are not the same. Also I may want to use different AfterInstall bat file. how can I have different appspec.yml or afterinstall.bat files in this situation. Or is there any other way of doing it?
Can a single CodeCommit repo deploy to multiple environments?
1.8k views Asked by Chalaka Salpadoru At
1
There are 1 answers
Related Questions in WINDOWS
- how to play a sounds in c# forms?
- Echo behaviour of Microsoft Windows Telnet Client
- Getting error while running spark-shell on my system; pyspark is running fine
- DirectX 9 With No SDK Installed - How To Translate a D3DMATRIX?
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Cannot load modules/mod_dav_svn.so into server
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
- 32-bit applications do not display some files in Windows 10
- 'bun' is not recognized as an internal or external command
- mkssecreenshotmgr taking a screenshot
- Next js installation in windows 7 os
- Can't resize a partition using Mini Tool?
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Electron Printing not working on Windows (Works on Mac)
Related Questions in AMAZON-EC2
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- Unable to ping remote websites from an ipV6 only ubuntu ec2 Instance
- Unable to install mysql on Amazon Linux 2023
- AWS Elastic Beanstalk - Deployment Issues with Flask backend (React frontend already deployed with S3 and Cloudfront)
- AWS ECS agent does not start in EC2 instance
- Moving a website from a subdomain to the domain root
- Switch to Cloudfront CDN causing issues for small number of users
- Selenium parser
- ReadTimeout error when downloading images on AWS EC2 but not locally
- Iam not able to login to bastion server-permission denied error
- No GPU EC2 instances associated with AWS Batch
- Django Deployment on AWS EC2 with Docker Compose: Seeking Advice on Security, Scalability, and Best Practices
- How to host a react and django application on ec2
- Connection services in different containers in the same ec2 instance
Related Questions in AWS-CODE-DEPLOY
- Error: codedeploy-agent.service Unit codedeploy-agent.service could not be found
- CodePipeline Deploy Stage missing AWSLambda/ automatically update running ecs tasks
- How to change S3 object owner while using CodeDeploy, to upload objects, from a different AWS account?
- Getting 404 while Adding CodeDeploy agent in AWS EC2 Instance
- Is it possible to keep aws codedeploy test listener for some minutes to manually tests before traffic is routed to prod?
- Web Service(backend) deployed by AWS EC2 suddenly running extremely slow
- How do I deploy an application when the alarms linked to canary deployments are already active?
- AWS S3 BucketDeployment zip file name for CodePipeline Issue
- How I can place a timestamp into my deployed filename upon deployment?
- Script at specified location: scripts/install_ngnix.sh run as user root failed with exit code 100
- AWS CodeDeploy and CodePipeline Using S3 bucket content as Source
- How I can specify variables for my appspec.yml?
- How to update variable values of a powershell script using codedeploy
- ✖ Failed to fetch revision
- Is it possible to manually configure CodeBuild and CodeDeploy, and then generate CloudFormation template(s) from that?
Related Questions in AWS-CODEPIPELINE
- How to change S3 object owner while using CodeDeploy, to upload objects, from a different AWS account?
- Error building a dotnet project on AWS codebuild
- Getting 404 while Adding CodeDeploy agent in AWS EC2 Instance
- Reading an Environment Variable set at CodePipeline from a CodeBuild buildspec.yml
- Why am i getting this issue "Missing credentials in config" in Assets stage of code pipeline?
- Passing Variables from CodeBuild or CodePipeline to use in Node Web App
- AWS: Setting up a CodeDeploy pipeline for ECS blue-green deployment from ECR
- testcafe ERROR Unable to open the "chrome:headless" browser
- Triggering AWS codepipeline with regex matching tag push with terraform
- How to skip a build stage in AWS CodeBuild - batch/build-graph
- AWS CDK CodePipeline S3 Source set Detection Option to Cloudwatch
- AWS S3 BucketDeployment zip file name for CodePipeline Issue
- How I can place a timestamp into my deployed filename upon deployment?
- How to set the repository domain policy so a Gradle-based Build pipeline can access AWS CodeArtifact?
- AWS Codepipeline python submodule manual build works pipeline auto trigger giving error GIT_DISCOVERY_ACROSS_FILESYSTEM not set
Related Questions in AWS-CODECOMMIT
- Is it possible to mirror (private self hosted gitlab) repos to codecommit?
- Role to access at Codecommit from Argocd on EKS
- CodeCommit uses origin repo on eb create command instead of another one specified on eb init
- Error code: 128 Error: aws codecommit needs to update to SSH
- CodeCommit cross account deploys with CodePipeline
- AWS Lambda is not triggering when a git tag is pushed in a CodeCommit repository
- AWS : verify failed: unable to get local issuer certificate (_ssl.c:1000)
- Can AWS Codecommit show moved or renamed files
- Git LFS is not able to push all branches and commits
- How do I set up build triggers in AWS CDK CodePipeline/Build using PRs from a CodeCommit Repo?
- How to sort files in a pull request or in a commit?
- Which account does your CodeCommit reside in a multi-account setup?
- can't clone from codecommit grc url getting ModuleNotFoundError: No module named 'six'
- How to do full clone using CodePipeline, CodeBuild and CodeCommit
- Git: Replace main branch with other branch
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Here's an approach that should work: