"--exclude"
".git"
(candle:project-dir (candle:job-project job))
- (format nil "~A@~A:~A" *aws-username* (describe-property "PublicIpAddress") *remote-work-dir*)))
+ (format nil "~A@~A:~A/~A" *aws-username*
+ (describe-property "PublicIpAddress")
+ *remote-work-dir*
+ (candle:project-name (candle:job-project job)))))
(let*
((out nil)
(code nil))
"-i"
*aws-keyfile*
(describe-property "PublicIpAddress")
- (format nil "cd ~A ; ~A run --env aws" *remote-work-dir* *remote-candle-location*))
+ (format nil "cd ~A/~A ; ~A run --env aws"
+ *remote-work-dir*
+ (candle:project-name (candle:job-project job))
+ *remote-candle-location*))
:output out-str
:error out-str
:wait t)))))
; this will get set to nil but we keep them around for historical reference
(lame-db:defdbstruct branch name in-git (project :join project) (job :join job))
+(setf (documentation 'project-name 'function)
+ "PROJECT-NAME PROJECT => NAME
+
+ARGUMENTS AND VALUES:
+
+ PROJECT: the project
+ NAME: a string, the name of the job
+
+DESCRIPTION:
+
+ Returns the name of the project in question.")
+
(defun project-dir (project)
"PROJECT-DIR PROJECT => DIR
#:server #:add-project #:delete-project #:refresh-project #:list-projects
#:project-branch-information #:run #:list-tasks #:*candle-dir* #:*job-system* #:*candle-dir* #:failures
#:project-job-information #:get-job-log #:retry-job #:job-project #:project-dir #:process-job-in-system
- #:shutdown-system #:*environment*
+ #:shutdown-system #:*environment* #:project-name
#:candle-error #:candle-error-reason)
(:documentation "Main candle package.