Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • backend backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • subugoesubugoe
  • ahiqarahiqar
  • backendbackend
  • Merge requests
  • !176

Feature/#126 deploy version

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mathias Goebel requested to merge feature/#126-deploy-version into develop Jul 14, 2021
  • Overview 0
  • Commits 18
  • Pipelines 20
  • Changes 11

Feature

Summary

This MR provides a routine to install a specified version of the ahiqar application. As develop and main are not getting updates as often as test and since they are not sensitive to the version number (compared to sometimes competing branches with same ver num to be prepared for test), this MR introduces this mechanism for test stage only.

Simply add version GET parameter to the deployment endpoint and set a valid version number that is available in the repository.

The very first pipeline will act against a application without being able to parse the version parameter. Due to backwards compatibility (as it doesnt matter how many unparsed paramters added to the request) it will install the application anyway when a correct version number (larger then the newest in the repository) is set. Exactly this is the problem addressed by this MR. 💅

Compliance to “Definition of Done”

  • Unit tests passed
  • Code reviewed
  • Product Owner accepts the User Story

Documentation

  • I updated the README (if applicable)
  • I provided my functions with appropriate documentation
  • I updated existing documentation

Tests

Are we able to test this new feature?

  • Yes, everything can be done via unit tests.
  • Yes, you can test by following these steps: …
  • No, it is not possible.

Changelog

  • I added a statement to the CHANGELOG.

Version number

  • I bumped the version number in build.properties.

Closes

Closes

Logs and Screenshots

/cc Mathias Göbel, Frank Schneider, Michelle Weidling

Edited Jul 14, 2021 by Mathias Goebel
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/#126-deploy-version