]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
Revert "WIP: ci: extra check for manager dependencies"
authorVasek Sraier <git@vakabus.cz>
Thu, 21 Apr 2022 20:57:31 +0000 (22:57 +0200)
committerVasek Sraier <git@vakabus.cz>
Thu, 21 Apr 2022 20:57:31 +0000 (22:57 +0200)
This reverts commit f2ac8c5c61fe51406743054bd2a8e86bb20c5e4b.

.gitlab-ci.yml
scripts/check-manager-deps.sh [deleted file]

index 0cff5645ac8dc35ac85030f5d578b3912c187a49..9508c58883e18ef40cf7966176d8407cd2593689 100644 (file)
@@ -174,15 +174,6 @@ news:
   script:
     - head -n 1 NEWS | grep -q $(date +%Y-%m-%d)
 
-manager-deps:
-  <<: *sanity
-  # TODO: run before release only
-  # only:
-  #   refs:
-  #     - /^release.*$/
-  script:
-    - scripts/check-manager-deps.sh
-
 trivial_checks: # aggregated to save some processing
   <<: *sanity
   script:
diff --git a/scripts/check-manager-deps.sh b/scripts/check-manager-deps.sh
deleted file mode 100755 (executable)
index a815929..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This script compates the Python dependencies of manager component with the
-# last packaged version.
-#
-# If there are any differences, first make sure to update packaging files in
-# distro/pkg and then update the list below.
-#
-
-set -o nounset -o xtrace
-
-sed -nE \
-    '/\[tool.poetry.dependencies\]/,/\[tool.poetry.dev-dependencies\]/p' \
-    manager/pyproject.toml \
-    >/tmp/current-deps
-
-# TODO: ensure everything is properly packaged and then update the list
-cat >/tmp/previous-deps << EOF
-#[tool.poetry.dependencies]
-#python = "^3.6.8"
-#aiohttp = "^3.6.12"
-#pydbus = "^0.6.0"
-#PyGObject = "^3.38.0"
-#Jinja2 = "^2.11.3"
-#click = "^7.1.2"
-#PyYAML = "^5.4.1"
-#requests = "^2.25.1"
-#typing-extensions = ">=3.7.2"
-#
-#[tool.poetry.dev-dependencies]
-EOF
-
-diff -u /tmp/previous-deps /tmp/current-deps