From c18ec584de701837b851caf180d018ba01867741 Mon Sep 17 00:00:00 2001 From: Andrey Koltsov Date: Mon, 29 Apr 2024 17:04:38 +0300 Subject: [PATCH] * [TCQA] Remove utilities for determining size trends and regressions of TeamCity Docker Images, along with the visualization of the size trend. (#148) * Remove utility for the visualization of Docker Image size trend. --- README.md | 1 - tool/automation/framework/README.md | 55 ---- .../com/jetbrains/teamcity/Automation.kt | 94 ------- .../jetbrains/teamcity/common/MathUtils.kt | 33 --- .../com/jetbrains/teamcity/common/OsUtils.kt | 39 --- .../common/constants/ValidationConstants.kt | 11 - .../common/network/HttpRequestsUtilities.kt | 111 -------- .../teamcity/docker/DockerCliUtilities.kt | 83 ------ .../jetbrains/teamcity/docker/DockerImage.kt | 34 --- .../DockerImageValidationException.kt | 6 - .../docker/hub/DockerRegistryAccessor.kt | 220 ---------------- .../docker/hub/auth/DockerhubCredentials.kt | 26 -- .../hub/data/DockerRegistryInfoAboutImages.kt | 15 -- .../docker/hub/data/DockerRepositoryInfo.kt | 21 -- .../docker/hub/data/DockerhubImage.kt | 24 -- .../hub/data/DockerhubPersonalAccessToken.kt | 13 - .../DockerImageValidationUtilities.kt | 121 --------- .../teamcity/teamcity/TeamCityUtils.kt | 15 -- tool/automation/framework/build.gradle | 37 --- .../gradle/wrapper/gradle-wrapper.jar | Bin 60756 -> 0 bytes .../gradle/wrapper/gradle-wrapper.properties | 5 - tool/automation/framework/gradlew | 240 ------------------ tool/automation/framework/gradlew.bat | 91 ------- tool/automation/framework/settings.gradle | 3 - tool/automation/visualization/README.md | 23 -- .../docker_image_size_trend_sample.png | Bin 134605 -> 0 bytes tool/automation/visualization/visualize.py | 165 ------------ 27 files changed, 1486 deletions(-) delete mode 100644 tool/automation/framework/README.md delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/Automation.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/common/MathUtils.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/common/OsUtils.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/common/constants/ValidationConstants.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/common/network/HttpRequestsUtilities.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/docker/DockerCliUtilities.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/docker/DockerImage.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/docker/exceptions/DockerImageValidationException.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/docker/hub/DockerRegistryAccessor.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/docker/hub/auth/DockerhubCredentials.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/docker/hub/data/DockerRegistryInfoAboutImages.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/docker/hub/data/DockerRepositoryInfo.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/docker/hub/data/DockerhubImage.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/docker/hub/data/DockerhubPersonalAccessToken.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/docker/validation/DockerImageValidationUtilities.kt delete mode 100644 tool/automation/framework/app/src/main/kotlin/com/jetbrains/teamcity/teamcity/TeamCityUtils.kt delete mode 100644 tool/automation/framework/build.gradle delete mode 100644 tool/automation/framework/gradle/wrapper/gradle-wrapper.jar delete mode 100644 tool/automation/framework/gradle/wrapper/gradle-wrapper.properties delete mode 100755 tool/automation/framework/gradlew delete mode 100644 tool/automation/framework/gradlew.bat delete mode 100644 tool/automation/framework/settings.gradle delete mode 100644 tool/automation/visualization/README.md delete mode 100644 tool/automation/visualization/samples/docker_image_size_trend_sample.png delete mode 100644 tool/automation/visualization/visualize.py diff --git a/README.md b/README.md index 38654ec5c..f58fe661b 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,6 @@ This image adds a TeamCity agent suitable for Java and .NET development. ### Utilities - [TeamCity Docker Images - tools](tool) - tools used within the release process of Docker Images. -- [Automation Framework](tool/automation/framework) - framework for simplification of Docker Images release process. ### Bugs/issues/problems diff --git a/tool/automation/framework/README.md b/tool/automation/framework/README.md deleted file mode 100644 index dc36079c4..000000000 --- a/tool/automation/framework/README.md +++ /dev/null @@ -1,55 +0,0 @@ -# Automation Utilities - -## 1. Purpose -Automation Framework that simplifies release process of Docker Images. - -## 2. Build -The application could be built using Gradle Wrapper. -``` -./gradlew clean build -``` - - -## 3. Execution - -``` -./gradlew