-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add proxy configuration support #31
Conversation
Hello team! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @quentingodeau! thanks for the PR! I think your code looks good!
I have one general comment though, I would like to see some test cases here. Could you maybe add a simple http proxy to CI and write some sql tests?
Yes of course will try to do that :) |
I adding the tests when I'm done I will change back the PR from Just one question how can I define an env variable only for one test and run it ? - name: Test extension
env:
HTTP_PROXY: http://localhost:3128
# if: ${{ matrix.arch == 'linux_amd64_gcc4' || matrix.arch == 'linux_amd64'}}
if: ${{ matrix.arch == 'linux_amd64_gcc4' }}
run: |
./build/release/test/unittest /mnt/d/gitws/duckdb_azure/test/sql/azure_proxy_local_secrets.test or do you have some recommendation (I'm not yet familiar with the action part) ? thx in advance. |
Greetings! I have updated the tests, but I will need help for the Windows part if you have some time to tell/help me set up them. Once everything is ok, please before merging let me squash a bit my commits. |
Hi @quentingodeau thanks a lot! This looks great. lets skip testing on windows i don't think its worth it to set that up. Also Regarding the HTTP_PROXY env var: I'm fine with leaving the tests as is, I think this is sufficient for now. If CI is all green, feel free to squash, then I think this is good to go |
Hello @samansmink ! I hope that the new commit will fix the squid incompatibility that I saw in the workflow logs. There is something that I found a bit strange when you have run the previous workflow (linux failed with squid incompatibility, for MacOS I mess up the indentation) but windows has worked... I was expected to easier need to install squid or do as it has been done in some others test add an environment variable as a guard to avoid to run the tests. Regards, |
Hi @samansmink, So far I was able to see what I have done wrong with the CI but for this one I have no clue :( Regards, |
@quentingodeau no worries, thats an upstream issue we need to fix. Its caused by the ccache action bumping the node version to one that is incompatible with the manylinux2014 images glibc. I'll fix that later |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks a lot for the work here
Thx a lot (too bad I didn't rebade to have a clean history) I will do better next time! |
Ah mb sorry I forgot, it's all good though! |
No description provided.