Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Simon committed Oct 18, 2019
1 parent 6ebba36 commit f7dc5a4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin
20 changes: 11 additions & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,30 @@ variables:
RAILS_ENV: test
SONAR_NAME: fasibio_metric_agent_
SONAR_HOST: https://sonar.server2.fasibio.de


push:
stage: pushBinToGithub
variables:
DRONE_BUILD_EVENT: tag
DRONE_REPO_OWNER: fasibio
DRONE_REPO_NAME: ${CI_PROJECT_NAME}
DRONE_COMMIT_REF: refs/heads/0.0.${CI_PIPELINE_IID}
PLUGIN_FILES: "release/*"

push:
stage: pushBinToGithub
PLUGIN_FILES: "bin/*"
only:
- master
tags:
- dockerfasibio
image: docker
image: plugins/github-release
artifacts:
paths:
- bin/funk_metric_agent_LINUX_${CI_PIPELINE_IID}
script:
- touch bin/test123.txt
- echo "hallo" > bin/test123.txt
- ls -la bin
# - touch bin/test123.txt
# - echo "hallo" > bin/test123.txt
# - ls -la bin
- pwd
- docker run --rm -e DRONE_BUILD_EVENT=tag -e DRONE_REPO_OWNER=fasibio -e DRONE_REPO_NAME=${CI_PROJECT_NAME} -e DRONE_COMMIT_REF=refs/heads/0.0.${CI_PIPELINE_IID} -e PLUGIN_API_KEY=${PLUGIN_API_KEY} -e PLUGIN_FILES="bin/*" -v $(pwd):$(pwd) -w $(pwd) plugins/github-release
# - docker run --rm -e DRONE_BUILD_EVENT=tag -e DRONE_REPO_OWNER=fasibio -e DRONE_REPO_NAME=${CI_PROJECT_NAME} -e DRONE_COMMIT_REF=refs/heads/0.0.${CI_PIPELINE_IID} -e PLUGIN_API_KEY=${PLUGIN_API_KEY} -e PLUGIN_FILES="bin/*" -v $(pwd):$(pwd) -w $(pwd) plugins/github-release
stages:

# - test
Expand Down
1 change: 0 additions & 1 deletion bin/test21.txt

This file was deleted.

0 comments on commit f7dc5a4

Please sign in to comment.