Coder Social home page Coder Social logo

gitlab-ci-lint's People

Contributors

bubuabu avatar dependabot[bot] avatar greenkeeper[bot] avatar justjavac avatar snyk-bot avatar swernerx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gitlab-ci-lint's Issues

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

After a fresh install

$ npm --version
4.1.2
$ npm install -g gitlab-ci-lint
/usr/local/bin/gitlab-ci-lint -> /usr/local/lib/node_modules/gitlab-ci-lint/bin/gitlab-ci-lint
/usr/local/lib
└─┬ [email protected] 
  ├─┬ [email protected] 
  │ └── [email protected] 
  ├── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ └─┬ [email protected] 
  │   └── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├─┬ [email protected] 
  │ │ │ └── [email protected] 
  │ │ └── [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├── [email protected] 
  │ │ ├── [email protected] 
  │ │ ├── [email protected] 
  │ │ └── [email protected] 
  │ ├─┬ [email protected] 
  │ │ ├── [email protected] 
  │ │ ├─┬ [email protected] 
  │ │ │ ├── [email protected] 
  │ │ │ ├── [email protected] 
  │ │ │ ├── [email protected] 
  │ │ │ └─┬ [email protected] 
  │ │ │   ├── [email protected] 
  │ │ │   └── [email protected] 
  │ │ └─┬ [email protected] 
  │ │   ├── [email protected] 
  │ │   ├── [email protected] 
  │ │   ├── [email protected] 
  │ │   ├─┬ [email protected] 
  │ │   │ └── [email protected] 
  │ │   ├── [email protected] 
  │ │   ├─┬ [email protected] 
  │ │   │ └── [email protected] 
  │ │   ├── [email protected] 
  │ │   └── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ ├── [email protected] 
  │ └── [email protected] 
  ├─┬ [email protected] 
  │ ├── [email protected] 
  │ ├─┬ [email protected] 
  │ │ └── [email protected] 
  │ └── [email protected] 
  └─┬ [email protected] 
    ├─┬ [email protected] 
    │ ├─┬ [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├── [email protected] 
    │ │ ├── [email protected] 
    │ │ ├── [email protected] 
    │ │ ├── [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├── [email protected] 
    │ │ ├─┬ [email protected] 
    │ │ │ ├── [email protected] 
    │ │ │ ├── [email protected] 
    │ │ │ └── [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├─┬ [email protected] 
    │ │ │ ├── [email protected] 
    │ │ │ ├── [email protected] 
    │ │ │ ├── [email protected] 
    │ │ │ ├── [email protected] 
    │ │ │ ├── [email protected] 
    │ │ │ └── [email protected] 
    │ │ ├── [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├── [email protected] 
    │ │ └─┬ [email protected] 
    │ │   └── [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├─┬ [email protected] 
    │ │ └─┬ [email protected] 
    │ │   ├── [email protected] 
    │ │   ├─┬ [email protected] 
    │ │   │ ├─┬ [email protected] 
    │ │   │ │ ├─┬ [email protected] 
    │ │   │ │ │ └── [email protected] 
    │ │   │ │ └── [email protected] 
    │ │   │ ├── [email protected] 
    │ │   │ ├─┬ [email protected] 
    │ │   │ │ └── [email protected] 
    │ │   │ └── [email protected] 
    │ │   ├── [email protected] 
    │ │   └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├── [email protected] 
    │ │ ├─┬ [email protected] 
    │ │ │ └── [email protected] 
    │ │ ├── [email protected] 
    │ │ └── [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├── [email protected] 
    │ │ ├── [email protected] 
    │ │ ├─┬ [email protected] 
    │ │ │ └─┬ [email protected] 
    │ │ │   ├── [email protected] 
    │ │ │   └── [email protected] 
    │ │ ├── [email protected] 
    │ │ ├── [email protected] 
    │ │ ├─┬ [email protected] 
    │ │ │ ├── [email protected] 
    │ │ │ ├─┬ [email protected] 
    │ │ │ │ └── [email protected] 
    │ │ │ └── [email protected] 
    │ │ ├── [email protected] 
    │ │ ├── [email protected] 
    │ │ ├── [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├── [email protected] 
    │ │ ├─┬ [email protected] 
    │ │ │ └── [email protected] 
    │ │ ├── [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├─┬ [email protected] 
    │ │ │ └── [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├── [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ └── [email protected] 
    │ ├── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├── [email protected] 
    │ │ ├── [email protected] 
    │ │ └── [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├─┬ [email protected] 
    │ │ │ └── [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├── [email protected] 
    │ │ └── [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├── [email protected] 
    │ │ ├── [email protected] 
    │ │ └─┬ [email protected] 
    │ │   ├── [email protected] 
    │ │   └─┬ [email protected] 
    │ │     └── [email protected] 
    │ ├── [email protected] 
    │ └─┬ [email protected] 
    │   └── [email protected] 
    ├── [email protected] 
    ├── [email protected] 
    ├─┬ [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ ├─┬ [email protected] 
    │ │ └── [email protected] 
    │ ├─┬ [email protected] 
    │ │ └── [email protected] 
    │ ├── [email protected] 
    │ ├─┬ [email protected] 
    │ │ └─┬ [email protected] 
    │ │   ├── [email protected] 
    │ │   └── [email protected] 
    │ └─┬ [email protected] 
    │   └─┬ [email protected] 
    │     ├── [email protected] 
    │     └─┬ [email protected] 
    │       └── [email protected] 
    ├─┬ [email protected] 
    │ ├─┬ [email protected] 
    │ │ └── [email protected] 
    │ └── [email protected] 
    ├── [email protected] 
    ├─┬ [email protected] 
    │ ├─┬ [email protected] 
    │ │ ├─┬ [email protected] 
    │ │ │ └── [email protected] 
    │ │ └─┬ [email protected] 
    │ │   ├─┬ [email protected] 
    │ │   │ ├── [email protected] 
    │ │   │ └── [email protected] 
    │ │   ├── [email protected] 
    │ │   └── [email protected] 
    │ ├── [email protected] 
    │ ├── [email protected] 
    │ └─┬ [email protected] 
    │   └── [email protected] 
    ├── [email protected] 
    └─┬ [email protected] 
      ├─┬ [email protected] 
      │ ├── [email protected] 
      │ ├─┬ [email protected] 
      │ │ └── [email protected] 
      │ ├── [email protected] 
      │ └── [email protected] 
      ├── [email protected] 
      ├── [email protected] 
      └─┬ [email protected] 
        ├─┬ [email protected] 
        │ └─┬ [email protected] 
        │   ├─┬ [email protected] 
        │   │ └── [email protected] 
        │   └── [email protected] 
        └─┬ [email protected] 
          ├─┬ [email protected] 
          │ └─┬ [email protected] 
          │   └── [email protected] 
          └── [email protected] 
$ gitlab-ci-lint
/usr/local/lib/node_modules/gitlab-ci-lint/node_modules/babbybel/index.js:47
      let outline = line
      ^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:414:25)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/gitlab-ci-lint/bin/gitlab-ci-lint:3:1)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)

An in-range update of chai is breaking the build 🚨

Version 4.1.0 of chai just got published.

Branch Build failing 🚨
Dependency chai
Current Version 4.0.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As chai is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes 4.1.0 / 2017-07-11

This release includes one new feature and a few bug fixes.

New Features

Bug Fixes

  • Allow dates for isBelow and isAbove assertions (#980, #990; @v1adko)
  • fix: check target's type in .property assertion (#992; @meeber)

Chores

Commits

The new version differs by 16 commits.

  • df9073c Merge pull request #998 from v1adko/make-release
  • cad9933 Merge pull request #1004 from chaijs/code-owners
  • cf70b11 Create CODEOWNERS
  • 3397dda Merge pull request #1005 from meeber/skip-failing-tests
  • 11a6f85 test: skip failing .include tests in IE11
  • 45cb327 [email protected]
  • 2eddd79 Add ES6 collection support to include() (#994)
  • 3c932e2 feat: allow dates for isBelow and isAbove assertions (#990)
  • 3bcb21c Merge pull request #979 from chaijs/greenkeeper/browserify-14.4.0
  • 5daceab Merge pull request #988 from samlanning/missing-var
  • 9116bc8 Merge pull request #993 from meeber/refactor-expect-types
  • 351e968 Merge pull request #992 from meeber/property-target-type
  • e7b2384 refactor: expectTypes to access ssfi flag
  • e6ddf64 fix: check target's type in .property assertion
  • 7e466af Add a missing var keyword found by lgtm.com

There are 16 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of mocha is breaking the build 🚨

Version 3.3.0 of mocha just got published.

Branch Build failing 🚨
Dependency mocha
Current Version 3.2.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As mocha is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪

Status Details - ❌ **continuous-integration/travis-ci/push** The Travis CI build failed [Details](https://travis-ci.org/BuBuaBu/gitlab-ci-lint/builds/225158691)

Release Notes coverave

Thanks to all our contributors, maintainers, sponsors, and users! ❤️

As highlights:

  • We've got coverage now!
  • Testing is looking less flaky \o/.
  • No more nitpicking about "mocha.js" build on PRs.

🎉 Enhancements

  • #2659: Adds support for loading reporter from an absolute or relative path (@sul4bh)
  • #2769: Support --inspect-brk on command-line (@igwejk)

🐛 Fixes

  • #2662: Replace unicode chars w/ hex codes in HTML reporter (@rotemdan)

🔍 Coverage

🔩 Other

Commits

The new version differs by 89 commits0.

  • fb1687e :ship: Release v3.3.0
  • 1943e02 Add Changelog for v3.3.0
  • 861e968 Refactor literal play-icon hex code to a var
  • 1d3c5bc Fix typo in karma.conf.js
  • 9bd9389 Fix spec paths in test HTML files
  • 0a93024 Adds tests for loading reporters w/ relative/absolute paths (#2773)
  • 73929ad Comment special treatment of '+' in URL query parsing
  • e2c9514 Merge pull request #2769 from igwejk/support_inspect_break_in_opts
  • 038c636 Support --inspect-brk on command-line
  • b4ebabd Merge pull request #2727 from lamby/reproducible-build
  • 882347b Please make the build reproducible.
  • a2fc76c Merge pull request #2703 from seppevs/cover_utils_some_fn_with_tests
  • ed61cd0 cover .some() function in utils.js with tests
  • f42cbf4 Merge pull request #2701 from craigtaub/landingSpec
  • 6065242 use stubbed symbol

There are 89 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

401 Unauthorized

running

$ npx gitlab-ci-lint
npx: installed 61 in 5.084s
401 - {"message":"401 Unauthorized"}

I don't mind adding my own token.

An in-range update of request-promise is breaking the build 🚨

Version 4.2.1 of request-promise just got published.

Branch Build failing 🚨
Dependency request-promise
Current Version 4.2.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

request-promise is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 5 commits0.

  • ba7a320 Version 4.2.1
  • d65ff13 docs: example of cookie handling
  • 9ad707c fix: although this break backwards-compatibility with old request versions bumped up because of security vulnerability
  • cc30568 fix: depending on tough-cookie for npm < v3
  • fdc522a fix: using tough-cookie for the request

false

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of mz is breaking the build 🚨

Version 2.7.0 of mz just got published.

Branch Build failing 🚨
Dependency mz
Current Version 2.6.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

mz is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 9 commits.

  • f3d4c79 2.7.0
  • 4da9eeb travis: test 4, 6, 8
  • dcefa43 Readme: Mention graceful-fs (#59)
  • 7bef42a Merge pull request #58 from RyanZim/fs
  • 8309ec2 Modernize copyFile in enviroments that support it
  • 9aea3f5 Merge pull request #52 from RyanZim/sort-lists
  • aae7e3b Sort method lists
  • d393e5c Fix license url (#49)
  • 3cfcb0b Test against Node.js v7 (#48)

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of commander is breaking the build 🚨

Version 2.12.1 of commander was just published.

Branch Build failing 🚨
Dependency commander
Current Version 2.12.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

commander is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v2.12.1
  • Move @types/node to dev dependency
Commits

The new version differs by 4 commits.

  • 91c2514 Merge pull request #721 from abetomo/version_bump_2.12.1
  • 0a91554 version bump 2.12.1
  • a7124fc Merge pull request #718 from chengkungui/patch-1
  • 245584e Move @types/node to dev dependency

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

401 on local files

Hi, is there any easy mean to run this on a local file? I'm thinking of adding it to the pipeline we have of our templates in.

An in-range update of request is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 2.84.0 of request was just published.

Branch Build failing 🚨
Dependency request
Current Version 2.83.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

request is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 6 commits.

  • d77c839 Update changelog
  • 4b46a13 2.84.0
  • 0b807c6 Merge pull request #2793 from dvishniakov/2792-oauth_body_hash
  • cfd2307 Update hawk to 7.0.7 (#2880)
  • efeaf00 Fixed calculation of oauth_body_hash, issue #2792
  • 253c5e5 2.83.1

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Configs which use `include` are always flagged as invalid.

How to reproduce

Create a "template" job e.g.

.job_template:
  image: node:12
  stage: test
  script:
    - yarn test

include in within your .gitlab-ci.yml

include: "/templates/test.yml"

stages:
  - test

unit_test:
  extends: .job_template

Run linter against .gitlab-ci.yml

gitlab.com 404

When used with gitlab.com with account specified (e.g. https://gitlab.com/account_name), it returns a 404.

I imagine the problem is the gitlab service being unavailable on gitlab.com rather than this program, but might be worth mentioning in the README

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.