Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #3

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Update README.md #3

wants to merge 10 commits into from

Conversation

catdog905
Copy link
Owner

No description provided.

@catdog905
Copy link
Owner Author

@rultor hello

@rultor
Copy link
Collaborator

rultor commented Jun 26, 2023

@rultor hello

@catdog905 Hi there! I understand a few simple commands: "merge", "deploy", etc. This page explains them briefly. Any questions or bug reports are welcome. Have fun :)

@catdog905
Copy link
Owner Author

@rultor config

@rultor
Copy link
Collaborator

rultor commented Jun 26, 2023

@rultor config

@catdog905 This is how I understand the .rultor.yml file in the root directory of your base branch:

<?xml version="1.0" encoding="UTF-8"?>
<p>
   <entry key="assets">
      <entry key="id_rsa">catdog905/secret-repo#keys/id_rsa</entry>
   </entry>
   <entry key="merge">
      <entry key="script">echo "hello world"</entry>
   </entry>
   <entry key="ssh">
      <entry key="host">217.18.62.143</entry>
      <entry key="port">22</entry>
      <entry key="key">../keys/id_rsa</entry>
      <entry key="login">root</entry>
   </entry>
   <entry key="deploy">
      <entry key="script">ls</entry>
   </entry>
</p>

This page explains how to configure it.

@catdog905
Copy link
Owner Author

@rultor deploy

@catdog905
Copy link
Owner Author

@rultor status

@catdog905
Copy link
Owner Author

@rultor deploy

@rultor
Copy link
Collaborator

rultor commented Jul 20, 2023

@rultor deploy

@catdog905 We failed, sorry, try again:

java.lang.InterruptedException: sleep interrupted
	at java.base/java.lang.Thread.sleep(Native Method)
	at java.base/java.lang.Thread.sleep(Thread.java:337)
	at java.base/java.util.concurrent.TimeUnit.sleep(TimeUnit.java:446)
	at com.jcabi.aspects.aj.Repeater.delay(Repeater.java:139)
	at com.jcabi.aspects.aj.Repeater.wrap(Repeater.java:119)
	at co.stateful.retry.ReLock.lock(ReLock.java:95)
	at com.rultor.agents.github.RepoLock.lock(RepoLock.java:85)
	at com.rultor.agents.github.qtn.QnAlone.understand(QnAlone.java:91)
	at com.rultor.agents.github.qtn.QnIfCollaborator.understand(QnIfCollaborator.java:84)
	at com.rultor.agents.github.qtn.QnFirstOf.understand(QnFirstOf.java:81)
	at com.rultor.agents.github.qtn.QnFollow.understand(QnFollow.java:85)
	at com.rultor.agents.github.qtn.QnWithAuthor.understand(QnWithAuthor.java:72)
	at com.rultor.agents.github.qtn.QnParametrized.understand(QnParametrized.java:89)
	at com.rultor.agents.github.qtn.QnReaction.understand(QnReaction.java:96)
	at com.rultor.agents.github.qtn.QnReferredTo.understand(QnReferredTo.java:104)
	at com.rultor.agents.github.qtn.QnNotSelf.understand(QnNotSelf.java:75)
	at com.rultor.agents.github.qtn.QnSince.understand(QnSince.java:79)
	at com.rultor.agents.github.qtn.QnSafe.understand(QnSafe.java:82)
	at com.rultor.agents.github.Understands.parse(Understands.java:197)
	at com.rultor.agents.github.Understands.process(Understands.java:131)
	at com.rultor.agents.AbstractAgent.execute(AbstractAgent.java:75)
	at com.rultor.spi.Agent$Iterative.execute(Agent.java:84)
	at com.rultor.agents.VerboseAgent.execute(VerboseAgent.java:62)
	at com.rultor.Routine.process(Routine.java:202)
	at com.rultor.Routine.unsafe_aroundBody0(Routine.java:180)
	at com.rultor.Routine$AjcClosure1.run(Routine.java:1)
	at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:179)
	at com.jcabi.aspects.aj.MethodInterrupter.wrap(MethodInterrupter.java:108)
	at com.rultor.Routine.unsafe(Routine.java:175)
	at com.rultor.Routine.run(Routine.java:142)
	at com.jcabi.log.VerboseRunnable.run(VerboseRunnable.java:190)
	at com.jcabi.aspects.aj.MethodScheduler$Service.lambda$0(MethodScheduler.java:194)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at com.jcabi.log.VerboseThreads$Wrap.run(VerboseThreads.java:222)
	at java.base/java.lang.Thread.run(Thread.java:833)

@rultor
Copy link
Collaborator

rultor commented Sep 15, 2023

@rultor deploy

@catdog905 OK, I'll try to deploy now. You can check the progress here

@rultor
Copy link
Collaborator

rultor commented Sep 15, 2023

@rultor deploy

@catdog905 Oops, I failed. You can see the full log here (spent 14s)

+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 3016459
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Fri 15 Sep 2023 11:22:01 PM CEST
+ uptime
 23:22:01 up 296 days,  4:00,  0 users,  load average: 0.06, 0.01, 0.00
+ cat
com.rultor.spi.Profile: There is no 'deploy' section in .rultor.yml for branch main in repo catdog905/room-booking
	at com.rultor.agents.req.StartsRequest.docker(StartsRequest.java:350)
	at com.rultor.agents.req.StartsRequest.vars(StartsRequest.java:255)
	at com.rultor.agents.req.StartsRequest.script(StartsRequest.java:148)
	at com.rultor.agents.req.StartsRequest.process(StartsRequest.java:109)
	at com.rultor.agents.AbstractAgent.execute(AbstractAgent.java:75)
	at com.rultor.spi.Agent.execute(Agent.java:84)
	at com.rultor.agents.VerboseAgent.execute(VerboseAgent.java:62)
	at com.rultor.Routine.process(Routine.java:202)
	at com.rultor.Routine.unsafe_aroundBody0(Routine.java:180)
	at com.rultor.Routine.run(Routine.java:1)
	at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:179)
	at com.jcabi.aspects.aj.MethodInterrupter.wrap(MethodInterrupter.java:108)
	at com.rultor.Routine.unsafe(Routine.java:175)
	at com.rultor.Routine.run(Routine.java:142)
	at com.jcabi.log.VerboseRunnable.run(VerboseRunnable.java:190)
	at com.jcabi.aspects.aj.MethodScheduler.lambda./run.sh(MethodScheduler.java:194)
	at java.base/java.util.concurrent.Executors.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor.run(ThreadPoolExecutor.java:635)
	at com.jcabi.log.VerboseThreads.run(VerboseThreads.java:222)
	at java.base/java.lang.Thread.run(Thread.java:833)

+ exit -1
'cid' file is absent, most probably the Docker container wasn't started correctly

@rultor
Copy link
Collaborator

rultor commented Sep 15, 2023

@rultor status

@catdog905 This is what's going on here:

  • 1 build(s) archived: 32888-1606762211
  • no new requests registered
  • build is not running

More information about Rultor commands you can get here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants