Comments (12)
Here it is http://deployer.in/#with-pem-file 💎
from deployer.
This is deprecated, use identyFilr
from deployer.
You can use openssl_pkey_get_public to extract the pub/private keys.
I will try to implement this automatically in next release.
from deployer.
I was looking at that function before posting, it does not seem to work properly. The .pem file I have is not an x509, it is a private RSA key, like:
-----BEGIN RSA PRIVATE KEY-----
.........key..........
-----END RSA PRIVATE KEY-----
I've tried setting that to both the public and private key, to no avail. openssl_pkey_get_public returns false on that...
from deployer.
Ok, i'll try to deploy on AWS by myself.
from deployer.
So, do you have any decisions how to deploy on AWS?
from deployer.
Cool, I looked at the code you changed and it seems fairly obvious, but it doesn't seem to work for me.
[josh@orangeslice ~/projects/seaglass (master)]$ dep deploy
Preparing server for deploy.................................Password:
✔
Updating code...............................................✔
Installing vendors..........................................✔
Creating symlink to release.................................✔
Cleaning up old releases....................................✔
Successfully deployed on banzai.aws
But nothing actually happens. There is no password, not sure why it's prompting for that. I hit enter at the password prompt and everything completes without error, but nothing is copied or checked out.
Redacted code from deploy file:
<?php
require 'recipe/composer.php';
set('use_ssh2', false);
set("repository", "[email protected]:org/repo.git");
server("web", "server.aws")
->user("ubuntu")
->path('/www/repo-deploytest')
->setPemFile("~/.ssh/aws.pem");
I'm happy to contribute as necessary to make this work.
from deployer.
Use 'pemFile' instead of 'setPemFile'.
30 июля 2014 г., в 18:21, Josh Butts [email protected] написал(а):
Cool, I looked at the code you changed and it seems fairly obvious, but it doesn't seem to work for me.
[josh@orangeslice ~/projects/seaglass (master)]$ dep deploy
Preparing server for deploy.................................Password:
✔
Updating code...............................................✔
Installing vendors..........................................✔
Creating symlink to release.................................✔
Cleaning up old releases....................................✔
Successfully deployed on banzai.aws
But nothing actually happens. There is no password, not sure why it's prompting for that. I hit enter at the password prompt and everything completes without error, but nothing is copied or checked out.Redacted code from deploy file:
user("ubuntu") ->path('/www/repo-deploytest') ->setPemFile("~/.ssh/aws.pem"); I'm happy to contribute as necessary to make this work. — Reply to this email directly or view it on GitHub.
from deployer.
Ah, a simple error on my part. Works flawlessly now. Thanks so much for adding this.
from deployer.
Good news. Thanks a lot
from deployer.
I'll make all set methods private to clearly api.
30 èþëÿ 2014 ã., â 21:22, Josh Butts [email protected] íàïèñàë(à):
Ah, a simple error on my part. Works flawlessly now. Thanks so much for adding this.
—
Reply to this email directly or view it on GitHub.
from deployer.
I'm getting the following error
[Error] Call to undefined method Deployer\Host\Host::pemFile()
from deployer.
Related Issues (20)
- failed to pull image "deployphp/deployer:7" with specified policies HOT 4
- Magento 2: use_redis_cache_id flag has no effect HOT 2
- Breaking new patch for TYPO3 recipe usage HOT 17
- There are no invoke() in YAML tasks
- Copy vendors during deploy:vendors HOT 2
- Keep releases do not work properly HOT 5
- Missing docker image from documentation HOT 1
- Change releases_list to a space separated string in YAML HOT 2
- Breaking change in v7.3.2 & v7.3.3 for `cachetool` task HOT 5
- Option to skip update-check
- A02
- How can I enter the container and execute a composer install if the host does not have Composer and PHP HOT 9
- Deployer not working behind proxy
- Allow variable for shared path HOT 3
- Downtime during deployment. Missing Composer autoload file. Failed to open stream: No such file or directory
- Crontab rewrite with sections causes migration errors HOT 2
- Nesting crontab config doesn't work
- Global installation no longer supported? HOT 2
- Support Symfony V6 HOT 2
- Ms-teams always reports branch as defined in server config, not actually used branch
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 deployer.