From a00726eea512ad0f12fc0038d81d4250271c7106 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 23 Oct 2024 12:10:25 +0100 Subject: [PATCH] Address some local development issues (#1601) --- .config/requirements.in | 2 -- .github/workflows/ci.yaml | 4 ++-- Taskfile.yml | 1 + tools/test-setup.sh | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.config/requirements.in b/.config/requirements.in index 02fb4b7c0..2c07ade8e 100644 --- a/.config/requirements.in +++ b/.config/requirements.in @@ -23,5 +23,3 @@ mkdocstrings-python pillow pymdown-extensions slugify -# for community-ansible-dev-tools image -ansible-pylibssh==1.1.0 \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2a955e70b..39b8ad969 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,9 +16,9 @@ on: workflow_dispatch: inputs: publish: - description: 'Publish a pre-release' + description: "Publish a pre-release" required: false - default: 'false' + default: "false" concurrency: group: ${{ github.workflow }}-${{ github.event.ref }}-${{ github.event.pull_request.number || github.sha }} diff --git a/Taskfile.yml b/Taskfile.yml index d6d8bb651..9227c4301 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -114,6 +114,7 @@ tasks: desc: Lint the project cmds: - task: install + - task: als:package # to produce the tgz file that can-release is using - packages/ansible-language-server/tools/can-release.sh - "{{.VIRTUAL_ENV}}/bin/python3 ./tools/precheck.py" - "{{.VIRTUAL_ENV}}/bin/python3 -m pre_commit run -a" diff --git a/tools/test-setup.sh b/tools/test-setup.sh index ddcf91926..7695dbec6 100755 --- a/tools/test-setup.sh +++ b/tools/test-setup.sh @@ -176,7 +176,7 @@ fi # macos specific if [[ "${OS:-}" == "darwin" && "${SKIP_PODMAN:-}" != '1' ]]; then command -v podman >/dev/null 2>&1 || { - HOMEBREW_NO_ENV_HINTS=1 time brew install podman + HOMEBREW_NO_ENV_HINTS=1 time brew install podman gh libssh podman machine ls --noheading | grep '\*' || time podman machine init podman machine ls --noheading | grep "Currently running" || { # do not use full path as it varies based on architecture