- Fixed cf deploy --help command
- 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
- 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
- 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.
- 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:
- 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
- Improve upload with slower network connection
- 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
- Fix nil panic when downloading MTA Operation logs
- Fix first request failure during deploy with url
- Do not close channels when uploading file chunks
- Use V3 Cloud Foundry API in
mtas
andmta
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
- Encode remote MTAR URL as base64 string & send it via header
- Add new paramater "skip-idle-start" in blue-green deployments
- All get operation calls that fail will be retried
- Operation ID is printed as progress message (by the backend) rather than in the command
- Fixed bug with retry mechanism when switching from crashed DS instance
- BaseCommand made abstract and lowered code duplication
- General code improvements and refactoring
- 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
- Removed blue-green strategy experimental status
- Calls to shared domains are now retried in case of failure
- Added --namespace flag (experimental) to 'deploy'/'undeploy' and related commands
- Fixed normalization of paths when creating MANIFEST.MF
- 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
- Fixed deploy help message
- Strategy flag for deploy
- Link project to Kanban Board
- Modified build.sh to accommodate static builds
- Send mtaId when deployment starts
- Introduce configurable retry on operation failure
- 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
- Avoid duplication of error messages in output when process fails
- Allow users to verify archive signature via
--verify-archive-signature
optional parameter
- Fixed a DNS lookup timeout issue experienced by some users
- Prepare for adoption in CF-Community plugins repo
- Rename plugin name: MtaPlugin -> multiapps
- Add builds for linux32 and win32 platforms
- 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.
- 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
- Fix 'cf mta' command when there are non-staged apps
- Add support for all-modules and all-resources
- Add support for selective deployment
- 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
- 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
- Show reason for failed uploads
- Fix computation of deploy service URL
- 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
- 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