Settings and activity
1 result found
-
16 votes
maandeep supported this idea ·
An error occurred while saving the comment An error occurred while saving the comment maandeep commented
There is a need of this. I am not able to use ask-cli commands on gitlab ci. I want to deploy my alexa skill using gitlab ci but I can't run any of the ask commands.
I also think that there is a need of developing docker image for ask-cli. I have created an Amazon Alexa skill and it's available on gitlab. Now, I want that whenever there occurs a commit in the master branch, the skill gets deployed with the latest version automatically. For that, I have added ask-cli support to it. I have successfully installed and used ask-cli for my skill's deployment on my computer. But when I am trying to do the same on gitlab platform, there is a bunch of errors arising. When I am trying the
"$ npm install -g ask-cli"
there arises an infinite loop of following errors:
"gyp WARN EACCES attempting to reinstall using temporary dev dir /usr/local/lib/node_modules/ask-cli/node_modules/dtrace-provider/.node-gyp"
and
"gyp WARN EACCES user "nobody" does not have permission to access the dev dir /usr/local/lib/node_modules/ask-cli/node_modules/dtrace-provider/.node-gyp/8.10.0"
And if I try to install ask-cli by running following command,
"$ npm install ask-cli"
it adds the packages but on running ask commands, it again shows error:
"ask command not found"
I have also tried adding ask-cli as an image in my .gitlab-ci.yml file, but this also shows an error:
"ERROR: Job failed: Error response from daemon: pull access denied for ask-cli, repository does not exist or may require 'docker login'"
I think this error is arising because docker image for ask-cli is not yet developed. If it was so, then this should have been running fine.