Commit d27f984a authored by Mark Lapierre's avatar Mark Lapierre

Update test using runner docker and ssh client

parent d1edb853
...@@ -20,7 +20,7 @@ module QA ...@@ -20,7 +20,7 @@ module QA
resource.project = @project resource.project = @project
resource.name = @runner_name resource.name = @runner_name
resource.tags = %w[qa docker] resource.tags = %w[qa docker]
resource.image = 'gitlab/gitlab-runner:ubuntu' resource.image = 'gitlab/gitlab-runner:alpine'
end end
end end
...@@ -51,6 +51,7 @@ module QA ...@@ -51,6 +51,7 @@ module QA
gitlab_ci = <<~YAML gitlab_ci = <<~YAML
cat-config: cat-config:
script: script:
- apk add --update --no-cache openssh-client
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- ssh-keyscan -p #{@repository_location.port} #{@repository_location.host} >> ~/.ssh/known_hosts - ssh-keyscan -p #{@repository_location.port} #{@repository_location.host} >> ~/.ssh/known_hosts
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment