Giter Club home page Giter Club logo

promtool-github-actions's People

Contributors

erikeverts avatar marcusteixeira avatar peimanja avatar

Stargazers

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

promtool-github-actions's Issues

Multiple files not allowed on promtool_actions_files:

I tried adding files to this action. But it is failing, I tried multiple ways. Do you have any idea how we can resolve this?
for ex:
promtool_actions_files: | - 'rules/env1-rules/*.y*ml' - 'rules/env2-rules/*.y*ml'

Path support for .gitignore style expressions?

I'd like to somewhat future-proof my github action to validate .yaml config files with .gitignore style directory matching.

Example:

my_prometheus_project/deploy/**/*_prometheus_configs/*.yml

Error Download Action Promtool from github

2019-12-19T14:47:03.4053252Z ##[section]Starting: Request a runner to run this job
2019-12-19T14:47:03.5139875Z Requesting a hosted runner in current repository's enterprise with labels: 'ubuntu-latest', require runner match: True
2019-12-19T14:47:03.5889466Z Labels matched hosted runners has been found, waiting for one of them get assigned for this job.
2019-12-19T14:47:03.6239481Z ##[section]Finishing: Request a runner to run this job
2019-12-19T14:47:09.3508446Z Current runner version: '2.163.1'
2019-12-19T14:47:09.3509648Z Prepare workflow directory
2019-12-19T14:47:09.3737580Z Prepare all required actions
2019-12-19T14:47:09.3762789Z Download action repository 'actions/checkout@master'
2019-12-19T14:47:11.3090536Z Download action repository 'peimanja/promtool-github-actions@master'
2019-12-19T14:47:11.6786597Z Download action repository 'peimanja/promtool-github-actions@vmaster'
2019-12-19T14:47:11.7868978Z ##[warning]Failed to download action 'https://api.github.com/repos/peimanja/promtool-github-actions/tarball/vmaster'. Error Response status code does not indicate success: 404 (Not Found).
2019-12-19T14:47:11.7874710Z ##[warning]Back off 17.589 seconds before retry.
2019-12-19T14:47:29.5316948Z ##[warning]Failed to download action 'https://api.github.com/repos/peimanja/promtool-github-actions/tarball/vmaster'. Error Response status code does not indicate success: 404 (Not Found).
2019-12-19T14:47:29.5319327Z ##[warning]Back off 27.557 seconds before retry.
2019-12-19T14:47:57.2715204Z ##[error]Response status code does not indicate success: 404 (Not Found).

Unzipping Promtool fails with v2.40.7

Using promtool_actions_version: 2.40.7 which is the latest tag at the time of writing results in the following error:

| Downloading Promtool v2.40.7
| Successfully downloaded Promtool v2.40.7
| Unzipping Promtool v2.40.7
| Failed to unzip Promtool v2.40.7

Workaround is just to use a previous release version. If I have time at some stage I will take a look into a fix.

The unauthenticated git protocol on port 9418 is no longer supported

The command, git ls-remote --tags --refs --sort="v:refname" git://github.com/prometheus/prometheus in main.sh fails with error,

Checking the latest version of Promtool
fatal: remote error: 
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
Failed to fetch the latest version

The cause is likely this, the changes having been made permanent on 2022-03-15.

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.