You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Deprecate old Makefile targets
* Name Makefile targets to point to files they 'make' as per convention
* Update the contributing doc
* Update CLI docs left behind
cd longhorn-manager && git checkout v1.2.2 &&cd ..
218
-
rm -rf pkg/longhorn
219
-
mv longhorn-manager/k8s/pkg pkg/longhorn
220
-
mv longhorn-manager/types pkg/longhorn/types
221
-
mv longhorn-manager/util pkg/longhorn/util
222
-
rm -rf pkg/longhorn/util/daemon
223
-
rm -rf pkg/longhorn/util/server
224
-
find pkg/longhorn -type f | xargs sed -i "s/github.com\/longhorn\/longhorn-manager\/k8s\/pkg/github.com\/replicatedhq\/troubleshoot\/pkg\/longhorn/g"
225
-
find pkg/longhorn -type f | xargs sed -i "s/github.com\/longhorn\/longhorn-manager\/types/github.com\/replicatedhq\/troubleshoot\/pkg\/longhorn\/types/g"
226
-
find pkg/longhorn -type f | xargs sed -i "s/github.com\/longhorn\/longhorn-manager\/util/github.com\/replicatedhq\/troubleshoot\/pkg\/longhorn\/util/g"
227
-
rm -rf longhorn-manager
228
-
229
227
.PHONY: scan
230
228
scan:
231
229
trivy fs \
@@ -236,11 +234,11 @@ scan:
236
234
./
237
235
238
236
.PHONY: lint
239
-
lint: fmt vet
237
+
lint:
240
238
golangci-lint run --new -c .golangci.yaml ${BUILDPATHS}
241
239
242
240
.PHONY: lint-and-fix
243
-
lint-and-fix: fmt vet
241
+
lint-and-fix:
244
242
golangci-lint run --new --fix -c .golangci.yaml ${BUILDPATHS}
245
243
246
244
.PHONY: watch
@@ -256,3 +254,35 @@ watchrsync: npm-install
256
254
npm-install:
257
255
npm --version 2>&1>/dev/null || ( echo"npm not installed; install npm to set up watchrsync"&&exit 1 )
258
256
npm list gaze-run-interrupt || npm install install --no-save gaze-run-interrupt@~2.0.0
cd longhorn-manager && git checkout v1.2.2 &&cd ..
279
+
rm -rf pkg/longhorn
280
+
mv longhorn-manager/k8s/pkg pkg/longhorn
281
+
mv longhorn-manager/types pkg/longhorn/types
282
+
mv longhorn-manager/util pkg/longhorn/util
283
+
rm -rf pkg/longhorn/util/daemon
284
+
rm -rf pkg/longhorn/util/server
285
+
find pkg/longhorn -type f | xargs sed -i "s/github.com\/longhorn\/longhorn-manager\/k8s\/pkg/github.com\/replicatedhq\/troubleshoot\/pkg\/longhorn/g"
286
+
find pkg/longhorn -type f | xargs sed -i "s/github.com\/longhorn\/longhorn-manager\/types/github.com\/replicatedhq\/troubleshoot\/pkg\/longhorn\/types/g"
287
+
find pkg/longhorn -type f | xargs sed -i "s/github.com\/longhorn\/longhorn-manager\/util/github.com\/replicatedhq\/troubleshoot\/pkg\/longhorn\/util/g"
--kubeconfig string Path to the kubeconfig file to use for CLI requests.
34
35
--load-cluster-specs enable/disable loading additional troubleshoot specs found within the cluster. required when no specs are provided on the command line
35
36
--memprofile string File path to write memory profiling data
36
37
-n, --namespace string If present, the namespace scope for this CLI request
37
-
--no-uri When this flag is used, Troubleshoot does not attempt to retrieve the bundle referenced by the uri: field in the spec.`
38
+
--no-uri When this flag is used, Troubleshoot does not attempt to retrieve the spec referenced by the uri: field`
38
39
-o, --output string specify the output file path for the support bundle
0 commit comments