mirror of https://github.com/grafana/grafana
[Enterprise] Consolidate extensions folders and keep them around (#98486)
* WIP: copy approach * Fix package name * Do not ignore .keep for frontend extensions * Add keep file for frontend extensions * Tweak makefile to generate enterprise swagger or not * Remove duplicate imports * Add build extensions * Add CMD extensions * Add keep to e2e extensions * Add .keep * Reduce file structure changes * Ignore boring crypto * Add e2e extensions keep file * Remove enterprise file * Update .gitignore * Move things around * Update git ignore * Consolidate backend extensions folder * Move enterprise deps * Update comment * Do not use build tags * Ignore setting enterprise * Revert changes in makefile * Revert package changes * Add back extensions main.go * Update git ignore * Ignore spanner tests * Trick ignore files only by git * Add .ignore file to CODEOWNERS for frontend-ops * Fix issue with noisy duplicate targetspull/100813/head^2
parent
2014d27def
commit
8edfff1bba
@ -0,0 +1,22 @@ |
||||
# This is a trick to ignore files only by git but not by other tools |
||||
!/public/app/extensions |
||||
!/pkg/extensions/* |
||||
!/pkg/cmd/grafana-cli/runner/wireexts_enterprise.go |
||||
!/pkg/server/wireexts_enterprise.go |
||||
!/pkg/build/cmd/enterprise.go |
||||
!/pkg/extensions/* |
||||
|
||||
# Enterprise emails |
||||
!/emails/templates/enterprise_* |
||||
!/public/emails/enterprise_* |
||||
|
||||
# Enterprise reporting fonts |
||||
!/public/fonts/dejavu |
||||
|
||||
# Enterprise devenv |
||||
!/devenv/docker/blocks/grafana-enterprise |
||||
!/devenv/docker/blocks/saml-enterprise |
||||
# This is the new place of the block, but I leave the previous here for a while |
||||
!/devenv/docker/blocks/auth/saml-enterprise |
||||
!/devenv/docker/blocks/auth/signer |
||||
!/devenv/docker/blocks/spanner_tests |
@ -1,4 +1,4 @@ |
||||
package main |
||||
package util |
||||
|
||||
import "github.com/urfave/cli/v2" |
||||
|
@ -0,0 +1,8 @@ |
||||
package util |
||||
|
||||
import "github.com/urfave/cli/v2" |
||||
|
||||
var DryRunFlag = cli.BoolFlag{ |
||||
Name: "dry-run", |
||||
Usage: "Only simulate actions", |
||||
} |
Loading…
Reference in new issue