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

Buildkite - extract repository slug #1037

Closed
vio opened this issue Dec 9, 2023 · 0 comments · Fixed by #1038
Closed

Buildkite - extract repository slug #1037

vio opened this issue Dec 9, 2023 · 0 comments · Fixed by #1038
Assignees
Labels
bug Something isn't working

Comments

@vio
Copy link
Member

vio commented Dec 9, 2023

env-ci extracts the slug using ``${env.BUILDKITE_ORGANIZATION_SLUG}/${env.BUILDKITE_PROJECT_SLUG}`, but on buildkit:

  • BUILDKITE_ORGANIZATION_SLUG is the buildkite organization and might differ from repo organization
  • BUILDKITE_PROJECT_SLUG (obsolete) is the buildkite project slug (buildkite organization/buildkite project name)

ref: https://buildkite.com/docs/pipelines/environment-variables

relative-ci:agent env-ci environment variables {
  isCi: true,
  service: 'buildkite',
  slug: 'rltv/rltv/example',
  branch: 'update-agent',
  pr: undefined,
  build: '9',
  buildUrl: 'https://buildkite.com/rltv/example/builds/9',
  commit: '1b6a3c967ada2e7f85f9ea12d25fd3e4523edd5e',
  commitMessage: undefined
@vio vio added the bug Something isn't working label Dec 9, 2023
@vio vio self-assigned this Dec 9, 2023
@vio vio changed the title Buildkit - extract correct repository slug Buildkite - extract repository slug Dec 9, 2023
@vio vio mentioned this issue Dec 9, 2023
@vio vio closed this as completed in #1038 Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant