Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipelines #60

Open
nitrocode opened this issue Sep 16, 2019 · 3 comments
Open

Pipelines #60

nitrocode opened this issue Sep 16, 2019 · 3 comments

Comments

@nitrocode
Copy link
Contributor

nitrocode commented Sep 16, 2019

Would be nice to have a github pipeline to build out the resume artifacts. I'm currently using the following for gitlab where my repo is hosted.

github: https://github.blog/2019-08-08-github-actions-now-supports-ci-cd/

.gitlab-ci.yml

variables:
  DOCKER_HOST: tcp://docker:2375/
  DOCKER_DRIVER: overlay2

image:
  name: docker/compose:1.22.0 # update tag to whatever version you want to use.
  entrypoint: ["/bin/sh", "-c"]

services:
  - docker:dind

before_script:
  - docker version
  - docker-compose version

build:
  stage: build
  script:
    - docker-compose up -d
  artifacts:
    paths:
      - output/*.pdf
@mszep
Copy link
Owner

mszep commented Sep 20, 2019

I love this idea. Unfortunately I don't have time to implement it, but I'd happily accept a PR that does.

@nitrocode
Copy link
Contributor Author

Ya it would be cool. Dunno if it's possible using Github Actions but it's probably possible using circleci or travisci

@mszep
Copy link
Owner

mszep commented Apr 30, 2021

@nitrocode Just messing around with this; it seems to be possible in principle to mimic your gitlab pipeline in github actions, but I can't get it to work: what I think is happening is docker-compose up -d builds the containers directly, but as soon as that's done, the command returns and the job is done, without leaving time for the command: make part to be executed on the container.

Wondering how the same thing doesn't happen in gitlab, would you happen to have any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants