Skip to content

Releases: draios/infra-action-test-runner

v1.3

24 Apr 14:52
aec8cc6
Compare
Choose a tag to compare

infra-action-test-runner

This Action generalizes the way in which you can start tests.
It aims to provide common dependencies for test environment like KinD, Bats, and the like.

What's Changed

  • chore: use community bats-action, group dependabot actions PRs by @brokenpip3 in #61
  • chore(bats-core): bump bats-core/bats-action version by @massimoschembri in #68
  • Bump the actions-dependency group with 8 updates by @dependabot in #69
  • [SITEOPS-1422] add conditional artifactory, gar, and quay logins to test runner action by @jcorley-sysdig in #73
  • Bump the actions-dependency group with 2 updates by @dependabot in #71
  • [SITEOPS-1422] add artifactory_url and fix gar registry var by @jcorley-sysdig in #74
  • Bump the actions-dependency group with 3 updates by @dependabot in #77
  • [INTERNAL] - remove post_slack since it has not completed successfully in many months by @jcorley-sysdig in #82
  • Bump the actions-dependency group across 1 directory with 3 updates by @dependabot in #83

New Contributors

Full Changelog: v0.4.0...v1.3

v0.4.0

08 Jan 15:47
7b5e0c8
Compare
Choose a tag to compare

What's Changed

  • feat: Kind load for multi-node clusters by @blacksd in #60

Full Changelog: v0.3.0...v0.4.0

v0.3.0

05 Jan 15:16
993926e
Compare
Choose a tag to compare

What's Changed

  • feat: Bump BATS default libraries and pass env to cleanup by @blacksd in #59

Full Changelog: v0.2.6...v0.3.0

v1.2

27 Oct 11:20
5f5d266
Compare
Choose a tag to compare

What's Changed

  • Update azure/setup-helm to v3 by @mbovo in #32

Full Changelog: v0.1.1...v1.2

v1

27 Oct 11:20
5f5d266
Compare
Choose a tag to compare
v1

action-test-runner

This Action try to generalize the way in which you can start tests.
It aim to provide common dependencies for test environment like KinD, Bats and the like

Requirement

This actions require all the tests in the target repo to be callable using task test as entry point, levering taskfile

The other minimal entrypoints required are

  • task test
  • task test:clean
  • task test:logs

Inputs

Required

  • github_token: GITHUB_TOKEN secret

Optional

  • artifactory_username: Artifactory Username
  • artifactory_password: Artifactory Password
  • kind_needed: Boolean if a Kubernetes In Docker cluster is needed for tests (default: false)
  • kind_version: KinD version (default: "v0.11.1")
  • kind_config_path: Kind config path (default: tests/kind-config.yaml)
  • kind_cluster_name: Kind cluster name (default: kind)
  • bats_version: BATS version ("1.5.0")
  • envsubst_needed: Indicate if envsubst is needed (default: "false")

Example workflow

Perform all checks on pull requests

name: tests

on:

  pull_request:
    types: [opened, review_requested, ready_for_review]

jobs:
  tests:
    runs-on: self-hosted
    steps:
      - uses: actions/checkout@v2
      - uses: draios/infra-action-test-runner@v1
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          # this will trigger `task test` in the target repo

v1.1

28 Feb 15:30
6c32ed4
Compare
Choose a tag to compare

Feat: Add the support to specify taskfile task name + test the action locally