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

Enable Cloud tests back #1136

Closed
wants to merge 13 commits into from
Next Next commit
Enable Cloud tests back
  • Loading branch information
jkaflik committed Oct 31, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 02c8c88d78ba09362e21145cdc7717a1040bf206
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -41,7 +41,6 @@ jobs:
CLICKHOUSE_VERSION=${{ matrix.clickhouse }} make test

integration-tests-cloud:
if: ${{ false }} # disabled for now
runs-on: [self-hosted, style-checker]
defaults:
run:
@@ -106,6 +105,7 @@ jobs:
if: always()
run: terraform destroy -no-color -auto-approve
env:
TF_VAR_api_url: ${{ secrets.INTEGRATIONS_TEAM_TESTS_API_URL }}
TF_VAR_organization_id: ${{ secrets.INTEGRATIONS_TEAM_TESTS_ORGANIZATION_ID }}
TF_VAR_token_key: ${{ secrets.INTEGRATIONS_TEAM_TESTS_TOKEN_KEY }}
TF_VAR_token_secret: ${{ secrets.INTEGRATIONS_TEAM_TESTS_TOKEN_SECRET }}
7 changes: 6 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -2,11 +2,15 @@ terraform {
required_providers {
clickhouse = {
source = "ClickHouse/clickhouse"
version = "~> 0.0.2"
version = "~> 0.0.3"
}
}
}

variable "api_url" {
type = string
}

variable "organization_id" {
type = string
}
@@ -28,6 +32,7 @@ variable "service_password" {
}

provider clickhouse {
api_url = var.api_url
environment = "production"
organization_id = var.organization_id
token_key = var.token_key
Loading