From 600571bbfcac5631f45a7068b249350efa99ce21 Mon Sep 17 00:00:00 2001 From: Christof Marti Date: Tue, 3 Oct 2023 12:17:05 +0200 Subject: [PATCH] Stop building VS Code image (microsoft/vscode-remote-release#8994) --- build/config.json | 1 - build/src/utils/config.js | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/build/config.json b/build/config.json index bbc10114ab..65d5463477 100644 --- a/build/config.json +++ b/build/config.json @@ -7,7 +7,6 @@ "githubRepoName": "microsoft/vscode-dev-containers", "containersPathInRepo": "containers", "historyFolderName": "history", - "repoContainersToBuildPath": "repository-containers/images", "scriptLibraryPathInRepo": "script-library", "scriptLibraryFolderNameInDefinition": "library-scripts", "historyUrlPrefix": "https://github.com/microsoft/vscode-dev-containers/tree/main/containers/", diff --git a/build/src/utils/config.js b/build/src/utils/config.js index 58fa76952c..32c3721b01 100644 --- a/build/src/utils/config.js +++ b/build/src/utils/config.js @@ -54,19 +54,6 @@ async function loadConfig(repoPath) { } }); - // Load repo containers to build - const repoContainersToBuildPath = path.join(repoPath, getConfig('repoContainersToBuildPath', 'repository-containers/build')); - const repoContainerManifestFiles = glob.sync(`${repoContainersToBuildPath}/**/${definitionBuildConfigFile}`); - await asyncUtils.forEach(repoContainerManifestFiles, async (manifestFilePath) => { - const definitionPath = path.resolve(path.dirname(manifestFilePath)); - const definitionId = path.relative(repoContainersToBuildPath, definitionPath); - allDefinitionPaths[definitionId] = { - path: definitionPath, - relativeToRootPath: path.relative(repoPath, definitionPath) - } - await loadDefinitionManifest(manifestFilePath, definitionId); - }); - // Populate image variants and tag lookup for (let definitionId in config.definitionBuildSettings) { const buildSettings = config.definitionBuildSettings[definitionId];