Skip to content

[azure_billing] enable agentless deployment#18848

Merged
jakubgalecki0 merged 4 commits intoelastic:mainfrom
jakubgalecki0:azure_billing_agentless
May 8, 2026
Merged

[azure_billing] enable agentless deployment#18848
jakubgalecki0 merged 4 commits intoelastic:mainfrom
jakubgalecki0:azure_billing_agentless

Conversation

@jakubgalecki0
Copy link
Copy Markdown
Contributor

Proposed commit message

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@jakubgalecki0 jakubgalecki0 requested a review from a team as a code owner May 6, 2026 10:48
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

TL;DR

Buildkite failed before any repo code ran: the agent environment hook could not fetch the GitHub token from Vault (github/token/elastic-integrations-pipeline), so buildkite-agent pipeline upload .buildkite/pipeline.yml exited early. This is a CI configuration/infrastructure issue, not a package code regression in this PR.

Remediation

  • Restore/fix Vault token availability for role elastic-integrations-pipeline at path github/token/elastic-integrations-pipeline (or update the hook/role mapping to the correct secret path).
  • Re-run the Buildkite build after the secret/path fix.
Investigation details

Root Cause

The failing job (:pipeline::arrow_up: Upload Pipeline: .buildkite/pipeline.yml) fails in the Buildkite agent environment hook before the upload command executes successfully. The hook retries Vault lookup 5 times and consistently gets No value found, then aborts the executor setup.

No failing application/test stack trace was produced, and no repository source file was executed far enough to indicate a PR code defect.

Evidence

Attempting to retrieve GitHub token from Vault at path: github/token/elastic-integrations-pipeline
No value found at github/token/elastic-integrations-pipeline
Retry 5/5 exited 2, no more retries left.
Error: Error setting up job executor: running "agent environment" shell hook: The agent environment hook exited with status 1

Verification

  • Not run: build fails during agent bootstrap (pre-step), so there is no failing repo command/test to validate locally from this signal.

Follow-up

If this is expected for untrusted fork contexts, gate the upload/bootstrap path to avoid hard-failing when Vault GitHub token access is intentionally unavailable.

Note

🔒 Integrity filter blocked 4 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #18848 pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • [azure_billing] enable agentless deployment #18848 pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #18852 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #18848 search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

What is this? | From workflow: PR Buildkite Detective

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@andrewkroh andrewkroh added documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. Integration:azure_billing Azure Billing Metrics Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] labels May 6, 2026
@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

@jakubgalecki0 jakubgalecki0 merged commit b812167 into elastic:main May 8, 2026
11 checks passed
@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

Package azure_billing - 1.10.0 containing this change is available at https://epr.elastic.co/package/azure_billing/1.10.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. Integration:azure_billing Azure Billing Metrics Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants