Skip to content

Commit

Permalink
[Ops] Use urls instead of file locations in backstage location entries (
Browse files Browse the repository at this point in the history
#178208)

## Summary
Another episode of the #178136
saga. It seems I can't find a way to figure out `file` based locations,
backstage always says they don't exist. It's also apparent, that a
sourcegraph.com doesn't show any public `catalog-info.yaml`s that would
use a `type: file` - so it could be a broken approach to begin with.
  • Loading branch information
delanni authored Mar 7, 2024
1 parent 04aeaa2 commit ab796fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .buildkite/pipeline-resource-definitions/locations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ metadata:
name: kibana-buildkite-pipelines-list
description: This file points to individual buildkite pipeline definition files
spec:
type: file
type: url
targets:
- ./kibana-migration-staging.yml
- https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-migration-staging.yml
4 changes: 2 additions & 2 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ metadata:
name: kibana-buildkite-pipelines
description: A location re-routing file, pointing to individual buildkite pipeline definition files
spec:
type: file
target: ./.buildkite/pipeline-resource-definitions/locations.yml
type: url
target: https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/locations.yml

---

Expand Down

0 comments on commit ab796fd

Please sign in to comment.