Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pullreq #15

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .kevin

This file was deleted.

56 changes: 56 additions & 0 deletions kevinfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# example control file
# syntax similar to makefiles

# * each step can depend on other steps
# * it can have optional settings like cwd or env variables
# * the step consists of one or more commands
# * after all commands of a step, output files can be saved
#
# EXAMPLE:
#
# stepname: other-stepname other-stepname-that-must-suceed-before bla bla
# - optional rule setup stuff, e.g.:
# - env: variable=value mom="really fat" # set environment variables
# - hidden # hide that rule from all output
# - skip # skip this step
# - skip (? if job == "some_jobname" ?) # skip only if jobname matches
#
# # there can be one or more output file declarations.
# # those also support the if-conditionals
# - output: "some/file/to/save/in/static/output/folder" as "output_name"
# - output: "or/some/directory/to/send/" as "output_dir_name"
# - cwd: "~/dir/to/run/the/commands/in/"
#
# # then, the step commands follow:
# echo "some command executed in sh"
# echo "if one command fails, the step will fail"
# echo "it fails when returncode != 0"
#
# cd somewhere/ && echo "each line is in its own shell!"
# echo "so the following command is no longer in 'somewhere/'"

# the steps are executed in order.
# any step with no more pending dependencies is executed.
# if multiple are ready, the first in the order will be run first.

tamale:
- env: STUFF="hot hot"
echo "do you like tamale?"
sleep 1
echo "$STUFF tamale?"
sleep 2

sudo:
- hidden
- output: "/tmp/produced_file" as "root_result"
sudo echo "i got root!" | tee /tmp/produced_file
echo "running on whitespaceOS" (? if job == "whitespaceOS" ?)

cpuinfo: tamale sudo
echo awsum vm:
cat /proc/cpuinfo

great_success: cpuinfo
echo "raus raus raus, die nyan-katze"

echo "now, copy this file in your project and modify it!"
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Tue Dec 1 18:50:42 CET 2015
2020-05-09T23:33:20 CEST