Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
Krisztián Gödrei committed Aug 1, 2016
1 parent 43816ab commit 1caa2ce
Show file tree
Hide file tree
Showing 18 changed files with 146 additions and 468 deletions.
73 changes: 73 additions & 0 deletions bitrise.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,85 @@
format_version: 1.0.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git

app:
envs:
- RELEASE_VERSION: 3.0.0

workflows:
# ----------------------------------------------------------------
# --- workflow to Step Test
test:
steps:
- script:
title: Step audit
inputs:
- content: stepman audit --step-yml=./step.yml
- change-workdir:
title: Switch working dir to test / _tmp dir
run_if: true
inputs:
- path: ./_tmp
- path::./:
- script:
inputs:
- content: |-
#!/bin/bash
echo "RANDOM_QUOTE: ${RANDOM_QUOTE}"
# ----------------------------------------------------------------
# --- workflow to create Release version
create-release:
steps:
- script:
title:
inputs:
- content: |
#!/bin/bash
set -e
export CI=true
releaseman create --version $RELEASE_VERSION
# ----------------------------------------------------------------
# --- workflow to Share this step into a Step Library
share-this-step:
envs:
# if you want to share this step into a StepLib
- MY_STEPLIB_REPO_FORK_GIT_URL: $MY_STEPLIB_REPO_FORK_GIT_URL
- STEP_ID_IN_STEPLIB: random-quote
- STEP_GIT_VERION_TAG_TO_SHARE: $RELEASE_VERSION
- STEP_GIT_CLONE_URL: https://github.com/bitrise-io/steps-random-quote.git
description: |-
If this is the first time you try to share a Step you should
first call: $ bitrise share
This will print you a guide, and information about how Step sharing
works. Please read it at least once!
As noted in the Step sharing guide you'll have to fork the
StepLib you want to share this step into. Once you're done with forking
the repository you should set your own fork's git clone URL
in the `.bitrise.secrets.yml` file, or here in the `envs` section,
as the value of the `MY_STEPLIB_REPO_FORK_GIT_URL` environment.
You're now ready to share this Step, just make sure that
the `STEP_ID_IN_STEPLIB` and `STEP_GIT_VERION_TAG_TO_SHARE`
environments are set to the desired values!
To share this Step into a StepLib you can just run: $ bitrise run share-this-step
Once it finishes the only thing left is to actually create a Pull Request,
the way described in the guide printed at the end of the process.
steps:
- script:
inputs:
- content: |-
#!/bin/bash
set -e
set -x
bitrise share start -c ${MY_STEPLIB_REPO_FORK_GIT_URL}
bitrise share create --stepid ${STEP_ID_IN_STEPLIB} --tag ${STEP_GIT_VERION_TAG_TO_SHARE} --git ${STEP_GIT_CLONE_URL}
bitrise share finish
8 changes: 0 additions & 8 deletions deplist.json

This file was deleted.

8 changes: 0 additions & 8 deletions deplock.json

This file was deleted.

22 changes: 0 additions & 22 deletions markdownlog/LICENSE

This file was deleted.

3 changes: 0 additions & 3 deletions markdownlog/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions markdownlog/_scripts/ci.sh

This file was deleted.

7 changes: 0 additions & 7 deletions markdownlog/_test_logs/LogReference.md

This file was deleted.

8 changes: 0 additions & 8 deletions markdownlog/_test_logs/LogSectionReference.md

This file was deleted.

7 changes: 0 additions & 7 deletions markdownlog/_test_logs/LogSectionStartReference.md

This file was deleted.

7 changes: 0 additions & 7 deletions markdownlog/_test_logs/LogSectionStartTest.md

This file was deleted.

8 changes: 0 additions & 8 deletions markdownlog/_test_logs/LogSectionTest.md

This file was deleted.

7 changes: 0 additions & 7 deletions markdownlog/_test_logs/LogTest.md

This file was deleted.

102 changes: 0 additions & 102 deletions markdownlog/markdownlog.go

This file was deleted.

Loading

0 comments on commit 1caa2ce

Please sign in to comment.