This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func main() { | |
var config Config | |
if err := stepconf.Parse(&config); err != nil { | |
log.Errorf("Could not validate config, error: %s\n", err) | |
os.Exit(1) | |
} | |
joke, err := getRandomJoke(config) | |
if err != nil { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
outputs: | |
- CHUCK_NORRIS_JOKE: | |
opts: | |
title: "Random Chuck Norris joke text" | |
summary: Random joke about Chuck Norris from API |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test: | |
steps: | |
- go-list: {} | |
- golint: {} | |
- errcheck: {} | |
- script: | |
inputs: | |
- content: |- | |
#!/usr/bin/env bash | |
go vet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
envs: | |
- MY_STEPLIB_REPO_FORK_GIT_URL: [email protected]:DroidsOnRoids/bitrise-steplib.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repositories { | |
mavenCentral() | |
jcenter() | |
gradlePluginPortal() | |
maven { url 'https://jitpack.io' } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repositories { | |
mavenCentral() | |
maven { url "https://jitpack.io" } | |
jcenter() | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
jcenter() | |
mavenCentral() | |
google() | |
} | |
dependencies { | |
classpath "com.android.tools.build:gradle:+" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
format_version: '8' | |
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
project_type: android | |
trigger_map: | |
- push_branch: master | |
workflow: deploy-staging | |
- pull_request_source_branch: "*" | |
workflow: verification | |
- tag: "*" |