Archived
1
0
Fork
You've already forked drone-luarocks
0
A Drone CI plugin for publishing Lua modules to LuaRocks
This repository has been archived on 2025年08月22日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Shell 79.2%
  • Dockerfile 20.8%
Find a file
2019年10月07日 11:27:39 +02:00
Dockerfile Changed image name to match my docker hub account 2019年10月07日 11:27:39 +02:00
LICENSE Inital commit 2019年10月01日 21:43:41 +02:00
lr_upload.sh Inital commit 2019年10月01日 21:43:41 +02:00
README.md Changed image name to match my docker hub account 2019年10月07日 11:27:39 +02:00

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:pipelinetype:dockername:defaultsteps:- name:uploadimage:imolein/drone-luarockssettings:rockspec:test_module-0.1-0.rockspecapikey:from_secret:lr_api_keywhen:event:include:- tagexclude:- pull_request

Drone Version

  • >1.0 - works
  • 0.8 - not tested