From 33b4deee181742fc4e80726aafbbae920cc267d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 May 2022 06:11:54 +0000 Subject: [PATCH 01/22] chore(deps): bump golang from 1.18.1-buster to 1.18.2-buster Bumps golang from 1.18.1-buster to 1.18.2-buster. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b528b64..31b898a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.1-buster +FROM golang:1.18.2-buster # hadolint ignore=DL3027 RUN apt-get update \ From 38efa8432a10d1a1aa0d6e49e3ffdc0c907e26e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Jul 2022 06:12:47 +0000 Subject: [PATCH 02/22] chore(deps): bump golang from 1.18.2-buster to 1.18.4-buster Bumps golang from 1.18.2-buster to 1.18.4-buster. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 31b898a..97f3926 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.2-buster +FROM golang:1.18.4-buster # hadolint ignore=DL3027 RUN apt-get update \ From 85885e16a9d4fb2ffc9fcfc068e0876001579c5b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Jan 2023 06:02:39 +0000 Subject: [PATCH 03/22] chore(deps): bump golang from 1.18.4-buster to 1.19.5-buster Bumps golang from 1.18.4-buster to 1.19.5-buster. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 97f3926..e444e7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.4-buster +FROM golang:1.19.5-buster # hadolint ignore=DL3027 RUN apt-get update \ From b35de83404d81bf65f55733aacc60b22d0c45d0b Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 16 Jan 2023 02:36:30 -0500 Subject: [PATCH 04/22] chore: drop rpm support --- Dockerfile | 2 +- Makefile | 32 +------------------------------- 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/Dockerfile b/Dockerfile index e444e7f..eec678f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM golang:1.19.5-buster # hadolint ignore=DL3027 RUN apt-get update \ - && apt install apt-transport-https build-essential curl gnupg2 jq lintian rpm rsync rubygems-integration ruby-dev ruby software-properties-common sudo -qy \ + && apt install apt-transport-https build-essential curl gnupg2 jq lintian rsync rubygems-integration ruby-dev ruby software-properties-common sudo -qy \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/Makefile b/Makefile index 56c5d4b..9db013d 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,6 @@ build: pre-build @$(MAKE) build/darwin/$(NAME) @$(MAKE) build/linux/$(NAME) @$(MAKE) build/deb/$(NAME)_$(VERSION)_all.deb - @$(MAKE) build/rpm/$(NAME)-$(VERSION)-1.x86_64.rpm build-docker-image: docker build --rm -q -t $(IMAGE_NAME):build . @@ -96,28 +95,6 @@ build/deb/$(NAME)_$(VERSION)_all.deb: build/linux/$(NAME) build/linux/$(NAME)=/usr/bin/$(NAME) \ LICENSE=/usr/share/doc/$(NAME)/copyright -build/rpm/$(NAME)-$(VERSION)-1.x86_64.rpm: build/linux/$(NAME) - chmod 644 LICENSE - export SOURCE_DATE_EPOCH=$(shell git log -1 --format=%ct) \ - && mkdir -p build/rpm \ - && fpm \ - --architecture x86_64 \ - --category admin \ - --description "$$PACKAGE_DESCRIPTION" \ - --input-type dir \ - --license 'MIT License' \ - --maintainer "$(MAINTAINER_NAME) <$(EMAIL)>" \ - --name $(NAME) \ - --output-type rpm \ - --package build/rpm/$(NAME)-$(VERSION)-1.x86_64.rpm \ - --rpm-os linux \ - --url "https://github.com/$(MAINTAINER)/$(REPOSITORY)" \ - --vendor "" \ - --version $(VERSION) \ - --verbose \ - build/linux/$(NAME)=/usr/bin/$(NAME) \ - LICENSE=/usr/share/doc/$(NAME)/copyright - clean: rm -rf build release validation @@ -141,13 +118,11 @@ release: bin/gh-release bin/gh-release-body tar -zcf release/$(NAME)_$(VERSION)_linux_$(HARDWARE).tgz -C build/linux $(NAME) tar -zcf release/$(NAME)_$(VERSION)_darwin_$(HARDWARE).tgz -C build/darwin $(NAME) cp build/deb/$(NAME)_$(VERSION)_all.deb release/$(NAME)_$(VERSION)_all.deb - cp build/rpm/$(NAME)-$(VERSION)-1.x86_64.rpm release/$(NAME)-$(VERSION)-1.x86_64.rpm bin/gh-release create $(MAINTAINER)/$(REPOSITORY) $(VERSION) $(shell git rev-parse --abbrev-ref HEAD) bin/gh-release-body $(MAINTAINER)/$(REPOSITORY) v$(VERSION) release-packagecloud: @$(MAKE) release-packagecloud-deb - @$(MAKE) release-packagecloud-rpm release-packagecloud-deb: build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/ubuntu/bionic build/deb/$(NAME)_$(VERSION)_all.deb @@ -159,19 +134,14 @@ release-packagecloud-deb: build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/raspbian/buster build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/raspbian/bullseye build/deb/$(NAME)_$(VERSION)_all.deb -release-packagecloud-rpm: build/rpm/$(NAME)-$(VERSION)-1.x86_64.rpm - package_cloud push $(PACKAGECLOUD_REPOSITORY)/el/7 build/rpm/$(NAME)-$(VERSION)-1.x86_64.rpm - validate: test mkdir -p validation lintian build/deb/$(NAME)_$(VERSION)_all.deb || true dpkg-deb --info build/deb/$(NAME)_$(VERSION)_all.deb dpkg -c build/deb/$(NAME)_$(VERSION)_all.deb cd validation && ar -x ../build/deb/$(NAME)_$(VERSION)_all.deb - cd validation && rpm2cpio ../build/rpm/$(NAME)-$(VERSION)-1.x86_64.rpm > $(NAME)-$(VERSION)-1.x86_64.cpio - ls -lah build/deb build/rpm validation + ls -lah build/deb validation sha1sum build/deb/$(NAME)_$(VERSION)_all.deb - sha1sum build/rpm/$(NAME)-$(VERSION)-1.x86_64.rpm test: lint unit-tests From c95f4479557f92ebeafc1336f1cb76bfba511109 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Feb 2023 06:57:35 +0000 Subject: [PATCH 05/22] chore(deps): bump golang from 1.19.5-buster to 1.20.1-buster Bumps golang from 1.19.5-buster to 1.20.1-buster. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index eec678f..ab776d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19.5-buster +FROM golang:1.20.1-buster # hadolint ignore=DL3027 RUN apt-get update \ From 11183797baa6e10b2c4109d2abe8ba950fff8061 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Apr 2023 06:57:20 +0000 Subject: [PATCH 06/22] chore(deps): bump golang from 1.20.1-buster to 1.20.3-buster Bumps golang from 1.20.1-buster to 1.20.3-buster. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ab776d6..cf7bff1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20.1-buster +FROM golang:1.20.3-buster # hadolint ignore=DL3027 RUN apt-get update \ From 617ce142a3ab7d6a79f93847d05e89d44d71cf2a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 May 2023 06:57:35 +0000 Subject: [PATCH 07/22] chore(deps): bump golang from 1.20.3-buster to 1.20.4-buster Bumps golang from 1.20.3-buster to 1.20.4-buster. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cf7bff1..ed5245a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20.3-buster +FROM golang:1.20.4-buster # hadolint ignore=DL3027 RUN apt-get update \ From 7722ebb09803b775c669738625d7e8d513b918ad Mon Sep 17 00:00:00 2001 From: josegonzalez Date: Mon, 29 May 2023 18:07:20 -0400 Subject: [PATCH 08/22] chore: remove use of deprecated method for setting ci output values --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 685432d..2c03bc1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,9 +25,9 @@ jobs: shell: bash run: | if [[ "$GITHUB_REF" == *"/pull/"* ]]; then - echo "##[set-output name=branch;]${GITHUB_HEAD_REF#refs/heads/}" + echo "branch=${GITHUB_HEAD_REF#refs/heads/}" >> $GITHUB_OUTPUT else - echo "##[set-output name=branch;]${GITHUB_REF#refs/heads/}" + echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT fi id: extract_branch From cf885b2533055c2a5f8d0b41bb077b584814627f Mon Sep 17 00:00:00 2001 From: josegonzalez Date: Mon, 29 May 2023 18:13:17 -0400 Subject: [PATCH 09/22] feat: add dependabot support to github actions --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9b62da4..7092bea 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,3 +5,10 @@ updates: directory: "/" schedule: interval: "weekly" + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 + labels: + - "type: dependencies" From 925a2b36c0a5b40e9f7edbd999333fdf0f4611b0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 22:14:22 +0000 Subject: [PATCH 10/22] chore(deps): bump actions/checkout from 2 to 3 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/lint.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c03bc1..3ab4c5a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: fail-fast: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: extract branch name shell: bash diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c08c22b..d34acb3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Run hadolint uses: hadolint/hadolint-action@d7b38582334d9ac11c12021c16f21d63015fa250 # v1.6.0 => d7b38582334d9ac11c12021c16f21d63015fa250 @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Run markdown-lint uses: avto-dev/markdown-lint@04d43ee9191307b50935a753da3b775ab695eceb # v1.5.0 => 04d43ee9191307b50935a753da3b775ab695eceb @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Run shellcheck uses: ludeeus/action-shellcheck@94e0aab03ca135d11a35e5bfc14e6746dc56e7e9 # 1.1.0 => 94e0aab03ca135d11a35e5bfc14e6746dc56e7e9 @@ -51,7 +51,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Run shfmt uses: luizm/action-sh-checker@7f44869033b40ee4ffe7dc76c87a1bc66e3d025a # v0.3.0 => 7f44869033b40ee4ffe7dc76c87a1bc66e3d025a @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Clone - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Run yamllint uses: ibiqlik/action-yamllint@ed2b6e911569708ed121c14b87d513860a7e36a7 # v3.0.4 => ed2b6e911569708ed121c14b87d513860a7e36a7 From e79bbe2fc38cf86de77abe9f1f0980e469fa7925 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 22:14:30 +0000 Subject: [PATCH 11/22] chore(deps): bump hadolint/hadolint-action from 1.6.0 to 3.1.0 Bumps [hadolint/hadolint-action](https://github.com/hadolint/hadolint-action) from 1.6.0 to 3.1.0. - [Release notes](https://github.com/hadolint/hadolint-action/releases) - [Changelog](https://github.com/hadolint/hadolint-action/blob/master/.releaserc) - [Commits](https://github.com/hadolint/hadolint-action/compare/d7b38582334d9ac11c12021c16f21d63015fa250...54c9adbab1582c2ef04b2016b760714a4bfde3cf) --- updated-dependencies: - dependency-name: hadolint/hadolint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c08c22b..a4093a3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: - name: Clone uses: actions/checkout@v2 - name: Run hadolint - uses: hadolint/hadolint-action@d7b38582334d9ac11c12021c16f21d63015fa250 + uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v1.6.0 => d7b38582334d9ac11c12021c16f21d63015fa250 markdown-lint: From 5ae5361ade924a992ea03545705298d6dfc11f18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 22:14:33 +0000 Subject: [PATCH 12/22] chore(deps): bump ibiqlik/action-yamllint from 3.0.4 to 3.1.1 Bumps [ibiqlik/action-yamllint](https://github.com/ibiqlik/action-yamllint) from 3.0.4 to 3.1.1. - [Release notes](https://github.com/ibiqlik/action-yamllint/releases) - [Commits](https://github.com/ibiqlik/action-yamllint/compare/ed2b6e911569708ed121c14b87d513860a7e36a7...2576378a8e339169678f9939646ee3ee325e845c) --- updated-dependencies: - dependency-name: ibiqlik/action-yamllint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c08c22b..ad43fc7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -67,7 +67,7 @@ jobs: - name: Clone uses: actions/checkout@v2 - name: Run yamllint - uses: ibiqlik/action-yamllint@ed2b6e911569708ed121c14b87d513860a7e36a7 + uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.0.4 => ed2b6e911569708ed121c14b87d513860a7e36a7 with: config_file: '.github/linters/.yamllint.yml' From 0d714afabdfa9a84e599168bf1d5c9c768f54d01 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 22:14:41 +0000 Subject: [PATCH 13/22] chore(deps): bump actions/upload-artifact from 2 to 3 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c03bc1..9c8f964 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: CI_BRANCH: ${{ steps.extract_branch.outputs.branch }} - name: upload packages - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: build path: build From 7f80f8da81cfebd120ebafd69b3b9dc8ba2c865a Mon Sep 17 00:00:00 2001 From: josegonzalez Date: Mon, 29 May 2023 18:17:17 -0400 Subject: [PATCH 14/22] fix: set correct labels --- .github/dependabot.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7092bea..48bd3e7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,6 +5,8 @@ updates: directory: "/" schedule: interval: "weekly" + labels: + - "type: dependencies" - package-ecosystem: github-actions directory: "/" schedule: From 2ee39c95f42bf402f7199596f45d575ed826aac9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 22:18:20 +0000 Subject: [PATCH 15/22] chore(deps): bump ludeeus/action-shellcheck from 1.1.0 to 2.0.0 Bumps [ludeeus/action-shellcheck](https://github.com/ludeeus/action-shellcheck) from 1.1.0 to 2.0.0. - [Release notes](https://github.com/ludeeus/action-shellcheck/releases) - [Commits](https://github.com/ludeeus/action-shellcheck/compare/94e0aab03ca135d11a35e5bfc14e6746dc56e7e9...00cae500b08a931fb5698e11e79bfbd38e612a38) --- updated-dependencies: - dependency-name: ludeeus/action-shellcheck dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2d88afb..271f233 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -41,7 +41,7 @@ jobs: - name: Clone uses: actions/checkout@v3 - name: Run shellcheck - uses: ludeeus/action-shellcheck@94e0aab03ca135d11a35e5bfc14e6746dc56e7e9 + uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 1.1.0 => 94e0aab03ca135d11a35e5bfc14e6746dc56e7e9 env: SHELLCHECK_OPTS: -e SC2034 From 107ddb43747ed9fc376596939ec1d4e3439462d4 Mon Sep 17 00:00:00 2001 From: josegonzalez Date: Mon, 29 May 2023 18:20:20 -0400 Subject: [PATCH 16/22] fix: remove extra whitespace --- tests/unit/core.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/core.bats b/tests/unit/core.bats index 0f7f59a..eb68020 100644 --- a/tests/unit/core.bats +++ b/tests/unit/core.bats @@ -173,7 +173,7 @@ check_custom_allowed_keys() { echo "status: $status" assert_success - run bash -c "grep -F \"$(< "${TEST_KEY_DIR}/${TEST_KEY_NAME}.pub")\" ~${TEST_USER}/.ssh/authorized_keys | grep user1" + run bash -c "grep -F \"$(<"${TEST_KEY_DIR}/${TEST_KEY_NAME}.pub")\" ~${TEST_USER}/.ssh/authorized_keys | grep user1" echo "output: $output" echo "status: $status" assert_success @@ -183,7 +183,7 @@ check_custom_allowed_keys() { echo "status: $status" assert_success - run bash -c "grep -F \"$(< "${TEST_KEY_DIR}/${TEST_KEY_NAME}.pub")\" ~${TEST_USER}/.ssh/authorized_keys | grep user1" + run bash -c "grep -F \"$(<"${TEST_KEY_DIR}/${TEST_KEY_NAME}.pub")\" ~${TEST_USER}/.ssh/authorized_keys | grep user1" echo "output: $output" echo "status: $status" assert_failure From 300863afc4b1f08d7824b8959b0c2d6ab69b6d70 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 22:20:41 +0000 Subject: [PATCH 17/22] chore(deps): bump luizm/action-sh-checker from 0.3.0 to 0.7.0 Bumps [luizm/action-sh-checker](https://github.com/luizm/action-sh-checker) from 0.3.0 to 0.7.0. - [Release notes](https://github.com/luizm/action-sh-checker/releases) - [Commits](https://github.com/luizm/action-sh-checker/compare/7f44869033b40ee4ffe7dc76c87a1bc66e3d025a...76ab0b22e1f194e4a582edc7969df6485c4e9246) --- updated-dependencies: - dependency-name: luizm/action-sh-checker dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2d88afb..054913f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -53,7 +53,7 @@ jobs: - name: Clone uses: actions/checkout@v3 - name: Run shfmt - uses: luizm/action-sh-checker@7f44869033b40ee4ffe7dc76c87a1bc66e3d025a + uses: luizm/action-sh-checker@76ab0b22e1f194e4a582edc7969df6485c4e9246 # v0.3.0 => 7f44869033b40ee4ffe7dc76c87a1bc66e3d025a env: SHFMT_OPTS: -l -bn -ci -i 2 -d From 2a46bbca1b41392394a02b72c7458042621ce94f Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 12 Jun 2023 02:17:54 -0400 Subject: [PATCH 18/22] chore: remove references to EOL stretch and bionic distributions --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 9db013d..0ffa071 100644 --- a/Makefile +++ b/Makefile @@ -125,10 +125,8 @@ release-packagecloud: @$(MAKE) release-packagecloud-deb release-packagecloud-deb: build/deb/$(NAME)_$(VERSION)_all.deb - package_cloud push $(PACKAGECLOUD_REPOSITORY)/ubuntu/bionic build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/ubuntu/focal build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/ubuntu/jammy build/deb/$(NAME)_$(VERSION)_all.deb - package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/stretch build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/buster build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/bullseye build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/raspbian/buster build/deb/$(NAME)_$(VERSION)_all.deb From a381cbe1c0fbdf5f53bbce3497fdf250aca81890 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Jun 2023 06:57:15 +0000 Subject: [PATCH 19/22] chore(deps): bump golang from 1.20.4-buster to 1.20.5-buster Bumps golang from 1.20.4-buster to 1.20.5-buster. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ed5245a..ae1287d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20.4-buster +FROM golang:1.20.5-buster # hadolint ignore=DL3027 RUN apt-get update \ From 041c59d9a323b697688cdfc6dea2559b612ff7d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mon=20S?= <6475387+Coffee2CodeNL@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:46:54 +0200 Subject: [PATCH 20/22] Add Bookworm Support --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 0ffa071..649c666 100644 --- a/Makefile +++ b/Makefile @@ -129,6 +129,7 @@ release-packagecloud-deb: build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/ubuntu/jammy build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/buster build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/bullseye build/deb/$(NAME)_$(VERSION)_all.deb + package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/bookworm build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/raspbian/buster build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/raspbian/bullseye build/deb/$(NAME)_$(VERSION)_all.deb From fa335d35be4f1154c19d008a81f57888a6c68d25 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 31 Jul 2023 13:18:06 -0400 Subject: [PATCH 21/22] fix: use tabs instead of spaces --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 649c666..ced8adb 100644 --- a/Makefile +++ b/Makefile @@ -129,7 +129,7 @@ release-packagecloud-deb: build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/ubuntu/jammy build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/buster build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/bullseye build/deb/$(NAME)_$(VERSION)_all.deb - package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/bookworm build/deb/$(NAME)_$(VERSION)_all.deb + package_cloud push $(PACKAGECLOUD_REPOSITORY)/debian/bookworm build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/raspbian/buster build/deb/$(NAME)_$(VERSION)_all.deb package_cloud push $(PACKAGECLOUD_REPOSITORY)/raspbian/bullseye build/deb/$(NAME)_$(VERSION)_all.deb From 549ae1961f68ce168b151c4607d189f13dfb50a4 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 6 Aug 2023 18:14:19 -0400 Subject: [PATCH 22/22] Release 0.17.0 - #89 @dependabot chore(deps): bump golang from 1.18.1-buster to 1.18.2-buster - #91 @dependabot chore(deps): bump golang from 1.18.2-buster to 1.18.4-buster - #97 @dependabot chore(deps): bump golang from 1.18.4-buster to 1.19.5-buster - #98 @josegonzalez: Drop rpm support - #100 @dependabot chore(deps): bump golang from 1.19.5-buster to 1.20.1-buster - #102 @dependabot chore(deps): bump golang from 1.20.1-buster to 1.20.3-buster - #103 @dependabot chore(deps): bump golang from 1.20.3-buster to 1.20.4-buster - #104 @josegonzalez: chore: remove use of deprecated method for setting ci output values - #105 @josegonzalez: feat: add dependabot support to github actions - #106 @dependabot chore(deps): bump actions/checkout from 2 to 3 - #107 @dependabot chore(deps): bump luizm/action-sh-checker from 0.3.0 to 0.7.0 - #108 @dependabot chore(deps): bump hadolint/hadolint-action from 1.6.0 to 3.1.0 - #109 @dependabot chore(deps): bump ibiqlik/action-yamllint from 3.0.4 to 3.1.1 - #110 @dependabot chore(deps): bump ludeeus/action-shellcheck from 1.1.0 to 2.0.0 - #111 @dependabot chore(deps): bump actions/upload-artifact from 2 to 3 - #112 @josegonzalez: Remove references to EOL stretch and bionic distributions - #113 @dependabot chore(deps): bump golang from 1.20.4-buster to 1.20.5-buster - #114 @Coffee2CodeNL: Add Bookworm Support --- Makefile | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ced8adb..2453cdf 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ MAINTAINER_NAME = Jose Diaz-Gonzalez REPOSITORY = sshcommand HARDWARE = $(shell uname -m) SYSTEM_NAME = $(shell uname -s | tr '[:upper:]' '[:lower:]') -BASE_VERSION ?= 0.16.0 +BASE_VERSION ?= 0.17.0 IMAGE_NAME ?= $(MAINTAINER)/$(REPOSITORY) PACKAGECLOUD_REPOSITORY ?= dokku/dokku-betafish diff --git a/package.json b/package.json index 6a1f5eb..62f353b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sshcommand", - "version": "0.16.0", + "version": "0.17.0", "description": "Turn SSH into a thin client specifically for your app", "global": "true", "install": "cp sshcommand /usr/local/bin && chmod +x /usr/local/bin/sshcommand",