The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
This vignette covers advanced workflows with {circle} and how to integrate them with {tic}. It assumes you have completed the basics in the “Getting Started” vignette.
Use the high-level helpers to browse recent activity and drill down into details.
# list recent pipelines for a repo
circle::get_pipelines(owner = "ropensci", repo = "circle")
# list workflows of a given pipeline id
# (replace with a pipeline id from the previous result)
circle::get_workflows(pipeline_id = "<pipeline-id>")
# list jobs of a workflow
circle::get_jobs(workflow_id = "<workflow-id>")The {tic} package provides a CI-agnostic DSL and ready-made templates for CircleCI. Combine {circle} (API client) with {tic} (workflow setup) to automate checks and deployments.
Edit tic.R to add or modify stages. For example, enable
pkgdown deployment only on tags:
For deployments, set up a user key once using {circle}:
This adds a user key on CircleCI and registers the corresponding key
in your GitHub account, so that tic::deploy() can push the
pkgdown site to gh-pages.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.