automaton-build.tasks.deploy
cli-opts
current-branch-name-invalid?
(current-branch-name-invalid? subapps current-branch)
deploy-app
(deploy-app {:keys [publish-cc? publish-clojars? app-name cacheless-app-dir repo base-branch], :as app} env verbose?)
deploy-cc
(deploy-cc {:keys [cacheless-app-dir deps-edn excluded-aliases shadow-deploy-alias css-files compiled-css-path clever-uri jar-entrypoint target-jar class-dir java-opts], :as _app} env verbose?)
deploy-clojars
(deploy-clojars {:keys [cacheless-app-dir as-lib pom-xml-license deps-edn excluded-aliases shadow-deploy-alias css-files compiled-css-path class-dir target-jar], :as _app} verbose?)
deploy-monorepo-apps
(deploy-monorepo-apps env verbose? apps-to-deploy)
If one app failes in the deploy chain, rest of apps is skipped
generate-pom-xml
(generate-pom-xml app-dir as-lib pom-xml-license paths verbose?)
pom-xml-status
(pom-xml-status app-dir as-lib pom-xml-license paths)
prepare-deploy-data
(prepare-deploy-data app current-branch env target-branch-env clever-uri-env verbose?)
push-base-branch
(push-base-branch app-name app-dir repo base-branch tag verbose?)
Pushes app to base-branch
push-current-branch
(push-current-branch app-dir app-name repo main-branch current-branch message verbose?)
Pushes app
current changes to it’s repository. The changes are pushed to the current branch of user running the function. It is forbidden to push to base-branch of application.
push-local-dir-to-repo
(push-local-dir-to-repo source-dir repo-address target-branch commit-msg verbose?)
Commit and push target-branch
with files from source-dir
. Params: * source-dir
local directory where the sources are stored, before being pushed to the remote repo * repo-address
the address of the repo * commit-msg
message that will end in pushed commit * version
string with tag version * tag
(optional) map containg id
with tag and optional msg
with corresponding message * force?
(optional default false) if true, will force the changes to be pushed as top commit * target-branch
(optional default current-branch) where to push
push-local-with-tag
(push-local-with-tag source-dir repo-address target-branch tag commit-msg verbose?)
run-monorepo
(run-monorepo)
should-deploy?
(should-deploy? app env)