nearform / initium-cli

CLI tool for the Initium project
https://initium.nearform.com
Other
4 stars 2 forks source link

Test the full flow from a perspective of a Developer #47

Open LucaLanziani opened 1 year ago

LucaLanziani commented 1 year ago

Prerequisites:

Tasks:

Output:

heidermassu commented 1 year ago

I've been configuring my local environment till now:

heidermassu commented 1 year ago

today using WSL version 2 with ubuntu were possible to create the environment

heidermassu commented 1 year ago

were created a branch from main called feature/task-47 which contains draft about output. branch

heidermassu commented 1 year ago

Were used the project CLI to create new "project" and faced with some problems:

1- Build image ../k8s-kurated-addons-cli/bin/kka-cli build ISSUE I've tried build as default but is catching the neaform as standard, due to that had to pass the parameter ../k8s-kurated-addons-cli/bin/kka-cli --app-version v1.0 --repo-name ghcr.io/heidermassu/heidermassu/js-app-01 build

2- push image ISSUE when try to push the img got error saying the image do not exist due to beem looking for neaform repository (ghcr.io/nearform) then I change the global parameter ../k8s-kurated-addons-cli/bin/kka-cli --app-version v1.0 --repo-name ghcr.io/heidermassu/js-app-01 push --registry-user --registry-password

3- init git ISSUE Noticed that the github yaml is catching the the container repository from Neaform as Standard. ISSUE I've tried to run GLOBAL OPTIONS ../k8s-kurated-addons-cli/bin/kka-cli --repo-name ghcr.io/heidermassu/js-app-01 init github but have not worked due to that I have to update yaml file manually with my own github

4- commit the code on repository