Project: gh-melezhik-sparky

Build now

Configuration

sparrowdo:
  no_sudo: true
  no_index_update: false
  bootstrap: false
  format: default
  repo: https://sparrowhub.io/repo
  image: melezhik/sparrow:debian_arm
  docker: gh-melezhik-sparky
  tags: >
      SCM_URL=https://github.com/melezhik/sparky.git,
      SCM_SHA=HEAD
disabled: false
keep_builds: 100
allow_manual_run: true
scm:
  url: https://github.com/melezhik/sparky.git
  branch: HEAD
plugins:
  Sparky::Plugin::Docker: {}

Job

#!raku

%*ENV<SP6_DUMP_TASK_CODE> = False;

bash "sudo apt-get install -y libarchive13 libcurl4-openssl-dev > /dev/null";

directory "scm";

say "current commit is: {tags()<SCM_SHA>}";

git-scm tags()<SCM_URL>, %(
  to => "scm",
  branch => tags<SCM_BRANCH>
);

bash 'zef install "Pakku:ver<celastrina.5>" --/test';

bash "pakku nobar add noprecomp notest to home .", %(
  cwd => "{$*CWD}/scm",
  #envvars => %(
  #  :PAKKU_VERBOSE<debug>
  #)
);