Skip to content

Commit 4e07717

Browse files
committed
fix: backstage test
1 parent a00e824 commit 4e07717

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
cache-
7777
- name: E2E Test
7878
run: |
79+
pip3 install pyyaml
7980
make ginkgo
8081
ginkgo -r tests/e2e/
8182
env:
@@ -105,7 +106,9 @@ jobs:
105106
restore-keys: |
106107
cache-
107108
- name: Test
108-
run: make test-prod
109+
run: |
110+
pip3 install pyyaml
111+
make test-prod
109112
110113
test-clickhouse:
111114
runs-on: ubuntu-latest

fixtures/exec-backstage-catalog.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ apiVersion: configs.flanksource.com/v1
22
kind: ScrapeConfig
33
metadata:
44
name: exec-backstage-catalog
5-
namespace: default
65
annotations:
7-
trace: "true"
6+
trace: 'true'
87
spec:
9-
schedule: "@every 1h"
8+
schedule: '@every 1h'
109
exec:
1110
- type: $.type
1211
id: $.id
@@ -96,7 +95,8 @@ spec:
9695
9796
checkout:
9897
url: https://github.com/backstage/backstage
99-
depth: 1
98+
branch: master
99+
# depth: 1 # https://github.com/flanksource/duty/issues/1688
100100

101101
tags:
102102
- name: lifecycle
@@ -108,16 +108,16 @@ spec:
108108
- name: owner
109109
jsonpath: $.spec.owner
110110

111-
properties:
112-
- name: type
113-
filter: config_type startsWith 'Backstage::'
114-
jsonpath: $.spec.type
115-
- name: lifecycle
116-
filter: config_type startsWith 'Backstage::'
117-
jsonpath: $.spec.lifecycle
118-
- name: source_file
119-
filter: config_type startsWith 'Backstage::'
120-
jsonpath: $.source_file
111+
# properties:
112+
# - name: type
113+
# filter: config_type startsWith 'Backstage::'
114+
# jsonpath: $.spec.type
115+
# - name: lifecycle
116+
# filter: config_type startsWith 'Backstage::'
117+
# jsonpath: $.spec.lifecycle
118+
# - name: source_file
119+
# filter: config_type startsWith 'Backstage::'
120+
# jsonpath: $.source_file
121121

122122
transform:
123123
exclude:

0 commit comments

Comments
 (0)