schickling / git-s3 Goto Github PK
View Code? Open in Web Editor NEWEasy way to deploy your git repo to an AWS S3 bucket
Easy way to deploy your git repo to an AWS S3 bucket
Hey, getting a GitException on windows. Any workaround?
Enter the path (relative or absolute) where your repo lives: gitsyncs3
[Exception]
Invalid path
Do I have to include the whole path I mean the URL ?
Thanks
Thanks for a pretty utility!
I'm developing with macOS and vim. In my environment, ./src/.DS_Store
and ./src/index.html.swp
are generated automatically.
git-s3
command deploys these two files too. I believe it can cause problems about security.
So I want the option to not deploy git ignored files.
Followed the instructions detailed here: https://github.com/schickling/git-s3/blob/master/doc/EXAMPLE.md
Bucket does exist and credentials are working for all other tools I've tested with.
Full output is:
%> ~/.composer/vendor/bin/git-s3 config
Enter your AWS access key ID: XXXXXXXXXXXX
Enter your AWS secret access key: XXXXXXXXXXXXXXXX
Enter your Region name (default: eu-west-1): us-west-2
Enter your bucket title: yyy.yyy.yyy
Enter the path (relative or absolute) where your repo lives: .
Do you want to clone your repo? (default: "n"):
Configuration was successful.
%> ~/.composer/vendor/bin/git-s3 deploy
Uploading aws/admin/git.template
[Aws\S3\Exception\PermanentRedirectException]
The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint: "yyy.yyy.yyy.s3.amazonaws.com".
deploy
Im following the guidelines in EXAMPLE.md, but get stuck during the git-s3 deploy
step:
$ git-s3 deploy
Uploading newTestFile
[Aws\S3\Exception\NotImplementedException]
A header you provided implies functionality that is not implemented
deploy
I used the following in git-s3 config
:
Enter your AWS access key ID: [my access key ID]
Enter your AWS secret access key: [my secret access key]
Enter your Region name (default: eu-west-1): eu-west-1
Enter your bucket title: [my-bucket-name]
Enter the path (relative or absolute) where your repo lives: testRepo
Do you want to clone your repo? (default: "n"): n
Configuration was successful.
My bucket has region Ireland aka eu-west-1 (I tried specifying "Ireland" as Region name without success)
Am I missing something?
I believe "eu-central-1" is far away from being not a valid region!
My bucket is in exactly in this region.
I tried to change everything and even tried to leave it as the default region, but no luck.
Any idea how to solve this?
Can I string together buckets and paths when I have more than 1?
Hello!
My use-case is multiple repositories in a single bucket - would this be possible?
and:
Causes the PHPUnit tests to fail.
Hello! First, thanks for a great utility - it's been really helpful so far! Currently I'm manually making config.yml private in my S3 bucket so that the AWS access keys aren't made public with the rest of the site. It'd be nice if they were already made private on deploy.
If I have some free time, I'll put together a PR for this, but wanted to open the issue for discussion first. Thanks!
Getting this error message from my composer during installation
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for schickling/git-s3 dev-master -> satisfiable by schickling/git-s3[dev-master].
- Conclusion: remove symfony/console v3.1.2
- Conclusion: don't install symfony/console v3.1.2
- schickling/git-s3 dev-master requires symfony/console 2.*
I couldn't find it in the documentation.
If it's not, is it going to be implemented?
Ran this on windows, uploaded as expected:
C:\Users\tony\Downloads\awsMagentoBuild>git-s3 deploy
Uploading magento\latest\templates\configure_magento.sh
Uploading magento\latest\templates\elasticache.template
Uploading magento\latest\templates\install_magento.sh
Uploading magento\latest\templates\magento-master.template.json
Uploading magento\latest\templates\magento.template.json
Uploading magento\latest\templates\rdsaurora.template.json
Uploading magento\latest\templates\securitygroups.template
Uploading magento\latest\templates\webserver.centos.template.json
Uploading submodules\quickstart-aws-vpc.git
Uploading submodules\quickstart-aws-vpc\ci\aws-vpc-3az-complete.json
Uploading submodules\quickstart-aws-vpc\ci\aws-vpc-3az-public.json
Uploading submodules\quickstart-aws-vpc\ci\aws-vpc-3az.json
Uploading submodules\quickstart-aws-vpc\ci\aws-vpc-4az-complete.json
Uploading submodules\quickstart-aws-vpc\ci\aws-vpc-4az-public.json
Uploading submodules\quickstart-aws-vpc\ci\aws-vpc-4az.json
Uploading submodules\quickstart-aws-vpc\ci\aws-vpc-complete.json
Uploading submodules\quickstart-aws-vpc\ci\aws-vpc-defaults.json
Uploading submodules\quickstart-aws-vpc\ci\aws-vpc-public.json
Uploading submodules\quickstart-aws-vpc\LICENSE.txt
Uploading submodules\quickstart-aws-vpc\NOTICE.txt
Uploading submodules\quickstart-aws-vpc\README.md
Uploading submodules\quickstart-aws-vpc\templates\aws-vpc.template
Lock file initialized. Deployment complete!
However, no directories were made on the s3 side, and filepaths that are meant to be accessable with a "/" are replaced with "%5C"
instead of
http://s3-region.amazonaws.com/bucketname/magento/latest/templates/magento-master.template.json
I gets this error when I try to deploy
After following the prompts from git-s3 config, I get an error that says:
[Exception] Invalid path
Have you encountered this issue before?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.