Jfrog cli copying jfog binary files to aws
Hello Team,
I am using jfrog cli to upload python packages to Artifactory. I am able to upload the package to the artifactory and I am also uploading a copy to AWS s3 .
In the s3 it is copying the jfrog binary files as well which I don't want is there a way to exclude the jfrog file.
Thanks
@Arun1111, When you say "the jfrog binary" are you referring to the JFrog CLI executable? If so, how and why does it get uploaded? Is it uploaded to Artifactory? Can you please share the command you're using?
@Arun1111, Did you see my question above?
Hello Eyal,
I am able to resolve the issue , However I am stuck on a new issue.
I have a python repo and I am using jfrog cli to upload the artifact and dependencies.
I am able to upload the build but for some dependencies the build fails and gives http error while connecting to jfrog . As instructed I have added --trusted-host in my requirements.txt file but the issue is still the same.
It downloads few dependencies from the file while give http error for other. Can you suggest how can I resolve it
Below pasted are the logs:
ERROR: HTTP error 403 while getting http://internal-jfrog-1269719551.us-east-1.elb.amazonaws.com/api/pypi/python-ge/packages/55/6f/c87dffdd88a54dd26a3a9fef1d14b6384a9933c455c54ce3ca7d64a84c88/lxml-4.5.1-cp36-cp36m-manylinux1_x86_64.whl#sha256=51bb4edeb36d24ec97eb3e6a6007be128b720114f9a875d6b370317d62ac80b9 (from http://internal-jfrog-1269719551.us-east-1.elb.amazonaws.com/api/pypi/python-ge/simple/lxml/) (requires-python:>=2.7, !=3.0., !=3.1., !=3.2., !=3.3., != 3.4.) 12:32:57 ERROR: Could not install requirement lxml>=4.5.0 from http://internal-jfrog-1269719551.us-east-1.elb.amazonaws.com/api/pypi/python-ge/packages/55/6f/c87dffdd88a54dd26a3a9fef1d14b6384a9933c455c54ce3ca7d64a84c88/lxml-4.5.1-cp36-cp36m-manylinux1_x86_64.whl#sha256=51bb4edeb36d24ec97eb3e6a6007be128b720114f9a875d6b370317d62ac80b9 (from -r requirements.txt (line 7)) because of error 403 Client Error: Forbidden for url: http://internal-jfrog-1269719551.us-east-1.elb.amazonaws.com/api/pypi/python-ge/packages/55/6f/c87dffdd88a54dd26a3a9fef1d14b6384a9933c455c54ce3ca7d64a84c88/lxml-4.5.1-cp36-cp36m-manylinux1_x86_64.whl 12:32:57 ERROR: Could not install requirement lxml>=4.5.0 from http://internal-jfrog-1269719551.us-east-1.elb.amazonaws.com/api/pypi/python-ge/packages/55/6f/c87dffdd88a54dd26a3a9fef1d14b6384a9933c455c54ce3ca7d64a84c88/lxml-4.5.1-cp36-cp36m-manylinux1_x86_64.whl#sha256=51bb4edeb36d24ec97eb3e6a6007be128b720114f9a875d6b370317d62ac80b9 (from -r requirements.txt (line 7)) because of HTTP error 403 Client Error: Forbidden for url: http://internal-jfrog-1269719551.us-east-1.elb.amazonaws.com/api/pypi/python-ge/packages/55/6f/c87dffdd88a54dd26a3a9fef1d14b6384a9933c455c54ce3ca7d64a84c88/lxml-4.5.1-cp36-cp36m-manylinux1_x86_64.whl for URL http://internal-jfrog-1269719551.us-east-1.elb.amazonaws.com/api/pypi/python-ge/packages/55/6f/c87dffdd88a54dd26a3a9fef1d14b6384a9933c455c54ce3ca7d64a84c88/lxml-4.5.1-cp36-cp36m-manylinux1_x86_64.whl#sha256=51bb4edeb36d24ec97eb3e6a6007be128b720114f9a875d6b370317d62ac80b9 (from http://internal-jfrog-1269719551.us-east-1.elb.amazonaws.com/api/pypi/python-ge/simple/lxml/) (requires-python:>=2.7, !=3.0., !=3.1., !=3.2., !=3.3., != 3.4.) 12:32:57 WARNING: The repository located at internal-jfrog-1269719551.us-east-1.elb.amazonaws.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host internal-jfrog-1269719551.us-east-1.elb.amazonaws.com'. 12:32:57 exit status 1
This issue has been marked as stale due to 6 months of inactivity. As part of our effort to address every issue properly, please feel free to remove the stale label or keep this issue active by leaving a comment. Otherwise, it will be closed in 7 days
This issue was closed due to 7 days of inactivity after being marked as stale. Feel free to reopen it if it remains relevant.