Skip to content

[BUG] Publish with last commit is same as publish with all commits #774

@roshair

Description

@roshair

Release version

6.0.1.7

Describe the bug

When deploying with publish-with-last-commit option, apiops deploys and re-creates all the resources like apis, subscriptions etc. Also, all the changes which might have been done in multiple commits, are done. There is no difference between publish-with-last-commit and publish-all-commits option. This is just creating confusion for users and adding complexity.

Expected behavior

Publish with last commit will work faster as compared to all commits and deploy changes only, not the entire repository comparison.

Actual behavior

It compares the entire repository, re-creating all the resources one by one.

Reproduction Steps

  1. Add multiple changes in commits.
  2. Run publisher pipeline with deploy to last commit.
  3. It will re-create all the objects in the repository one by one

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions