Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action not using local ort config #35

Open
cd-dev-ge opened this issue Jun 7, 2024 · 1 comment
Open

Action not using local ort config #35

cd-dev-ge opened this issue Jun 7, 2024 · 1 comment

Comments

@cd-dev-ge
Copy link
Contributor

cd-dev-ge commented Jun 7, 2024

Hi everyone,

I have a repository using this action. Inside I have the following structure:

root-+-src/
     |
     +-.ort.yml
     |
     +-.ort/-+-config/-+-config.yml
                       |
                       +-curations.yml

But the files under .ort/config are not used:

 ______________________________                                                
/        \_______   \__    ___/ The OSS Review Toolkit, version 22.7.0,        
|    |   | |       _/ |    |    built with JDK 11.0.23+9, running under Java 17
|    |   | |    |   \ |    |    Executing 'analyze' as 'ort' on Linux          
\________/ |____|___/ |____|    with 4 CPUs and a maximum of 5120 MiB of memory
                                                                               
Environment variables:                                                        
ORT_CONFIG_DIR = /home/ort/.ort/config                                        
ORT_DATA_DIR = /home/ort/.ort                                                 
HOME = /home/ort                                                              
JAVA_HOME = /opt/java/openjdk                                                 
ANDROID_HOME = /opt/android-sdk                                               
                                                                              
Looking for ORT configuration in the following file:
        /home/ort/.ort/config/config.yml (does not exist)
Looking for analyzer-specific configuration in the following files and directories:
        /home/ort/work/<Repo-Name>/<Repo-Name>/.ort.yml <<<<<<<<<< THIS ONE IS FOUND
        /home/ort/.ort/config/resolutions.yml

I already tried to set ort-config-path and ort-home-path - but neither seems to work.
So what is the correct way to use use those files?

Best regards,
Georg

@senthanal
Copy link

Hi
I also facing exactly same issue. Could someone help here?
Thanks in advance!

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

No branches or pull requests

2 participants