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 best solutions below
Related Questions in WINDOWS
- Get Maximum Log Size
- Debugging Windows Services while starting
- Possible consequences of duplicate ProgId for different classes
- How to chain BCryptEncrypt and BCryptDecrypt calls using AES in GCM mode?
- mingw-64 conflicting declarations when cross-compiling
- I run an EXE program from a Windows Service but I can't see form C#?
- Why is PowerShell "not recognized" when installing Chocolatey?
- How to check if Windows device is phone or tablet/pc?
- How to add directories to Cygwin gcc default search path
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
- Active directory and linux nslcd binding without extending the AD schema
- How To Prevent Over Scrolling in Scroll Viewer Windows Phone 8.1
- Unicode error from pip install
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- How can I implement the same models and data across ASP.NET and Windows Apps
Related Questions in AMAZON-EC2
- Using HDFS with Apache Spark on Amazon EC2
- How can I access Mule ESB Community edition via browser?
- AWS EC2: Migrating from Windows to Linux Server
- AWS Flow Framework: Can we run activity worker and activity task on different EC2 instances
- How to fix WordPress HTTPS issues when behind an Amazon Load Balancer?
- Determine Deployment Group from appspec.yml
- easy_install does not configure SimpleITK properly
- Bad Request (400) while hosting osqa to AWS EC2
- AWS CLI for EBS snapshots
- test-kitchen: how to read platform specific attributes in kitchen.yml
- Best way to store shared files between ec2 instances
- WebSocket connection failed: WebSocket opening handshake was canceled
- Rails scheduled task behind a load balancer
- Install google mod- pagespeed on elastic beanstalk on every instance added
- ELB generating 504 GATEWAY_TIMEOUTS w/ 2 EC2 instances - Packets not reaching Servers
Related Questions in AWS-CODE-DEPLOY
- Determine Deployment Group from appspec.yml
- AWS Codedeploy failed during Install: UnknownError "\xCC" from ASCII-8BIT to UTF-8
- aws code deploy: No such file or directory - appspec.yml
- Codedeploy + Puppet logs
- Running sqlpackage.exe from AWS CodeDeploy throws an exception
- CodeDeploy Fails but files make it to EC2 Instance in the wrong place
- Can I use AWS code Deploy for pulling application code while autoscaling?
- Unable to download AWS CodeDeploy Agent Install file
- AWS Code Deploy - event script(groovy) excute fail
- Amazon CodeDeploy with AllAtOnce fails to execute on new CloudFormation stack with on 1 EC2 instance
- CodeDeploy on Windows EC2 Permission Denied
- AWS TargetGroup/LoadBalancer checks vs CodeDeploy deployment group status
- AWS CodeDeploy Command Not Found
- Can a single CodeCommit repo deploy to multiple environments?
- aws CodeDeploy error : Artifact [Source] exceeds max artifact size
Related Questions in AWS-CODEPIPELINE
- Docker image build as AWS CodePipeline step
- AWS CodePipeline, build failed & getting error as YAML_FILE_ERROR M
- How to update a previously created AWS CodePipeline Build Provider?
- AWS CodePipeline never triggers BlazeMeter properly
- Allow transition to next stage in AWS pipeline even if a stage produces a failure
- AWS CodeBuild invoked from CodePipeline produces artefact which cannot be used for AWS Lambda
- CodeDeploy to S3
- How to add rollback functionality to a basic S3 CodeBuild deploy
- CodePipeline force retry
- CodePipeline buildspec and multiple build actions
- Can a single CodeCommit repo deploy to multiple environments?
- aws CodeDeploy error : Artifact [Source] exceeds max artifact size
- CloudFormation to setup CodePipeline/CodeBuild to deploy SAM application
- AWS codeBuild/codePipeline with serverless framework
- When do I need to have CAPABILITY_NAMED_IAM
Related Questions in AWS-CODECOMMIT
- AWS Beanstalk integration with codecommit
- AWS CodePipeline, build failed & getting error as YAML_FILE_ERROR M
- Teamcity not able to fetch codecommit repo over ssh
- CodeDeploy Fails but files make it to EC2 Instance in the wrong place
- AWS EB CLI + Codecommit: git status incorrectly shows branch out-of-sync after deploy
- Git Keeps Building on my 'known_hosts' File For Every Push
- Spring Cloud config authentication with AWS Code Commit
- CodeDeploy to S3
- Can a single CodeCommit repo deploy to multiple environments?
- AWS Pull latest code from codecommit on EC2 Instance startup
- How do I put AWS Amplify project into CodeCommit?
- AWS CodeCommit prevent merge until successful build
- GitHub Action to push commits to AWS CodeCommit: Host key verification failed
- No merge commit in the commit history in Git
- How can I use JSON logic in an AWS Cloudwatch custom event?
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)
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?
Here's an approach that should work: