[chore] migration of plugin-store (#27506)
Plugin store is gradually migrated from: - https://plugins-store.test.mattermost.com to - https://plugins.releases.mattermost.com We reflect that change here Note: Currently both CDN's are working as expected, to facilitate the mgiration. Upon succesfull migration, https://plugins-store.test.mattermost.com will be decomissioned
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
1f9c9486b8
Коммит
762ff9b96c
@@ -271,8 +271,8 @@ prepackaged-plugins: ## Populate the prepackaged-plugins directory.
|
|||||||
@echo Downloading prepackaged plugins: $(PLUGIN_PACKAGES)
|
@echo Downloading prepackaged plugins: $(PLUGIN_PACKAGES)
|
||||||
mkdir -p prepackaged_plugins
|
mkdir -p prepackaged_plugins
|
||||||
@cd prepackaged_plugins && for plugin_package in $(PLUGIN_PACKAGES) ; do \
|
@cd prepackaged_plugins && for plugin_package in $(PLUGIN_PACKAGES) ; do \
|
||||||
curl -f -O -L https://plugins-store.test.mattermost.com/release/$$plugin_package.tar.gz; \
|
curl -f -O -L https://plugins.releases.mattermost.com/release/$$plugin_package.tar.gz; \
|
||||||
curl -f -O -L https://plugins-store.test.mattermost.com/release/$$plugin_package.tar.gz.sig; \
|
curl -f -O -L https://plugins.releases.mattermost.com/release/$$plugin_package.tar.gz.sig; \
|
||||||
done
|
done
|
||||||
|
|
||||||
prepackaged-binaries: ## Populate the prepackaged-binaries to the bin directory
|
prepackaged-binaries: ## Populate the prepackaged-binaries to the bin directory
|
||||||
|
|||||||
@@ -145,8 +145,8 @@ fetch-prepackaged-plugins:
|
|||||||
mkdir -p tmpprepackaged
|
mkdir -p tmpprepackaged
|
||||||
@echo "Downloading prepackaged plugins ... "
|
@echo "Downloading prepackaged plugins ... "
|
||||||
@cd tmpprepackaged && for plugin_package in $(PLUGIN_PACKAGES) ; do \
|
@cd tmpprepackaged && for plugin_package in $(PLUGIN_PACKAGES) ; do \
|
||||||
curl -f -O -L https://plugins-store.test.mattermost.com/release/$$plugin_package-$(PLUGIN_ARCH).tar.gz; \
|
curl -f -O -L https://plugins.releases.mattermost.com/release/$$plugin_package-$(PLUGIN_ARCH).tar.gz; \
|
||||||
curl -f -O -L https://plugins-store.test.mattermost.com/release/$$plugin_package-$(PLUGIN_ARCH).tar.gz.sig; \
|
curl -f -O -L https://plugins.releases.mattermost.com/release/$$plugin_package-$(PLUGIN_ARCH).tar.gz.sig; \
|
||||||
done
|
done
|
||||||
@echo "Done"
|
@echo "Done"
|
||||||
|
|
||||||
|
|||||||
@@ -170,9 +170,9 @@ func (s *MmctlE2ETestSuite) TestPluginInstallURLCmd() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const (
|
const (
|
||||||
jiraURL = "https://plugins-store.test.mattermost.com/release/mattermost-plugin-jira-v3.0.0.tar.gz"
|
jiraURL = "https://plugins.releases.mattermost.com/release/mattermost-plugin-jira-v3.0.0.tar.gz"
|
||||||
jiraPluginID = "jira"
|
jiraPluginID = "jira"
|
||||||
githubURL = "https://plugins-store.test.mattermost.com/release/mattermost-plugin-github-v2.0.0.tar.gz"
|
githubURL = "https://plugins.releases.mattermost.com/release/mattermost-plugin-github-v2.0.0.tar.gz"
|
||||||
githubPluginID = "github"
|
githubPluginID = "github"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -216,7 +216,7 @@ func (s *MmctlE2ETestSuite) TestPluginInstallURLCmd() {
|
|||||||
s.RunForSystemAdminAndLocal("install a nonexistent plugin", func(c client.Client) {
|
s.RunForSystemAdminAndLocal("install a nonexistent plugin", func(c client.Client) {
|
||||||
printer.Clean()
|
printer.Clean()
|
||||||
|
|
||||||
const pluginURL = "https://plugins-store.test.mattermost.com/release/mattermost-nonexistent-plugin-v2.0.0.tar.gz"
|
const pluginURL = "https://plugins.releases.mattermost.com/release/mattermost-nonexistent-plugin-v2.0.0.tar.gz"
|
||||||
var expected error
|
var expected error
|
||||||
expected = multierror.Append(expected, errors.New("An error occurred while downloading the plugin.")) //nolint:revive
|
expected = multierror.Append(expected, errors.New("An error occurred while downloading the plugin.")) //nolint:revive
|
||||||
|
|
||||||
@@ -287,7 +287,7 @@ func (s *MmctlE2ETestSuite) TestPluginDeleteCmd() {
|
|||||||
s.SetupTestHelper().InitBasic()
|
s.SetupTestHelper().InitBasic()
|
||||||
|
|
||||||
const (
|
const (
|
||||||
jiraURL = "https://plugins-store.test.mattermost.com/release/mattermost-plugin-jira-v3.0.0.tar.gz"
|
jiraURL = "https://plugins.releases.mattermost.com/release/mattermost-plugin-jira-v3.0.0.tar.gz"
|
||||||
jiraPluginID = "jira"
|
jiraPluginID = "jira"
|
||||||
dummyPluginID = "randompluginxz" // This will be used to check response when tried to delete this plugin with randomchars which was not installed/enabled already
|
dummyPluginID = "randompluginxz" // This will be used to check response when tried to delete this plugin with randomchars which was not installed/enabled already
|
||||||
)
|
)
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user