⚒Anvil
Sign in

Help

Cloning and pushing

Over HTTPS. A public project clones with no sign-in; pushing takes your username and password, or a personal access token in place of the password.

git clone https://anvil.common-lisp.net/group/project.git
git push origin master

Pipelines

A project with a ci.sexp or a .gitlab-ci.yml at its root runs a pipeline on every push. Jobs run in containers from the image they name; their output is the job's trace, their artifacts are kept as declared.

(:pipeline
 :stages (:test :deploy)
 :default (:image "genworks/gendl:devo-ccl")
 :jobs
 ((:test :stage :test :lisp (:load ("ci/test.lisp")))
  (:deploy :stage :deploy
           :rules ((:if (:and (:default-branch) (:variable "DEPLOY" "on"))))
           :deploy (:house :common-lisp.app))))

The API

At /api/v4, in GitLab's shapes: projects, repository trees and files, commits, branches, issues, merge requests, pipelines, jobs and their traces and artifacts. Send a token as PRIVATE-TOKEN.

Deploying

A project that meets the hosting house's profile (an image.sexp and a monetize.sexp at its root) has a Deploy button for its Maintainers, and may deploy itself at the end of a green pipeline.