Comments (5)
I think this is actually happening when VSTS/TFS checks out your files from the source repo. I encountered the same issue a few days ago when I uploaded files intended for a Linux EC2 instance into my repo and ran a build - the files in the build agent's work area had CR/LF line endings. Initially this was due to my core.autocrlf settings when I checked them in from my Windows laptop but even after correcting the files and re-committing, subsequent builds in the workarea shows Windows line terminations, not Unix ones.
The workaround I used was to add a .gitattributes file to my repo to control the files that checkout should not perform line terminator translation against.
from aws-toolkit-azure-devops.
Thanks Steve, I will use the same workaround! as it seems to be a VSTS problem, should I close this issue?
from aws-toolkit-azure-devops.
Sure, if you're happy you have enough info to proceed. If you still hit problems, feel free to reopen.
From the perspective of the CodeDeploy task, it zips the files up in the workarea as-is. It never actually opens or otherwise processes the files.
from aws-toolkit-azure-devops.
All good Steve,
I've added a
.gitattributes:
* text eol=lf
I'll try to find a better approach, but it's working
Cheers!
from aws-toolkit-azure-devops.
I've found another solution as reported here: 5682...
Using a Linux agent to deploy my application...
Many thanks!
from aws-toolkit-azure-devops.
Related Issues (20)
- Error Auth AWS Toolkit any task
- ##[error]'charmap' codec can't encode characters in position 1098-1135: character maps to <undefined> HOT 1
- Secrets Manager get secret task output not a valid json HOT 2
- AWS Service Connector
- Error when execute CLI actions using eu-south-2 region
- Pass a role ARN in runtime and use with service connection
- AWSShellScript: Keep original color when logging
- Running Terraform output command returns no result HOT 1
- S3 Upload use an endpoint
- S3 Upload Glob pattern STILL not finding files
- Azure DevOps Task 'AWS Tools for Windows PowerShell Script' - Ignore PS Module Check HOT 10
- Support for OIDC to authenticate without long lived credentials HOT 10
- Buidling code on master results in error when executing any task HOT 3
- Use s3ObjectKey or randomize S3 object name when uploading Cloudformation template
- Unable to push docker image on to amazon ECR
- AWS SSM Run Command issue with SNS Notifications
- Incompatible with IMDSv2 HOT 8
- LambdaNETCoreDeploy failing to upload to S3 with signature mismatch in version 5.8.1
- Task AWSCLI@1 fails on S3 cp command
- Ææ
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 aws-toolkit-azure-devops.