Skip to content

Test packages installation

Actions
This action test packages installation in Suse, CentOS and Ubuntu
v1.3.1
Latest
Star (1)

Tags

 (1)

test-packages-action

An action to test for correct installation and upgrades of New Relic integration packages. It tests clean installation and upgrade for integration packages in CentOS, Suse and Ubuntu, as well as in Windows.

/linux

Usage and defaults:

    - name: Test packages installation
      uses: paologallinaharbur/test-packages-action/linux@v1
      with:
        tag: ${{ env.TAG }} # Required, trailing v is stripped automatically if found
        integration: 'nri-${{ env.INTEGRATION }}' # Required, with nri- prefix

Extra parameters

The following inputs can be specified to override the default behavior

  • upgrade: Whether to test upgrade path against the version of the same integration in the newrelic repo
    • default: true
  • postInstallExtra: Extra checks to run in addition to the default post-install script. This is specified as a multi-line shell script, which is run line-by-line in different containers. A non-zero exit code for any line causes the installation check to fail.
    • default: empty
  • postInstall: Override the post-install test script. This is run line-by-line in different containers. A non-zero exit code causes the install check to fail.
    • default: See entrypoint.sh
  • distros: Space-separated list of distros to run the test on. Supported values are "ubuntu", "suse" and "centos"
    • default: centos suse ubuntu
  • pkgDir: Path where archives (.deb and .rpm) reside
    • default: ./dist

/windows

Usage and defaults:

    - name: Test packages installation
      uses: paologallinaharbur/test-packages-action/windows@v1
      with:
        tag: ${{ env.TAG }} # Required, trailing v is stripped automatically if found
        integration: 'nri-${{ env.INTEGRATION }}' # Required, with nri- prefix
        arch: 'amd64' # Architecture to test [amd64, 386]

Extra parameters

The following inputs can be specified to override the default behavior

  • upgrade: Whether to test upgrade path against the version of the same integration in the newrelic repo
    • default: true
  • pkgDir: Path where archives (.msi) reside
    • default: build\package\windows\nri-${ARCH}-installer\bin\Release

Test packages installation is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

This action test packages installation in Suse, CentOS and Ubuntu
v1.3.1
Latest

Tags

 (1)

Test packages installation is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.