Sha256: b5935b47ad6d5f184abfea185370c197c594158721093d2389c17f1b43967f01

Contents?: true

Size: 1.44 KB

Versions: 5

Compression:

Stored size: 1.44 KB

Contents

@announce-output
Feature: Packaging

  Background:
    # We use version 0.0.1-suffix to verify that RPM converts dashes to underscores
    # in the version as we expect
    Given I successfully run `env DEBUG=true GLI_DEBUG=true debify package -d ../../example -v 0.0.1-suffix example -- --post-install /distrib/postinstall.sh`
    And I successfully run `env DEBUG=true GLI_DEBUG=true debify package -d ../../example --output rpm  -v 0.0.1-suffix example  -- --post-install /distrib/postinstall.sh`

  Scenario: 'example' project can be packaged successfully
    Then the output should match /conjur-example_0\.0\.1-suffix_(amd64|arm64)\.deb/
    And the output should match /conjur-example-dev_0\.0\.1-suffix_(amd64|arm64)\.deb/
    And the output should match /conjur-example-0\.0\.1_suffix-1\.(x86_64|aarch64)\.rpm/
    And the output should match /conjur-example-dev-0\.0\.1_suffix-1\.(x86_64|aarch64)\.rpm/

  Scenario: 'clean' command will delete non-Git-managed files
    When I successfully run `env DEBUG=true GLI_DEBUG=true debify clean -d ../../example --force`
    And I cd to "../../example"
    Then a file matching %r</conjur-example_0\.0\.1-suffix_(amd64|arm64)\.deb/> should not exist
    And a file matching %r</conjur-example-0\.0\.1_suffix-1\.(x86_64|aarch64)\.rpm/> should not exist

  Scenario: 'example' project can be published
    When I successfully run `env DEBUG=true GLI_DEBUG=true debify publish -v 0.0.1-suffix -d ../../example 5.0 example`

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
conjur-debify-3.0.3.pre.248 features/package.feature
conjur-debify-3.0.3.pre.216 features/package.feature
conjur-debify-3.0.3.pre.145 features/package.feature
conjur-debify-3.0.3.pre.10 features/package.feature
conjur-debify-3.0.3.pre.9 features/package.feature