set_gitlab_ci: Configure GitLab CI pipeline for Docker builds

View source: R/set_gitlab_ci.R

set_gitlab_ciR Documentation

Configure GitLab CI pipeline for Docker builds

Description

Copies the .gitlab-ci.yml file provided by the shiny2docker package into the specified directory. The GitLab CI configuration is designed to build a Docker image and push the created image to the GitLab container registry.

Usage

set_gitlab_ci(path)

Arguments

path

A character string specifying the directory where the .gitlab-ci.yml file will be copied. If missing, the user will be prompted to use the current directory.

Value

A logical value indicating whether the file was successfully copied (TRUE) or not (FALSE).

Examples

# Copy the .gitlab-ci.yml file to a temporary directory
set_gitlab_ci(path = tempdir())

shiny2docker documentation built on April 3, 2025, 8:14 p.m.