module_upload: Upload a module to code sharing site and DockerHub

View source: R/build.R

module_uploadR Documentation

Upload a module to code sharing site and DockerHub

Description

Look up usernames and other information contained in "om.yml" to upload module to a code sharing site (github, gitlab or bitbucket) and/or DockerHub.

Usage

module_upload(
  flpth = getwd(),
  code_sharing = TRUE,
  dockerhub = TRUE,
  verbose = TRUE
)

Arguments

flpth

File path to location of module

code_sharing

Upload to code sharing service?

dockerhub

Upload to DockerHub?

verbose

Print docker and program info to console

Details

This function runs git_upload and docker_push.

Value

Logical

See Also

Other build: module_build(), module_check(), module_identities(), module_skeleton(), module_test(), module_travis()

Examples

library(outsider)

# NOT RUN
# # build a simple module
# module_path <- module_skeleton(program_name = 'echo', flpth = getwd(),
#                                repo_user = '[YOUR USERNAME]',
#                                docker_user = '[YOUR USERNAME]',
#                                service = 'github')
# module_build(module_path)
# # upload to your GitHub and your DockerHub
# module_upload(flpth = module_path)

AntonelliLab/outsider.devtools documentation built on June 20, 2022, 4:36 a.m.