question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

usage with GitLab CI

See original GitHub issue

How 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:closed
  • Created 6 years ago
  • Comments:29 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
oupalacommented, Apr 28, 2020

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.

1reaction
oupalacommented, Apr 21, 2020

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:

docker run --rm -v `pwd`:/slides astefanutti/decktape <url>

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found