From 51ba221cc8e81cab63e6d7e7f87b8b8cac374634 Mon Sep 17 00:00:00 2001 From: Jan Saidl Date: Mon, 6 Apr 2026 22:40:50 +0200 Subject: [PATCH] Remove zerops.yaml size restriction --- CHANGELOG.md | 5 +++++ src/i18n/en.go | 1 - src/i18n/i18n.go | 1 - src/yamlReader/zeropsYaml.go | 3 --- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0af771..ebf37b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v1.0.64] - 2026-04-06 + +### Fixed +- Remove zerops.yaml size restriction + ## [v1.0.60] - 2026-01-27 ### Fixed diff --git a/src/i18n/en.go b/src/i18n/en.go index 2fcdbd0..a7b2422 100644 --- a/src/i18n/en.go +++ b/src/i18n/en.go @@ -172,7 +172,6 @@ and your %s.`, PushDeployUploadPackageFailed: "Package upload failed", PushDeployDeployingStart: "Deploying service", PushDeployZeropsYamlEmpty: "Config file zerops.yml is empty", - PushDeployZeropsYamlTooLarge: "Max. size of zerops.yml is 10 KB", PushDeployZeropsYamlFound: "File zerops.yml found. Path: %s.", PushDeployZeropsYamlNotFound: "File zerops.yml not found. Checked paths: [%s]. \n" + " Please, create a zerops.yml file in the root directory of your project. \n" + diff --git a/src/i18n/i18n.go b/src/i18n/i18n.go index 9329f03..b87a70d 100644 --- a/src/i18n/i18n.go +++ b/src/i18n/i18n.go @@ -152,7 +152,6 @@ const ( PushDeployUploadPackageFailed = "PushDeployUploadPackageFailed" PushDeployDeployingStart = "PushDeployDeployingStart" PushDeployZeropsYamlEmpty = "PushDeployZeropsYamlEmpty" - PushDeployZeropsYamlTooLarge = "PushDeployZeropsYamlTooLarge" PushDeployZeropsYamlFound = "PushDeployZeropsYamlFound" PushDeployZeropsYamlNotFound = "PushDeployZeropsYamlNotFound" diff --git a/src/yamlReader/zeropsYaml.go b/src/yamlReader/zeropsYaml.go index 107ae69..a046fea 100644 --- a/src/yamlReader/zeropsYaml.go +++ b/src/yamlReader/zeropsYaml.go @@ -80,9 +80,6 @@ func ReadZeropsYamlContent(uxBlocks uxBlock.UxBlocks, selectedWorkingDir string, if zeropsYamlStat.Size() == 0 { return "", errors.New(i18n.T(i18n.PushDeployZeropsYamlEmpty)) } - if zeropsYamlStat.Size() > 10*1024 { - return "", errors.New(i18n.T(i18n.PushDeployZeropsYamlTooLarge)) - } return path, nil } }