Skip to content

Commit

Permalink
Move kube-manifests/ to jsonnet-compiled/ (#1454)
Browse files Browse the repository at this point in the history
* Move kube-manifests/ to jsonnet-compiled/

Signed-off-by: Marco Pracucci <[email protected]>

* Fixed Makefile target

Signed-off-by: Marco Pracucci <[email protected]>
  • Loading branch information
pracucci authored May 30, 2022
1 parent fd3bf22 commit f883e84
Show file tree
Hide file tree
Showing 53 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
run: make vendor-check

tempo-mixin:
name: Check kube-manifests & tempo-mixin
name: Check jsonnet & tempo-mixin
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17
Expand All @@ -158,8 +158,8 @@ jobs:
- name: Check out code
uses: actions/checkout@v2

- name: Check kube-manifests
run: make kube-manifests-check
- name: Check jsonnet
run: make jsonnet-check

- name: Check tempo-mixin
run: make tempo-mixin-check
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,13 @@ docs-test:
docker pull ${DOCS_IMAGE}
docker run -v ${PWD}/docs/tempo/website:/hugo/content/docs/tempo/latest:z -p 3002:3002 --rm $(DOCS_IMAGE) /bin/bash -c 'mkdir -p content/docs/grafana/latest/ && touch content/docs/grafana/latest/menu.yaml && make prod'

### kube-manifests
.PHONY: kube-manifests kube-manifests-check
kube-manifests:
$(MAKE) -C operations/kube-manifests/util gen
### jsonnet
.PHONY: jsonnet jsonnet-check
jsonnet:
$(MAKE) -C operations/jsonnet-compiled/util gen

kube-manifests-check:
$(MAKE) -C operations/kube-manifests/util check
jsonnet-check:
$(MAKE) -C operations/jsonnet-compiled/util check


### serverless
Expand Down
2 changes: 1 addition & 1 deletion docs/tempo/website/operations/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Helm charts are available in the grafana/helm-charts repo:
## Kubernetes manifests

You can find a collection of Kubernetes manifests to deploy Tempo in the
[operations/kube-manifests](https://github.com/grafana/tempo/tree/main/operations/kube-manifests)
[operations/jsonnet-compiled](https://github.com/grafana/tempo/tree/main/operations/jsonnet-compiled)
folder. These are generated using the Tanka / Jsonnet.

# Deployment scenarios
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kube-manifests
# jsonnet-compiled

Example Kubernetes manifests to deploy Tempo distributed.
Example Kubernetes manifests to deploy Tempo using Jsonnet.

### Build

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// The jsonnet file used to generate these kube-manifests
// The jsonnet file used to generate the Kubernetes manifests.

local tempo = import 'microservices/tempo.libsonnet';

Expand Down

0 comments on commit f883e84

Please sign in to comment.