v1.0.0
Changelog
💫 Features
- Merge pull request 'feat: add user input confirmation before the openvox agent is installed and configured' (#170) from feat/add-user-input-confirmation into main
- feat: add user input confirmation before the openvox agent is installed and configured
- feat: implement progressbar for a smooth ux and segregate functionalities in steps
- Merge pull request 'feat: added verification of install token' (#163) from add-verification-of-token-at-start-of-script into main
- feat: added verification of install token
- Merge pull request 'feat(provisioner): add support for puppet installation via gem on turrisos' (#155) from ading-turrisos-puppet-gem-support into main
- feat(provisioner): add support for puppet installation via gem on turrisos
- Merge pull request 'feat: added install script failure and update script to be reported to obmondo-api' (#141) from update/obmondo-install-script-for-reporting-failure into main
- feat: added install script failure and update script to be reported to obmondo-api
- Merge pull request 'feat: Added support for cobra and custom puppetserver flags for install scripts' (#140) from custom_puppetserver into main
- feat: access certname, puppetcert and puppetprivkey from env using viper and os.getenv respectively fix: added a -y to install puppet-agent when doing this on debian family fix: disabled unattended-upgrade service, using puppet resource, otherwise it will update the system, but we manage the system using service window, and user can enable if they really want it. since this it runs only once during the first setup
- feat: moved from flags to cobra flags, to provide better flag system and consistent with other projects, and in future easily expand it
- Merge pull request 'feat: enable renovate dependency management' (#122) from renovate/dependency-management into main
- feat: enable renovate dependency management
- Merge pull request 'feat: added a go scripts to run a ssh auth check' (#107) from linuxaid_spray into main
- feat: added a go scripts to run a ssh auth check
- feat: added upload artifacts workflow
- Merge pull request 'feat: Migration of obmondo install script to Golang.' (#49) from install_script_impro into main
- feat: Migration of obmondo install script to Golang.
- Merge pull request 'feat: More Improvements' (#36) from go-script-puppet-exit-code-fix into main
- feat: More Improvements
- Merge pull request 'feat: added support for packaging of obmondo-system-updates and misc fix' (#7) from package_support into main
- feat: added support for packaging of obmondo-system-updates and misc fix
🐛 Bug fixes
- Merge pull request 'fix: update the working directory for building go binaries via go releaser in ci workflow' (#174) from fix/change-the-working-directory-for-build into main
- fix: update the working directory for building go binaries via go releaser in ci workflow
- Merge pull request 'fix: update the user confirmation message' (#171) from fix/update-confirmation-message into main
- fix: update the user confirmation message
- fix: handle the logs and progressbar write and render, and patch tests
- fix: update the install script input structure and re-organize service window closure functionalities
- fix: handle puppet agent exitcode and other command execution error handling
- fix: update logger to support custom writer for better progressbar segregation and update webtee url configs
- fix: restructure flags and envs based on cobra and viper conventions
- fix: logger functionalities with debug bool
- Merge pull request 'fix: fetch certname with proper error handling' (#164) from fix/fetch-certname-handling into main
- fix: fetch certname with proper error handling
- Merge pull request 'fix: fixed tls certifcate not being found in env for install script' (#160) from update/add-beta into main
- fix: fixed tls certifcate not being found in env for install script
- Merge pull request 'fix: minor bug fix in install_script' (#159) from fix-install-script into main
- fix: minor bug fix in install_script
- fix: handle puppet agent exit status codes
- Merge pull request 'fix: rectify the run_puppet env path same as we have in linuxaid' (#151) from fix/fetch-correct-env-for-puppet-run into main
- fix: rectify the run_puppet env path same as we have in linuxaid
- Merge pull request 'fix: updated puppet domain suffix to fix error in check tcp func' (#148) from fix/bug-in-check-tcp-func into main
- fix: updated puppet domain suffix to fix error in check tcp func
- Merge pull request 'fix: added bindings from cobra to viperconfig in obmondo-run-puppet to fix panic' (#146) from fix/panic-in-puppet-run-script into main
- fix: added bindings from cobra to viperconfig in obmondo-run-puppet to fix panic
- Merge pull request 'fix: added missing main function in obmondo-system-update' (#142) from update/obmondo-install-script-for-reporting-failure into main
- fix: added missing main function in obmondo-system-update
- fix: check if puppet server is reachable or not
- fix: moved obmondo-system-udpate to cobra and fixed the respective test as well
- fix: removed RequireCertNameEnv, since its getting handled by cobra/viper
- fix: added log and made func exit if it get non 200 code
- Merge pull request 'fix: optimise linuxaid spray makefile' (#131) from add_makefile into main
- fix: optimise linuxaid spray makefile
- Merge pull request 'fix: update linuxaidspray makefile' (#129) from add_makefile into main
- fix: update linuxaidspray makefile
- Merge pull request 'fix: update linuxaidspray to fix release CI' (#127) from fix_release_ci into main
- fix: update linuxaidspray to fix release CI
- fix: fixed some issues with codebase (the ones I could see, reading the code)
- Merge pull request 'fix: segregate the functionality to only check if the os is supported' (#120) from os-release/check-supported-os into main
- fix: segregate the functionality to only check if the os is supported
- fix: fixed some issues with codebase (the ones I could see, reading the code
- fix: added 'echo' command to fix 127 error and fixed ssl error
- Merge pull request 'fix: added master as default env for puppet agent' (#112) from puppet_default_env into main
- fix: added master as default env for puppet agent
- Merge pull request 'fix: split the CI job for better readability' (#104) from misc_fix into main
- fix: split the CI job for better readability
- Merge pull request 'fix: split the CI job for better readability' (#103) from misc_fix into main
- fix: split the CI job for better readability
- Merge pull request 'fix: installation script fix, which was emitting extra info' (#102) from misc_fix into main
- fix: added build rule in Makefile
- fix: lint
- fix: handle log spit on host terminal, and send the output to webtee go-api
- fix: renamed from util to utils
- Merge pull request 'fix: added debian11 support and switched to a diff mode to identify the respective OS' (#55) from add_os_support into main
- fix: added debian11 support and switched to a diff mode to identify the respective OS
- Merge pull request 'fix: disk space check for boot and / partition in the update script' (#54) from disk_check into main
- fix: disk space check for boot and / partition in the update script
- Merge pull request 'fix: disk space handling and added missing supported OS, bumped the version too' (#53) from disk_check into main
- fix: disk space handling and added missing supported OS, bumped the version too
- fix: puppet enable/disable wait for it to complete
- fix: formatting fix
- fix: bumped the version and added PATH env when running update script
- fix: added more fix to handle suse and correct exit code
- fix: restructure of the go-scripts
- fix: multiple fixes
- fix: improvement on how to check if the latest kernel is installed
- Merge pull request 'fix: improvement on how to check if the latest kernel is installed' (#45) from more_improve into main
- fix: multiple fixes
- fix: improvement on how to check if the latest kernel is installed
- Merge pull request 'fix: enable puppet-agent before reboot' (#43) from reboot_fix into main
- fix: enable puppet-agent before reboot
- Merge pull request 'Misc fix: closure of service window and fail if env is not present' (#42) from close_service_fix into main
- fix: accept multiple status code from api response and fixed the lint issue
- fix: handle closure of service window
- Merge pull request 'fix: script should exit with 0 and fixed the println function' (#41) from exit_with_0 into main
- fix: script should exit with 0 and fixed the println function
- Merge pull request 'fix: setup golang in CI and use a package-build image for now' (#33) from more_fix_go-update into main
- fix: setup golang in CI and use a package-build image for now
- Merge pull request 'fix: setup golang in CI and use a package-build image for now' (#32) from more_fix_go-update into main
- fix: setup golang in CI and use a package-build image for now
- Merge pull request 'fix: setup golang in CI and use a package-build image for now' (#31) from more_fix_go-update into main
- fix: setup golang in CI and use a package-build image for now
- Merge pull request 'fix: falling back to pull_request_target' (#29) from workflow_fix into main
- fix: falling back to pull_request_target
- Merge pull request 'fix: trying with pull_request_target option in gitea workflow' (#25) from workflow_fix into main
- fix: trying with pull_request_target option in gitea workflow
- Merge pull request 'fix: run only when PR is raised' (#23) from workflow_fix into main
- fix: run only when PR is raised
- Merge pull request 'fix: look for correct branch when PR is merged' (#22) from workflow_fix into main
- fix: look for correct branch when PR is merged
- fix: added a cleanup function, so puppet agent is always enabled, incase it died anywhere in between and puppet agent should be on production env
- fix: reverted the test changes
- fix: misc bug fixes and improvements
- fix: added a gitea action to send package to atat
🥴 Others
- Merge pull request 'chore: downgrade go module version to match with goreleaser action workflow' (#173) from chore/downgrafe-go-module-version into main
- chore: downgrade go module version to match with goreleaser action workflow
- Merge pull request 'chore: remove unnecessary files which affecting tag workflow on github' (#172) from clean/remove-unnecessary-files into main
- chore: remove unnecessary files which affecting tag workflow on github
- Merge pull request 'chore: add go binary release workflow' (#167) from chore/add-go-binary-release-workflow into main
- chore: address lint and update comment for successful service window closure
- chore: update the example text provided in the help section for commands
- chore: display openvox run is disabled when skip openvox flag is passed
- chore: update the prettyfy func call for token verification
- chore: addressing lint issues
- chore: update the version and ensure go-releaser is triggered on tag creation
- chore: update the obmondo-system-update script to system-update and remove deprecated puppet env
- chore: remove example hint and autocompletion
- chore: handle service window calls in tests
- chore: rename func obmondoInstallSetup to install
- chore: address the lint and workflow issues
- chore: update the module from go-scripts to linuxaid-cli
- chore: refactor codebase with latest conventions which will implement linuxaid-cli and linuxaid-install functionalities
- chore: update go module version and makefile to keep things simple
- chore: update the workflow actions with latest changes
- chore: remove unnecessary configs and pkg
- chore: add go binary release workflow
- Merge pull request 'update: added seperate function for install token verification to match latest url' (#169) from update/install-script-install-token-verification into main
- update: added seperate function for install token verification to match latest url
- chore: update the pretty-print message and icon conventions
- Merge pull request 'chore: change log level for puppet installation process' (#158) from puppet/change-log-level-during-installation-process into main
- chore: change log level for puppet installation process
- Merge pull request 'Bump install script's version to release openvox changes' (#157) from bumpversion into main
- Bump install script's version to release openvox changes
- Merge pull request 'Adjusted install script code for openvox URL package' (#156) from update_puppet_version into main
- Adjusted install script code for openvox URL package
- Merge pull request 'update: removed certname flag and enabled getting certname from cert and key' (#152) from fix/fallback-mechanism-for-certname-setiing-for-puppet-run into main
- update: removed certname flag and enabled getting certname from cert and key
- Merge pull request 'release new setup and run puppet version' (#144) from new-release into main
- release new setup and run puppet version
- WIP
- WIP
- chore: refactoring
- chore: fixed lint
- chore: update the module name to correctly reflect the repo path with lint fix
- chore: remove unused go module
- chore: lint and test fixes across the codebase
- chore: moved from package name constants to constant naming convention, as per golang
- chore: moved from package name utils to helper naming convention, as per golang
- chore: updated the golang ci lint workflow and golangci.yaml as per current version
- chore: bumped the version for all the cmd
- chore: replaced go-scripts with fqdn gitea.obmondo.com/go-scripts
- chore: show default puppetserver in the help section and fixed bad default for puppetserver, it was missing a dot "."
- chore: moved the puppet.obmondo.com under constants now, since we want to support custom puppetserver
- Merge pull request 'Fix: Added logs and made func exit if it gets non 200 code' (#138) from fix/logs into main
- Merge pull request 'Fixed the incorrect error handling for CheckDiskSize' (#137) from minor-fix into main
- fixed the incorrect error handling
- Merge pull request 'fix log levels so client don't see webtee logs, fixed version info bug' (#134) from fix-install-script into main
- fix log levels so client don't see webtee logs, fixed version info bug
- Merge pull request 'fix puppet agent url puppet8 to puppet7' (#133) from fix-puppetagent-url into main
- fix puppet agent url puppet8 to puppet7
- Merge pull request 'Add: version flag for two scripts that were missing it' (#119) from feat/version-flag into main
- Merge pull request 'Fix: Fixed some issues in codebase like unreachable statements, error handling , logging' (#121) from improve/refactor into main
- added version flag for two scripts
- added version flag for two scripts
- add version and debug flags to obmondo install setup script
- Merge pull request 'add-version-and-debug-flag obmondo install script' (#117) from add-version-and-debug-flag into main
- add version and debug flags to obmondo install setup script
- Merge pull request 'add timeout when checking if puppet server exist' (#113) from increase-timeout-http-request into main
- Merge pull request 'update install setup script check if customer puppet server exist' (#111) from update-script-check-if-customer-puppet-server-exist into main
- update install setup script check if customer puppet server exist
- Merge pull request 'updated obmondo SDK to match upcoming change in /window/now JSON' (#100) from update-obmondo-system-update-script-to-support-window-now-response-update into main
- Added changes in go-scripts for upcoming changes in go-api
- Merge pull request 'bump obmondo install setup version to 1.0.5' (#106) from bump-verison/install-script into main
- bump obmondo install setup version to 1.0.5
- Merge pull request 'add puppet version 8, add pkg prettyfmt to print pretty text, install agent regardless of client having it already or not' (#105) from puppet-8 into main
- add pkg prettyfmt to print pretty text
- add puppet version 8 by default, install puppet regardless of client having already having puppet agent installed or not in all supported distros
- chore: deleted old obsolete scripts
- Merge pull request 'add api connection metric in obmondo_run_puppet script' (#99) from add/connection-check-metric into main
- add ci to build all packages
- add api connection metric in obmondo_run_puppet script
- Merge pull request 'move run-script from obmondo-custom-script repo' (#98) from move/obmondo-run-script into main
- move run-script from obmondo-custom-script repo
- Merge pull request '#97 update: fixed security-exporter-url' (#96) from fix-url-error-go-scripts into main
- update: fixed security-exporter-url
- Merge pull request 'Release VERSION 1.4.4' (#95) from release/obmondo-update-script-v1.4.4 into main
- Release VERSION 1.4.4
- Merge pull request 'Added: update script from now will hit security exporter endpoint for it to update metrics' (#93) from update-system-update-script-to-hit-upcoming-endpoint-in-security-exporter-before-sending-closure-request-to-go-api into main
- Added: update script from now will hit security exporter endpoint for it to update metrics
- Merge pull request 'fix-upgrade-command' (#92) from fix-upgrade-command into main
- Bump version
- Added --with-new-pkgs flag to apt upgrade so that kept back packages are installed too
- Merge pull request '[Migrate]
fmtandlogtoslog' (#87) from migrate/fmt-and-log-to-slog into main - (migrate) : fmt and log to slog https://gitea.obmondo.com/EnableIT/go-scripts/issues/82
- Merge pull request 'add reboot flag back' (#91) from add-no-reboot-flag into main
- add reboot flag in obmondo update script
- Merge pull request 'fix-bug-trim-spaces-when-checking-kernel' (#90) from fix-bug-trim-spaces-when-checking-kernel into main
- fix-bug-trim-spaces-when-checking-kernel
- Merge pull request '#81 Fixed error with script getInstalledKernel' (#83) from fix/failed-to-get-kernel-output into main
- Fixed error with script getInstalledKernel
- Merge pull request 'update-obmondo-system-update-script' (#80) from update-obmondo-system-update-script into main
- update-obmondo-system-update-script
- Merge pull request 'Fixing the bin path for obmondo-system-update to get fpm-single-file' (#79) from bug-fix into main
- Fix the bug for bin path
- Merge pull request 'update obmondo system update version for ubuntu noble support' (#78) from update_version into main
- update obmondo system update version for ubuntu noble support
- Merge pull request 'Added the support for ubuntu noble distro' (#77) from noble-support into main
- updated the version
- Added the support for ubuntu noble distro
- Merge pull request '[Fix] Puppet Updated URL' (#76) from fix/puppet-updated-url into main
- (fix) : puppet updated url
- Merge pull request '[Fix] Enable Puppet Post Obmondo System Update Execution' (#75) from fix/enable-puppet-post-obmondo-system-update into main
- (fix) : match workflow go version with module
- (chore) : resolve dependencies
- Merge pull request 'Using ubuntu-22.04-htzhel1-ax42-a to run obmondo-system-update CI workflow' (#72) from fix-ci into main
- Merge pull request 'updated the package for arm64 support' (#73) from arm-support into main
- updated the package for arm64 support
- Using ubuntu-22.04-htzhel1-ax42-a to run obmondo-system-update CI workflow
- Merge pull request 'log response body when fails to close window' (#67) from log-response-body-when-fails-to-close-window into main
- log response body when fails to close window
- Merge pull request 'bump-obmondo-update-script-version' (#66) from bump-obmondo-update-script-version into main
- bump-obmondo-update-script-version
- Merge pull request 'allow no reboot flag details to be passed' (#65) from allow-no-reboot-flag-details-to-be-passed into main
- allow no reboot flag details to be passed
- Merge pull request '(debug) : check the non 200 status code details' (#64) from debug/obmondo-system-update-non-200-status-code into main
- (fix) : change ubuntu-latest to ubuntu-22.04-bantha
- (debug) : check the non 200 status code details
- Merge pull request 'Updating Makefile to build packages' (#59) from updating-makefile into main
- Revert "trigger CI"
- trigger CI
- attempt to fix the golang lint CI
- modified: cmd/tls-common-name-verifier/Makefile
- Merge pull request 'Adding support for ubuntu-18 version' (#62) from support-ubuntu18 into main
- Adding support for ubuntu-18 version
- Merge pull request 'update the version for obmondo-update-script for adding support for RHEL-9' (#61) from Redhat-9 into main
- update the version for obmondo-update-script for adding support for RHEL-9
- Merge pull request 'Adding support For Redhat-9' (#60) from Redhat-9 into main
- Adding support For Redhat-9
- Merge pull request 'Updated code to output facter yaml format' (#57) from update-code-to-get-facter-output into main
- new file: Dockerfile
- modified: checkendpointsreachable/checkendpointsreachable.go
- modified: main.go
- Updated code to output yaml format
- Updated code to output facter txt format
- Merge pull request 'TLS Common Name Verifier' (#56) from datacenters-status-checker into main
- modified: .gitea/workflows/tls-common-name-verifier.yml
- Added gitea-actions go lint
- Added CI
- modified: .gitignore
- Added TLS common name support
- updated gitirnore
- Added data centers check status go code
- Merge pull request 'Puppet agent wait for it to complete' (#52) from cleanup_puppet into main
- bumped the version
- Merge pull request 'fixed the params to check if puppet-agent is installed or not' (#51) from debian_puppet_agent_check into main
- fixed the params to check if puppet-agent is installed or not
- Merge pull request 'added doc for ImageMirroringScript' (#48) from mirror_image_script into main
- added architecture for OCIImageMirror script
- made changes
- added doc for ImageMirroringScript
- Merge pull request 'converting bash script to go' (#46) from finalizing-install-script into main
- converting bash script to go
- removed the static binary
- Merge pull request '[#18] Correcting the obmondo-update script' (#39) from update-script-1 into main
- Correcting the obmondo-update script
- Merge pull request 'Correcting the obmondo-update script' (#38) from update-script-1 into main
- Correcting the obmondo-update script
- Merge pull request 'update: bumped the obmondo-system-update script to 1.0.3' (#35) from bump_obmondo_system into main
- update: bumped the obmondo-system-update script to 1.0.3
- Merge pull request 'changed the secret' (#34) from more_fix_go-update into main
- changed the secret
- Merge pull request 'chore: added some basic logs to understand till where script travelled incase of troubleshooting' (#30) from more_fix_go-update into main
- chore: added some basic logs to understand till where script travelled incase of troubleshooting
- Merge pull request 'trying with push method' (#28) from workflow_fix into main
- trying with push method
- Merge pull request 'moved the gitea to github, to verify' (#27) from workflow_fix into main
- moved the gitea to github, to verify
- Merge pull request 'added branch to run, when PR is merged' (#26) from workflow_fix into main
- added branch to run, when PR is merged
- Merge pull request 'removed the branches option from workflow' (#24) from workflow_fix into main
- removed the branches option from workflow
- Merge pull request 'added more logs' (#21) from update_script_improvements into main
- lint: fix and moved to script lib directly
- lint: fixed all the lint issue and ignore the binary
- bumped the version for obmondo-system-update
- Merge pull request '#19 Alert script to help fix
KubeStatefulSetReplicasMismatchand structure for adding more alert scripts' (#16) from statefulsetmismatch into main - convert alert scripts to steps so that steps in a certain format can be added for scripts
- add alert scripts' readme
- add alert script that helps fix KubeStatefulSetReplicasMismatch
- Merge pull request 'push_package_ci' (#12) from push_package_ci into main
- Merge pull request 'adding improvement in kops script' (#13) from kopsImprovoment into main
- adding improvement in kops script
- Merge pull request 'feat_imporve_sytem_update_script' (#11) from feat_imporve_sytem_update_script into main
- improve script
- Merge pull request 'fix lint issues' (#9) from feat_fix_lint_issues into main
- fix lint issues
- Merge pull request 'script to update the kops cluster' (#6) from kops-upgrade into main
- adding makefile
- making handling pdb optional
- basic checks
- Merge pull request '#1 move update script to golang' (#2) from feat_move_update_script_to_go into main
- add system update script
- making reviewed changes and improvisation
- script to update the kops cluster
- Initial commit
--- Released by GoReleaser.