Sha256: 4d6eadd17e0bd49a1c3026ebccb96a61074c1ed74b43e7563ed78bc16402d4d1

Contents?: true

Size: 740 Bytes

Versions: 32

Compression:

Stored size: 740 Bytes

Contents

require 'rake/tasklib'
require 'simp/ci/gitlab'

module Simp; end
module Simp::Rake
  class Ci < ::Rake::TaskLib
    def initialize( dir )
       @base_dir = dir
       define
    end

    def define
      namespace :simp do

        desc 'Validate CI configuration'
        task :ci_lint => [:gitlab_ci_lint] do
        end

        desc 'Validate GitLab CI configuration'
        task :gitlab_ci_lint do
          # only validation so far is as follows:
          # - config file is valid YAML
          # - config file passes GitLab lint check, when GitLab available
          # - acceptance test job config has valid suites and nodesets
          Simp::Ci::Gitlab.new(@base_dir).validate_config
        end

      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
simp-rake-helpers-5.22.1 lib/simp/rake/ci.rb
simp-rake-helpers-5.22.0 lib/simp/rake/ci.rb
simp-rake-helpers-5.21.0 lib/simp/rake/ci.rb
simp-rake-helpers-5.20.0 lib/simp/rake/ci.rb
simp-rake-helpers-5.19.2 lib/simp/rake/ci.rb
simp-rake-helpers-5.19.0 lib/simp/rake/ci.rb
simp-rake-helpers-5.18.0 lib/simp/rake/ci.rb
simp-rake-helpers-5.17.1 lib/simp/rake/ci.rb
simp-rake-helpers-5.17.0 lib/simp/rake/ci.rb
simp-rake-helpers-5.16.0 lib/simp/rake/ci.rb
simp-rake-helpers-5.15.0 lib/simp/rake/ci.rb
simp-rake-helpers-5.14.0 lib/simp/rake/ci.rb
simp-rake-helpers-5.13.2 lib/simp/rake/ci.rb
simp-rake-helpers-5.13.1 lib/simp/rake/ci.rb
simp-rake-helpers-5.13.0 lib/simp/rake/ci.rb
simp-rake-helpers-5.12.7 lib/simp/rake/ci.rb
simp-rake-helpers-5.12.6 lib/simp/rake/ci.rb
simp-rake-helpers-5.12.5 lib/simp/rake/ci.rb
simp-rake-helpers-5.12.4 lib/simp/rake/ci.rb
simp-rake-helpers-5.12.3 lib/simp/rake/ci.rb