N
N
Nikolay Romanyuk2015-04-03 14:14:05
PHP
Nikolay Romanyuk, 2015-04-03 14:14:05

PHPCI why is the project not going?

Good afternoon.
Deployed this integration system on my local machine (OS Ubuntu). Everything went well, I was surprised. Made a test project at bitbucket.org .
Added ssh-rsa to deploy keys. The private key for accessing the repository did not find where to add it, so far I left it like that.
Here is the project settings page:
e002fa155fc64385bec8a747c5f87ea5.png
When I click build, nothing happens, the build page opens and that's it.
4604ff58a7e64f06a482a8e33e1ca872.png
No errors, no progress. No log files found. I don’t understand where he merges projects. There are write permissions to the folder.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry Khomutov, 2015-04-07
@lllypynby

You need to either manually run the command /path/to/phpci/console phpci:run-builds , or hang it on cron, it will collect all the builds from the queue.
When you start the assembly in the admin panel, it simply queues it, but does not collect it. This is done in order to be able to collect, for example, by push to the repository.
PS: Now on github there is a proposal to make a manual build option without a queue (behavior as you expect), most likely something like this will appear in the project after a while.

N
Nazar Mokrinsky, 2015-04-03
@nazarpc

The private key for accessing the repository did not find where to add it, so far I left it like that.

Never send private keys anywhere except under thermorectal cryptanalysis.
Regarding the assembly - what do you want to collect? Apparently, you don’t have a configuration, it’s not clear why and where did you add deploy keys, or do you want to deploy from a virtual machine to a host?
What kind of ssh-rsa file is also not clear, if you meant id_rsa - then this is just the private one that needs to be protected and not shown to anyone.
There is some kind of porridge in your head, what do you want to do?
If the project is open - tests and deployment can be done using Travis CI for free.

D
dmitriy, 2015-04-03
@dmitriylanets

I join the question, too, no matter how much I suffered, I could not run it on the local PHPCI, I created the project config according to the instructions, spat installed jenkins, everything works with it.

B
bizzonaru, 2016-10-04
@bizzonaru

Does anyone know why mysql crashes from time to time?
Not many commits. Cron checks
* * * * * /usr/bin/php /opt/phpci/./console phpci:run-builds

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question