Giter Site home page Giter Site logo

bitrise-contrib's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitrise-contrib's Issues

Proxy Step

Hi,

I’m working on a proxy step.
The goal of this step is to be able to analyze the request made by the app during testing.

In order to make this work I will have to build 2 steps one that enable the proxy and one that disable it and extract the log.

The proxy that I will use is Privoxy.

I will need to do a be root to run networksetup in order define a proxy on OSX.
Can I run sudo in a step?

The way that I see the second step is to be able to run multiple regex against the logfile. In order to do that it will be great if the user can add new inputs in the interface, but I don’t know how to make it in step.yml file.

Thanks,

Build Cache [BETA]

Public discussion of the Build Cache (BETA!) feature.

Feel free to add any comment/note, a use case you have, examples which can help others or can help us to further refine the system, etc.

Related DevCenter documentation (work in progress): http://devcenter.bitrise.io/v1.0/docs/using-the-build-cache

On Slack we have a special #beta-build-cache channel dedicated for discussion about the Build Cache.

TODO before general availability

  • Bitrise.io : Build Cache API
  • Steps to use the Cache: Pull & Push
  • CocoaPods Install step: use the --no-repo-update flag of pod if the Cache is available, to automatically skip CocoaPods' repository update ( related issue for the step: bitrise-steplib/steps-cocoapods-install#5 )
  • Bitrise.io : "Delete cache" feature
    • should there be a delete cache button/action for every branch separately? Or only a single delete cache button, which removes all the caches of the app? - right now it's per-cache/per-branch, you can find the related "Cache Management" section on the Settings tab of the app, where you can delete the caches one-by-one in the popup
  • Bitrise.io : "Download cache" feature, to make it easy to inspect the content of the cache
  • Cache setup guides:
    • CocoaPods based project
    • Docker build caching
    • Carthage (link for inspiration: https://github.com/guidomb/carthage_cache)
    • Xamarin Components caching
    • NuGet package caching
    • Fastlane related caching
    • RubyGems related caching
    • ReactNative & NPM caching
    • Android/Linux: gradlew
    • Custom file / dir
    • experiment: DerivedData
    • Full source code cache, git pull
  • Add the two Cache Steps to the base configuration (the one generated for new apps)
    • Question: should we include the Cache steps by default in the configurations? It might conflict with the project if the dependency is already included in / committed into the repository.

OS X project type support

Requirements:

Steps

bitrise.io

  • detect OS X projects at project validation
    • actually this is only required to determine which Xcode steps should be added to the base Workflow, does not affect the validation or the other base bitrise.yml steps
  • enable accessibility on VMs for Xcode UI test
    • and UI Testing of OS X Apps require OS X El Capitan - we should upgrade the VMs (only Yosemite is available atm)
  • Allow to upload OS X App specific Provisioning Profile

Xcode code coverage stats

Xcode 7 can create code coverage reports. Great, succinct, article on it here.

It would be awesome if Bitrise could display the stats from the Coverage.profdata generated by Xcode, right inline with the test results, in the Build Viewer and in the Dashboard.

The process could look something like this:

Preconditions:
The Xcode Test step has a new checkbox for gather code coverage status (default = ON)

Flow:

  1. Xcode Test step is carried out with coverage flag
  2. Bitrise analyses Coverage.profdata file created by xcodebuild (could take inspiration from Slather)
  3. Bitrise shows coverage percentages with apps in the Dashboard:

screen shot 2015-12-30 at 11 59 52

  1. Bitrise displays more details coverage report in the Build Viewer, containing stats for specific files or perhaps lines etc.
  2. Bitrise creates a badge that can be used in READMEs to show coverage percentage

[Step] "bridge" an environment variable - assign the value of one Step's output to another Environment Variable

Assign the value of one env to another one (Step outputs are just regular Environment Variables)

Ex: if different tools use different envs for the same thing, like ipa path

Something simple like:

#!/bin/bash

set -e

source_env_value="${!source_env_key}"
echo "source_env_key: $source_env_key"
echo "source_env_value: $source_env_value"

echo "=> Mapping $source_env_key to $target_env_key"

set -x

echo -n "$source_env_value" | envman add --key "$target_env_key"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.