Your configurations look correct. Having simple.gocd.yaml is a good idea
too, because it is a part of tests. I can't tell why you cannot see
pipelines on dashboard. Can you check these:
1. Is yaml configuration plugin visible in Admin->Plugins tab?
2. Are server health messages empty?
3. If it is, then try restarting server and grep logs for
"leopard2a5-knorke/local-gocd" - it should cover any MDU errors or
configuration repository, which are usually the only problem.
Also, you are using gitlab and https. Make sure that GoCD *server* can
clone that project. You can try making it public on gitlab temporarily.
If Go cannot clone it, it will be in the logs.
Let me know if that helps, otherwise new server+plugin might be broken,
I haven't updated in a while.
On 10/05/2016 04:29 PM, René Perschon wrote:
Sure!
Here's my server config:
<?xml version="1.0" encoding="utf-8"?>
<cruise xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="cruise-config.xsd" schemaVersion="84">
<server artifactsdir="artifacts"
agentAutoRegisterKey="123456789abcdef"
commandRepositoryLocation="default"
serverId="03ca58da-7be3-459d-b208-057a0e2c344c" />
<config-repos>
<config-repo plugin="yaml.config.plugin">
<git url="https://gitlab.com/leopard2a5-knorke/local-gocd.git" />
</config-repo>
</config-repos>
</cruise>
And here's my pipeline file (result-flow.gocd.yml):
---
pipelines:
"result-flow":
group: testgroup
materials:
mygit:
git: https://github.com/Leopard2A5/result-flow.git
stages:
- build:
jobs:
build:
tasks:
- exec:
command: mvn clean compile
test:
tasks:
- exec:
command: mvn test
I also have a simple.gocd.yaml pipeline file in the repository, it's
one of the examples from your github.
Am Mittwoch, 5. Oktober 2016 17:57:44 UTC+2 schrieb Tomasz Sętkowski:
Hi René,
Docker or no-docker it should not matter. You most likely have bad
configuration. Can you post <config-repos> section of your GoCD
XML? Also note that your git config repository must have files
ending with .gocd.yaml. Can you post one of those files too?
Regards,
Tom
On 10/05/2016 03:37 PM, René Perschon wrote:
Hi Tom!
I'm trying to get your plugin to work in a dockerized
gocd-server, however my git repo is not imported and i can't see
any logs hinting at a problem. Can you give me a hint on how to
find the problem? I'm using the gocd/gocd-server image from here
https://hub.docker.com/r/gocd/gocd-server/
<https://hub.docker.com/r/gocd/gocd-server/> .
Am Samstag, 16. Juli 2016 18:33:14 UTC+2 schrieb Tomasz Sętkowski:
Hi all,
For those of you following progress on configuration
repositories - I have just finished working on first release
of YAML plugin. It can be downloaded from releases page at
https://github.com/tomzo/gocd-yaml-config-plugin
If you don't know what is a configuration repository, see
this introducing document
<https://docs.google.com/document/d/1_eGZaqIz9ydnYQJ_Xrcb3obXc-T6jIfV_pgZQNCydVk/edit?pref=2&pli=1>.
Cheers,
Tom
--
You received this message because you are subscribed to a topic
in the Google Groups "go-cd" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/go-cd/bAFYdWOQLEs/unsubscribe
<https://groups.google.com/d/topic/go-cd/bAFYdWOQLEs/unsubscribe>.
To unsubscribe from this group and all its topics, send an email
to [email protected] <javascript:>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to a topic in the
Google Groups "go-cd" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/go-cd/bAFYdWOQLEs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.