Skip to content

Commit

Permalink
Merge branch '8.x' into dependabot/github_actions/dot-github/workflow…
Browse files Browse the repository at this point in the history
…s/8.x/updatecli/updatecli-action-2.77.0
  • Loading branch information
orouz authored Feb 12, 2025
2 parents c1bbe5f + 58d6717 commit 3283bca
Show file tree
Hide file tree
Showing 8 changed files with 1,067 additions and 382 deletions.
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.23.5
1.23.6
File renamed without changes.
2 changes: 1 addition & 1 deletion bin/go
2 changes: 1 addition & 1 deletion bin/gofmt
2 changes: 1 addition & 1 deletion docs/version.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// doc-branch can be: master, 8.1, 8.2, etc.
:doc-branch: master
:go-version: 1.23.5
:go-version: 1.23.6
:python: 3.7
:docker: 1.12
:docker-compose: 1.11
225 changes: 112 additions & 113 deletions go.mod

Large diffs are not rendered by default.

1,201 changes: 938 additions & 263 deletions go.sum

Large diffs are not rendered by default.

15 changes: 13 additions & 2 deletions tests/integrations_setup/install_cspm_gcp_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,22 @@
INTEGRATION_INPUT["vars"] = {
"gcp.account_type": "single-account",
}

json_path = Path(__file__).parent / cnfg.gcp_dm_config.credentials_file
if cnfg.gcp_dm_config.service_account_json_path:
logger.info("Using service account credentials json")
json_path = Path(__file__).parent / cnfg.gcp_dm_config.service_account_json_path
service_account_json = read_json(json_path)
INTEGRATION_INPUT["vars"]["gcp.credentials.json"] = json.dumps(service_account_json)

service_account_json = read_json(json_path)
INTEGRATION_INPUT["vars"]["gcp.credentials.json"] = json.dumps(service_account_json)

if version.parse(package_version) > version.parse("1.12"):
INTEGRATION_INPUT["vars"].update(
{
"gcp.project_id": cnfg.gcp_dm_config.project_id,
"gcp.credentials.type": "credentials-json",
},
)

logger.info(f"Starting installation of {INTEGRATION_NAME} integration.")
agent_data, package_data = load_data(
Expand Down

0 comments on commit 3283bca

Please sign in to comment.