From ae2f6aae696f8b39fcfa36204a7b3310b626b731 Mon Sep 17 00:00:00 2001 From: Antoine Barthelemy Date: Sun, 29 Oct 2023 14:32:25 +0100 Subject: [PATCH] feat(install): docker suit --- .github/workflows/release.yml | 9 +-- .github/workflows/tests.yml | 107 +++++++++++++++++----------------- tools/docker.install.sh | 3 + 3 files changed, 58 insertions(+), 61 deletions(-) create mode 100644 tools/docker.install.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ecbcbe3..17d2075 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,14 +1,7 @@ name: Release - #on: - # push: - # tags: - # - '[0-9]+.[0-9]+.[0-9]+*' on: - workflow_run: - workflows: ["Shellcheck"] - types: - - completed + push: tags: - '[0-9]+.[0-9]+.[0-9]+*' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b8bd401..8a5831a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,53 +1,54 @@ -#name: Tests -# -#on: [push] -# -#permissions: {} -# -#jobs: -# test: -# #runs-on: ${{ matrix.os }} -# runs-on: ubuntu-latest -# timeout-minutes: 15 -# strategy: -# matrix: -# #os: [ubuntu-latest, macos-latest] -# tool: -# - ansible -# - aws -# #- bash -# #- bitwarden -# - bugzilla -# - cf2tf -# - checkmake -# - c -# - essentials -# #- gitconfig -# - git -# - hadolint -# - hclq -# - jq -# - kubectx -# - kubens -# - kustomize -# - latex -# - opentofu -# - python -# - rust -# - shellcheck -# #- ssh -# #- strongswan -# - terraformdocs -# - terraform -# - tfam -# - tfexe -# - tflint -# - tfswitch -# - vault -# - vim -# - yq -# steps: -# - uses: actions/checkout@v3 -# #- name: ${{ matrix.tool }} ${{ matrix.os }} -# - name: ${{ matrix.tool }} -# run: ./init.sh ${{ matrix.tool }} +name: Tests + +on: [push] + +permissions: {} + +jobs: + test: + #runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest + timeout-minutes: 15 + strategy: + matrix: + #os: [ubuntu-latest, macos-latest] + tool: + - ansible + - aws + #- bash + #- bitwarden + - bugzilla + - cf2tf + - checkmake + - c + - docker + - essentials + #- gitconfig + - git + - hadolint + - hclq + - jq + - kubectx + - kubens + - kustomize + - latex + - opentofu + - python + - rust + - shellcheck + #- ssh + #- strongswan + - terraformdocs + - terraform + - tfam + - tfexe + - tflint + - tfswitch + - vault + - vim + - yq + steps: + - uses: actions/checkout@v3 + #- name: ${{ matrix.tool }} ${{ matrix.os }} + - name: ${{ matrix.tool }} + run: ./init.sh ${{ matrix.tool }} diff --git a/tools/docker.install.sh b/tools/docker.install.sh new file mode 100644 index 0000000..53cf598 --- /dev/null +++ b/tools/docker.install.sh @@ -0,0 +1,3 @@ +#!/bin/sh +set -o errexit +wget -q -O - https://get.docker.com/ | sh