From 250d9dce709ee7e993c704dfcd4a14c71f6a9e68 Mon Sep 17 00:00:00 2001 From: David Wurm Date: Fri, 7 Feb 2020 17:55:59 +0100 Subject: [PATCH] init --- .drone.yml | 38 + .idea/drone-go-git-test.iml | 9 + .idea/encodings.xml | 4 + .idea/inspectionProfiles/Project_Default.xml | 20 + .idea/misc.xml | 6 + .idea/modules.xml | 8 + .idea/vcs.xml | 6 + .idea/workspace.xml | 184 ++ README.md | 3 + main.go | 9 + ...drone-go-git-test-2018-12-12-21-57-08.html | 2090 +++++++++++++++++ 11 files changed, 2377 insertions(+) create mode 100644 .drone.yml create mode 100644 .idea/drone-go-git-test.iml create mode 100644 .idea/encodings.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 README.md create mode 100644 main.go create mode 100644 reports/drone-go-git-test-2018-12-12-21-57-08.html diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..eeb82f7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,38 @@ +kind: pipeline +name: default + +workspace: + base: /go + path: src/github.com/yourname/go-drone-hello-world + +steps: + - name: report + image: golang + volumes: + - name: reports + path: /var/reports + commands: + - mkdir -p /var/reports + - go get + - go get github.com/360EntSecGroup-Skylar/goreporter + - goreporter -p ./ -f html -r /var/reports/ + +# - name: build +# image: golang +# commands: +# - go get +# - go build -o output +# - chmod +x output +# +# - name: run +# image: golang +# commands: +# - go get +# - go build -o output +# - chmod +x output +# - ./output + +volumes: + - name: reports + host: + path: /home/dev/work/src/github.com/cyantarek/drone-go-git-test/reports \ No newline at end of file diff --git a/.idea/drone-go-git-test.iml b/.idea/drone-go-git-test.iml new file mode 100644 index 0000000..5e764c4 --- /dev/null +++ b/.idea/drone-go-git-test.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..15a15b2 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..ee950a9 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,20 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..fd7316b --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..b65f51b --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +