DEV Community

Discussion on: How To Validate Katacoda Scenarios with GitHub Actions

Collapse
sualeh profile image
Sualeh Fatehi Author

Thanks for posting this. I should have mentioned that the step to install the Katacoda cli and to run the validation can be combined into a single step. They are kept separate for purposes of illustration in the article.

Collapse
djkormo profile image
Krzysztof Pudłowski

Nice tutorial.
But using it I have a lot of warnings

1.

Run sudo npm i katacoda-cli --global
npm WARN deprecated @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (github.com/sideway/joi/issues/2411)
npm WARN deprecated request@2.88.2: request has been deprecated, see github.com/request/request/issues/...
npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see github.com/request/request/issues/...
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated urix@0.1.0: Please see github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: github.com/lydell/resolve-url#depr...
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
/usr/local/bin/katacoda -> /usr/local/lib/node_modules/katacoda-cli/bin/run

ejs@2.7.4 postinstall /usr/local/lib/node_modules/katacoda-cli/node_modules/ejs


2. using "imageid": "kubernetes-cluster:1.18"

Scenario=/home/runner/work/katacoda-scenarios/katacoda-scenarios/kubernetes-cka-part1/ - Validation Error: Image specified in the index.json is not part of the acceptable environment images as specified here: katacoda.com/docs/scenarios/enviro...

Thread Thread
gundalow profile image
John R Barker

Hi,
Did you ever find a solution to this?
Looks like the validator hasn't kept uptodate with the images that Katacode supports.

Thread Thread
djkormo profile image
Krzysztof Pudłowski

No. I have sent a message to katacoda creator....