@@ -79,8 +79,8 @@ pre-push:
79
79
tags : test,links
80
80
glob : ' content/**/*.{md,html}'
81
81
run : |
82
- echo "Running link checker for: {staged_files }"
83
- yarn test:links {staged_files }
82
+ echo "Running link checker for: {push_files }"
83
+ yarn test:links {push_files }
84
84
exit $?
85
85
86
86
# Manage Docker containers
@@ -100,39 +100,39 @@ pre-push:
100
100
tags : test,codeblocks,v2
101
101
env :
102
102
SERVICE : cloud-pytest
103
- run : yarn test:codeblocks:cloud '{staged_files }'
103
+ run : yarn test:codeblocks:cloud '{push_files }'
104
104
105
105
cloud-dedicated-pytest :
106
106
tags : test,codeblocks,v3
107
107
glob : content/influxdb/cloud-dedicated/**/*.md
108
108
run : |
109
- yarn test:codeblocks:cloud-dedicated '{staged_files }' &&
109
+ yarn test:codeblocks:cloud-dedicated '{push_files }' &&
110
110
./test/scripts/monitor-tests.sh stop cloud-dedicated-pytest
111
111
112
112
cloud-serverless-pytest :
113
113
tags : test,codeblocks,v3
114
114
glob : content/influxdb/cloud-serverless/**/*.md
115
115
env :
116
116
SERVICE : cloud-serverless-pytest
117
- run : yarn test:codeblocks:cloud-serverless '{staged_files }'
117
+ run : yarn test:codeblocks:cloud-serverless '{push_files }'
118
118
119
119
clustered-pytest :
120
120
tags : test,codeblocks,v3
121
121
glob : content/influxdb/clustered/**/*.md
122
122
run : |
123
- yarn test:codeblocks:clustered '{staged_files }' &&
123
+ yarn test:codeblocks:clustered '{push_files }' &&
124
124
./test/scripts/monitor-tests.sh stop clustered-pytest
125
125
126
126
telegraf-pytest :
127
127
tags : test,codeblocks
128
128
glob : content/telegraf/**/*.md
129
129
env :
130
130
SERVICE : telegraf-pytest
131
- run : yarn test:codeblocks:telegraf '{staged_files }'
131
+ run : yarn test:codeblocks:telegraf '{push_files }'
132
132
133
133
v2-pytest :
134
134
tags : test,codeblocks,v2
135
135
glob : content/influxdb/v2/**/*.md
136
136
env :
137
137
SERVICE : v2-pytest
138
- run : yarn test:codeblocks:v2 '{staged_files }'
138
+ run : yarn test:codeblocks:v2 '{push_files }'
0 commit comments