Skip to content

Latest commit

 

History

History
209 lines (165 loc) · 7.54 KB

CHANGELOG.md

File metadata and controls

209 lines (165 loc) · 7.54 KB

v3.4.1

  • Fixed cf deploy --help command

v3.4.0

  • Fixed a regression where the status of ongoing operations was not being properly checked
  • Add option to define where to apply namespace either as prefix or suffix

v3.3.0

  • Introduce rolling blue green deployment
  • Add fine-grained options to define where to apply namespace
  • Add fine-grained options to define app processing timeouts, including upload, stage, start and task execution
  • Bump dependencies

v3.2.2

  • Fixed random failures during starting operation caused by wrong CSRF token handling
  • Files with same digest but different names will not be reuploaded
  • Fixed filtration by namespace in cf mta command
  • Improved resilience during deploy from URL
  • Fixed enablement of skip-ssl-validation
  • Binaries are now statically linked. Fixes: cf deploy issue. On some older system libc libraries might be older than the required by the dynamically linked plugin binary.

v3.2.1

  • Fixed random failures during MTA archive file upload or starting operation caused by wrong CSRF token handling. Example of the error:
Error occurred: could not upload file "my.mtar.part.1": Post "https://<host>/api/v1/spaces/<space-guid>/files": retry is needed. Retrying after: 3s:

v3.2.0

  • Switch behaviour of file chunks upload to be uploaded in parallel by default. The environment variable "MULTIAPPS_UPLOAD_CHUNKS_IN_PARALLEL" is no longer taken into account and it needs to be removed when configured. In case where internet connection is slow and sequential upload of chunks is beneficial, then env parameter "MULTIAPPS_UPLOAD_CHUNKS_SEQUENTIALLY=true" can be set.
  • Progress bar for file upload can be disabled by env "MULTIAPPS_DISABLE_UPLOAD_PROGRESS_BAR=true". This could be useful configuration for pipelines where every single activity of progress bar is logged in on a new line.
  • Add 1 hour timeout for file upload and deployment with MTA archive URL

v3.1.1

  • Improve upload with slower network connection

v3.1.0

  • Improve performance and usability of deployment with MTA archive URL
  • Add progress bar during file upload
  • Remove archive signature verification flag
  • Update Go to 1.20
  • Add builds for Linux arm64 and MacOS arm64
  • Sanity bump of vulnerable OSS dependencies

v3.0.3

  • Fix nil panic when downloading MTA Operation logs

v3.0.2

  • Fix first request failure during deploy with url

v3.0.1

  • Do not close channels when uploading file chunks

v3.0.0

  • Use V3 Cloud Foundry API in mtas and mta commands
  • Update Go to 1.18
  • Change Deploy Service discovery mechanism - the Deploy Service URL is now calculated based on the CF API instead of querying the shared domains and trying each one
  • Delete deprecated configuration parameters
  • Print org and space names in undeploy

v2.8.0

  • Encode remote MTAR URL as base64 string & send it via header

v2.7.0

  • Add new paramater "skip-idle-start" in blue-green deployments

v2.6.3

  • All get operation calls that fail will be retried

v2.6.2

  • Operation ID is printed as progress message (by the backend) rather than in the command

v2.6.1

  • Fixed bug with retry mechanism when switching from crashed DS instance
  • BaseCommand made abstract and lowered code duplication
  • General code improvements and refactoring

v2.6.0

  • Added functionality for MTAR deployment from URL
  • Custom header for the size of the MTA file is added in the request to the deploy-service
  • Calls to find deploy-service URL are retried

v2.5.1

  • Removed blue-green strategy experimental status
  • Calls to shared domains are now retried in case of failure

v2.5.0

  • Added --namespace flag (experimental) to 'deploy'/'undeploy' and related commands

v2.4.1

  • Fixed normalization of paths when creating MANIFEST.MF

v2.4.0

  • Added support for non-normalized paths in descriptor
  • Additional --mta option for 'dmol' and 'mta-ops'
  • Logging the operation id in the beginning of the (un)deployment
  • Add --delete-service-keys option for the 'undeploy' command
  • Fix overriding of artifacts with the same filename

v2.3.1

  • Fixed deploy help message

v2.3.0

  • Strategy flag for deploy
  • Link project to Kanban Board
  • Modified build.sh to accommodate static builds

v2.2.1

  • Send mtaId when deployment starts

v2.2.0

  • Introduce configurable retry on operation failure

v2.1.3

  • Add validation for env variable CHUNK_SIZE_IN_MB. The minimum value is computed based on the formula: MIN = MTAR_SIZE / 50. The maximum value is 50
  • Fix backend URL discovery when -u option is used

v2.1.2

  • Avoid duplication of error messages in output when process fails
  • Allow users to verify archive signature via --verify-archive-signature optional parameter

v2.1.1

  • Fixed a DNS lookup timeout issue experienced by some users

v2.1.0

  • Prepare for adoption in CF-Community plugins repo
  • Rename plugin name: MtaPlugin -> multiapps
  • Add builds for linux32 and win32 platforms

v2.0.13

  • Large MTARs are not uploaded as a single unit, but are rather split up into smaller chunks that are uploaded separately. This is done in order to prevent failed uploads due to gorouter's request timeout. The chunk's size is now configurable through the env variable CHUNK_SIZE_IN_MB. The value of the variable must be a positive integer and the default is 45. Smaller size may be preferable for slower internet connections.

v2.0.12

  • Fix selective deployment on Windows
  • Fix selective deployment with modules sharing the same binary
  • Stop DDoS attacks against the multiapps-controller
  • Retry on "Invalid CSRF token" errors

v2.0.11

  • Fix 'cf mta' command when there are non-staged apps

v2.0.10

  • Add support for all-modules and all-resources

v2.0.9

  • Add support for selective deployment

v2.0.8

  • Increase TLS Handshake timeout
  • Remove deploy attributes from /mtas API
  • Remove no-longer supported process parameter
  • Allow users to skip the ownership validation via --skip-ownership-validation optional parameter

v2.0.7

  • Refactor progress output
  • Display error messages from non-successful REST calls
  • Fix an issue where deployment was not possible in space with a lot of operations

v2.0.6

  • Show reason for failed uploads

v2.0.1

  • Fix computation of deploy service URL

v2.0.0

  • Bump version to 2.0.0
  • Print dmol command for finished and aborted processes
  • Print the ID of the monitored process
  • Add support for --abort-on-error option
  • Change Message to Text in models.Message
  • Add support for retryable mta rest client
  • Introduce function for getting deploy-service URL
  • Add support for providing session tokens
  • Remove unused fakes
  • Re-generate the client for log/content
  • Refactor service id provider
  • Fix errors in commands
  • Remove non-used methods from restclient
  • Replace slmp and slpp clients with mta client in commands
  • Delete slppclient and slmpclient
  • Update version of go-openapi
  • Add implementation details to the new client
  • Add auth info
  • Add method for executing actions
  • Add mta_rest.yaml as a client definition
  • Print warning when using a custom deploy service URL
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md

Initial public version 1.0.5

  • Supported MTA Operations:
    • deploy - Deploy MTA
    • undeploy - Undeploy MTA
    • bg-deploy - Deploy MTA using blue-green approach
    • mta/mtas - List existing MTA/MTAs
    • mta-ops - Show MTA operations
    • download-mta-op-logs - Download process logs for MTA