Sign inSign up

imolein/drone-luarocks

By imolein

Updated almost 7 years ago

A Drone CI plugin for publishing Lua modules to LuaRocks

Image
0

312

imolein/drone-luarocks repository overview

drone-luarocks

This is a Drone plugin for uploading a Lua module as a self-contained package, called a rock, to LuaRocks.

Docs

Config

The following parameter are available to configure the plugin:

mandatory
  • rockspec - full path of the .rockspec file
  • apikey - the API key, which is needed for publishing the module at LuaRocks
    • it's highly recommnd to configure a Secret for this, to not expose it to the world
optional
  • lint - runs luarocks lint before luarocks upload (default: true)
  • skippack - skips packaging and only uploads the .rockspec file (default: false)
  • force - the existing rock is overwritten, if the same version of the rock already exists (default: false)

Examples

kind: pipeline
type: docker
name: default

steps:
- name: upload
  image: imolein/drone-luarocks
  settings:
    rockspec: test_module-0.1-0.rockspec
    apikey:
      from_secret: lr_api_key
  when:
    event:
      include:
        - tag
      exclude:
        - pull_request

Drone Version

  • 1.x - works
  • 0.8 - not tested

Dockerfile

The Dockerfiles can be found in this repository: drone-luarocks

Tag summary

Content type

Image

Digest

Size

72.2 MB

Last updated

almost 7 years ago

docker pull imolein/drone-luarocks