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

Docksal CI Agent on GitLab issues #50

Closed
ArtuGit opened this issue May 28, 2019 · 2 comments
Closed

Docksal CI Agent on GitLab issues #50

ArtuGit opened this issue May 28, 2019 · 2 comments

Comments

@ArtuGit
Copy link

ArtuGit commented May 28, 2019

I use https://github.com/docksal/ci-agent/blob/develop/README.md as an instruction to establish Docksal CI Agent on GitLab. I have a sandbox server in Digital Ocean,

  1. I set up DOCKSAL_HOST_SSH_KEY as a variable in GitLab CI / CD Setting which contains private key for the Sandbox server build account. Is this correct? I have this

image

  1. There is no GitLab example in Project configuration. I suggest adding such an example to the README.md.

I use the following .gitlab-ci.yml:

build_test:
  image: docksal/ci-agent:php
  script:
    - source build-env  # Initialize the agent configuration
    - build-init  # Initialize the remote sandbox environment
    - build-exec "cd www && fin drush st"  # Test performing within the build 
  when: manual
@lmakarov lmakarov transferred this issue from docksal/docksal May 29, 2019
@lmakarov
Copy link
Member

lmakarov commented May 29, 2019

@ArtuGit there is an open issue and a PR for the GitLab CI configuration example.

I don't have a GitLab instance in use, so that PR has been on hold for a while. Check it out and chime in on the implementation.

Regarding DOCKSAL_HOST_SSH_KEY - it has to be base64 encoded.
See https://github.com/docksal/ci-agent#required

@lmakarov
Copy link
Member

GitLab config examples have been added - #58

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