Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

gitlab fetch is not working #119

Open
dolby360 opened this issue Oct 14, 2022 · 1 comment
Open

gitlab fetch is not working #119

dolby360 opened this issue Oct 14, 2022 · 1 comment

Comments

@dolby360
Copy link
Contributor

Describe the bug
The test has been done on a clear ubuntu docker container. Following this instructions it still looks like the fetch is not working.
The content of gitab metadata (/root/.allero/repo_files/gitlab.json) is empty {}

To Reproduce
Steps to reproduce the behavior:

docker run -it ubuntu bin/bash

inside docker

apt update && apt upgrade
apt install unzip 
export ALLERO_GITLAB_TOKEN="<tocken>
allero fetch gitlab dolby360/webapp # 404 error
allero fetch gitlab gitterHQ/webapp 
cat /root/.allero/repo_files/gitlab.json # == {}
allero validate # nothing found
@itaiperi
Copy link
Member

itaiperi commented Oct 14, 2022

I can reproduce this issue.
Although, the commands inside docker are not complete, here's the complete list of commands need to run to reproduce (obviously couldn't check your private repo, and for public repo I believe that a token is not required)

apt update && apt upgrade
apt install unzip curl
curl https://get.allero.io | /bin/bash
allero fetch gitlab gitterHQ/webapp
allero validate  # no repositories or owners
cat /root/.allero/repo_files/gitlab.json  # prints {}

@dimabru did this work in the past? Any idea what went wrong?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants