usage with GitLab CI
See original GitHub issueHow would you use decktape with GitLab CI?
I tried many configuration, but it always fails with the following error message:
filename argument is required
I use the following .gitlab-ci.yml
configuration file:
export:
image: astefanutti/decktape
script:
- decktape http://url.example.com/ slides.pdf
artifacts:
paths:
- slides.pdf
Issue Analytics
- State:
- Created 6 years ago
- Comments:29 (25 by maintainers)
Top Results From Across the Web
GitLab CI/CD
GitLab CI /CD is a tool for software development using the continuous methodologies: ... Out-of-the-box management systems can decrease hours spent on maintaining ......
Read more >Tutorial: Create and run your first GitLab CI/CD pipeline
A project in GitLab that you would like to use CI/CD for. · Go to Settings > CI/CD and expand Runners. · The...
Read more >Continuous Integration and Delivery - GitLab
Continuous integration automates the builds, provides feedback via code review, and automates code quality and security tests.
Read more >CI/CD minutes quota - GitLab Docs
By default, GitLab instances do not have a quota of CI/CD minutes. The default value for the quota is 0 , which grants...
Read more >The `.gitlab-ci.yml` file - GitLab Docs
To use GitLab CI/CD, you need: ... In the .gitlab-ci.yml file, you can define: ... The scripts are grouped into jobs, and jobs...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue created.
I will also try to find out what is the purpose of
--allow-file-access-from-files
option.Edit: some people had the same problem as us.
Thanks @astefanutti for you help. Nonetheless, I know about mounting volumes in docker. I’m using decktape successfully on my laptop with the following command line:
However, GitLab CI/CD behave differently and manage everything about volume. You don’t run docker container by yourself, GitLab does. As a user, you only define jobs that will be executed by the CI/CD module of GitLab.
The way you can specify to make the exported pdf accessible from outside the container is by defining an artefact and its path. This is were I’m getting stuck.
Maybe @carstencodes can show me a working example so that I can find out where does my problem come from.