Commit Graph

7 Commits

Author SHA1 Message Date
nicholasSSUSE 3668c037a4 fixes after brian review 2024-08-26 18:38:02 -03:00
nicholasSSUSE f7eb14d8f5 fixes 2024-08-12 14:13:11 -03:00
nicholasSSUSE dbdfdfece7 adding user input function 2024-08-12 14:13:11 -03:00
Pedro Tashima 4be74973fa
Move K3s release cmds (#349)
* move create tags to release command

* move modify_k3s command to release command

* fix run templated script references

* add release push k3s command

* remove k3s_release command

* remove k3s_release command

* add release command to release action

* update push command and readme

* remove logrus

* update k3s references command

* fix workspace reference

* add config examples

* remove Release struct

---------

Co-authored-by: Pedro Tashima <pedro.tashima@suse.com>
2024-01-29 12:22:37 -03:00
Pedro Tashima a77d988551
#253, #252: automate set refs flags (#289)
* add get flag options automatically if not passed

* remove current branch flag

* update set kdm branch refs docs

* add print script output

* remove cmdPath function

* rename fork owner to github username

* rename fork owner to github username

* fix returns

* rename url to lowercase

* move error declaration scope

* rename github username to github user

* add logs

* update set charts

* update docs

* rename to github user and add pr logs

* Update cmd/rancher_release/README.md

Co-authored-by: Brian Downs <brian.downs@gmail.com>

* move error to function scope

* remove var err

---------

Co-authored-by: Pedro Tashima <pedro.tashima@suse.com>
Co-authored-by: Brian Downs <brian.downs@gmail.com>
2023-11-03 12:04:25 -03:00
Pedro Tashima b705b0fc2f
#252: Add set charts branch refs command (#271)
* adds set charts branch refs command

* update urfave/cli to v2

* add short flags

* use urfave cli to get the github token env

* add short flags

* move branch name to after dry run

* move templated script to exec pacakge

* fix shellcheck warnings

* use sh

---------

Co-authored-by: Pedro Tashima <pedro.tashima@suse.com>
2023-10-13 14:13:31 -03:00
Pedro Tashima c36bafa9c7
#253: Add set-kdm-branch-references command (#268)
* add docker package

* add check rancher image command

* rename file

* move url concatenation to docker tag function

* check rancher docker image recieve context

* recieve org repo and archs as arguments

* use constants

* create new yaml decoder for response body

* use rancherOrg

* add set kdm branch references script

* add create github PR

* fix go mod

* use repository instead of github package

* only create PR if bool is true

* add unsupported arch error

* add dry run

* style fixes

* close file

---------

Co-authored-by: Pedro Tashima <pedro.tashima@suse.com>
2023-10-05 15:10:35 -03:00