datreeio / datree

Prevent Kubernetes misconfigurations from reaching production (again 😤 )! From code to cloud, Datree provides an E2E policy enforcement solution to run automatic checks for rule violations. See our docs: https://hub.datree.io
https://datree.io
Apache License 2.0
6.39k stars 363 forks source link

Installing in Github Action CI for Ubuntu Failed #308

Closed sookeke closed 2 years ago

sookeke commented 2 years ago

Describe the bug This started yesterday, My CI pipeline with github action been working using datree but started failing datree installing steps since yesterday

To Reproduce Steps to reproduce the behavior:

Expected behavior [V] Downloaded Datree [V] Finished Installation

Screenshots image

Desktop (please complete the following information):

Additional context
name: CI

on: push: branches: [ master ] pull_request: branches: [ master ]

env: DATREE_TOKEN: ${{ secrets.DATREE_TOKEN }}

jobs: k8s-policy-check: runs-on: ubuntu-18.04

steps:
  - name: Checkout
    uses: actions/checkout@v2

  - name: Install Datree
    run: curl https://get.datree.io | /bin/bash

  - name: Run Datree's policy check
    run: datree test ~/.datree/k8s-demo.yaml
eyarz commented 2 years ago

you are right, I'm also able to reproduce it: https://github.com/eyarz/random-gif-action/runs/4476319902?check_suite_focus=true

someone will look into it ASAP.

myishay commented 2 years ago

@sookeke I just pushed a fix, can you please check this again and let us know if it is fixed on your side?

sookeke commented 2 years ago

@myishay this is fix. thank you