-
Notifications
You must be signed in to change notification settings - Fork 197
Fix CI #464
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
Fix CI #464
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,8 +14,13 @@ on: | |
|
|
||
| env: | ||
| BUILD_TYPE: Release | ||
| CLICKHOUSE_USER: clickhouse_cpp_cicd | ||
| CLICKHOUSE_PASSWORD: clickhouse_cpp_cicd | ||
| CLICKHOUSE_USER: default | ||
| CLICKHOUSE_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }} | ||
| CLICKHOUSE_SECURE_HOST: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }} | ||
| CLICKHOUSE_SECURE_PORT: 9440 | ||
| CLICKHOUSE_SECURE_USER: default | ||
|
Comment on lines
+17
to
+21
|
||
| CLICKHOUSE_SECURE_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }} | ||
| CLICKHOUSE_SECURE_DB: default | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
@@ -43,6 +48,9 @@ jobs: | |
| - name: Install dependencies | ||
| run: brew install cmake ${{matrix.SSL_INSTALL}} | ||
|
|
||
| - name: Print OpenSSL paths | ||
| run: openssl version -d | ||
|
|
||
| - name: Configure CMake | ||
| run: | | ||
| cmake \ | ||
|
|
@@ -66,7 +74,7 @@ jobs: | |
| run: | | ||
| wget https://github.com/filimonov/go-tlsoffloader/releases/download/v0.1.2/go-tlsoffloader_0.1.2_Darwin_x86_64.tar.gz | ||
| tar -xvzf go-tlsoffloader_0.1.2_Darwin_x86_64.tar.gz | ||
| ./go-tlsoffloader -l localhost:9000 -b github.demo.trial.altinity.cloud:9440 & | ||
| ./go-tlsoffloader -l localhost:9000 -b ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}:9440 & | ||
|
||
|
|
||
| - name: Test | ||
| working-directory: ${{github.workspace}}/build/ut | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,8 +15,8 @@ on: | |
|
|
||
| env: | ||
| BUILD_TYPE: Release | ||
| CLICKHOUSE_USER: clickhouse_cpp_cicd | ||
| CLICKHOUSE_PASSWORD: clickhouse_cpp_cicd | ||
| CLICKHOUSE_USER: default | ||
| CLICKHOUSE_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }} | ||
|
Comment on lines
+18
to
+19
|
||
|
|
||
| # | ||
| # CLICKHOUSE_HOST: localhost | ||
|
|
@@ -87,7 +87,7 @@ jobs: | |
| run: | | ||
| wget https://github.com/filimonov/go-tlsoffloader/releases/download/v0.1.2/go-tlsoffloader_0.1.2_Windows_x86_64.tar.gz | ||
| tar -xvzf go-tlsoffloader_0.1.2_Windows_x86_64.tar.gz | ||
| ./go-tlsoffloader.exe -l localhost:9000 -b github.demo.trial.altinity.cloud:9440 & | ||
| ./go-tlsoffloader.exe -l localhost:9000 -b ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}:9440 & | ||
|
||
|
|
||
| - name: Test | ||
| env: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,9 +15,8 @@ on: | |
|
|
||
| env: | ||
| BUILD_TYPE: Release | ||
| CLICKHOUSE_USER: clickhouse_cpp_cicd | ||
| CLICKHOUSE_PASSWORD: clickhouse_cpp_cicd | ||
| # | ||
| CLICKHOUSE_USER: default | ||
| CLICKHOUSE_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }} | ||
|
Comment on lines
+18
to
+19
|
||
| # CLICKHOUSE_HOST: localhost | ||
| # CLICKHOUSE_PORT: 9000 | ||
| # CLICKHOUSE_USER: default | ||
|
|
@@ -62,7 +61,7 @@ jobs: | |
| choco install wget | ||
| wget https://github.com/filimonov/go-tlsoffloader/releases/download/v0.1.2/go-tlsoffloader_0.1.2_Windows_x86_64.tar.gz | ||
| tar -xvzf go-tlsoffloader_0.1.2_Windows_x86_64.tar.gz | ||
| ./go-tlsoffloader.exe -l localhost:9000 -b github.demo.trial.altinity.cloud:9440 & | ||
| ./go-tlsoffloader.exe -l localhost:9000 -b ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}:9440 & | ||
|
||
|
|
||
| - name: Test | ||
| env: | ||
|
|
||
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.
This workflow runs on
pull_request, but these values are sourced from repository secrets. For PRs from forks,secrets.*will be empty, which may cause the TLS integration tests (e.g.,ut/ssl_ut.cpp) to connect with empty host/password and fail. Consider providing a fallback to the public demo endpoint/creds or gating remote TLS tests to trusted contexts only.