# HG changeset patch
# User Alexander Trost <galexrt@googlemail.com>
# Date 1519464197 -3600
#      Sat Feb 24 10:23:17 2018 +0100
# Node ID fe9f3bf1a533d2422ec5bb24f9c607c4f204a416
# Parent  1927cf62c0a6b1343c2ce16703b5143891d7f6b7
Updated .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,18 +36,19 @@
     script:
         # Add here all the dependencies, or use glide/govendor/...
         # to get them automatically.
-        # Better put this in a Makefile
+        # TODO Better put this in a Makefile soon
         - go build -race -ldflags "-X gitlab.zerbytes.net/${CI_PROJECT_PATH}/vendor/github.com/prometheus/common/version.Version=$VERSION -X gitlab.zerbytes.net/${CI_PROJECT_PATH}/vendor/github.com/prometheus/common/version.Revision=${CI_COMMIT_SHA} -X gitlab.zerbytes.net/${CI_PROJECT_PATH}/vendor/github.com/prometheus/common/version.Branch=${CI_COMMIT_REF_NAME} -X gitlab.zerbytes.net/${CI_PROJECT_PATH}/vendor/github.com/prometheus/common/version.BuildUser=$(whoami)@$(hostname) -X gitlab.zerbytes.net/${CI_PROJECT_PATH}/vendor/github.com/prometheus/common/version.BuildDate=$(date +%Y%m%d-%H:%M:%S) -extldflags '-static'" -o app
     artifacts:
         paths:
             - app
 
+# example job to upload the built release to an S3 server with mc
 #release_upload:
 #    stage: release
 #    image: minio/mc
 #    script:
 #      - echo "=> We already have artifact sotrage in GitLab! This is for demonstational purposes only."
-#      - mc config host add edenmalmoe https://s3.edenmal.moe ${ACCESS_KEY} ${SECRET_KEY} S3v4
+#      - mc config host add edenmalmoe https://s3.edenmal.net ${ACCESS_KEY} ${SECRET_KEY} S3v4
 #      - mc mb -p edenmalmoe/build-release-${CI_PROJECT_NAME}/
 #      - mc cp app edenmalmoe/build-release-${CI_PROJECT_NAME}/