Unable to add a step

I’m trying to add a step to an existing workflow and when I click the little “+” button, nothing happens. I’ve tried clearing my cache and restarting my browser with no change. I was making some workflow changes yesterday (3/27) with no issues - this started yesterday afternoon/evening.

Happy to help provide additional debug information if needed.

I do see one odd error in the Javascript console - it fails with status 404 trying to load https://www.bitrise.io/app/c373a8a8136a9c33null . That “null” at the end seems suspicious.

Hmm this is strange. The 404 you found was definitely an issue, the fix will be released shortly. However, even without this fix I could not reproduce the issue you described.

Can you share a few details: what browser are you using, what is the project type of your app (can be found in the app’s Settings tab)? And if it’s not private information, can you share your apps configuration (bitrise.yml)?

1 Like

I’m on Chrome 65.0.3325.181, and this is a React Native project.

Here’s my bitrise.yml with sensitive information removed:

---
format_version: '4'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: react-native
workflows:
  deploy-ios:
    steps:
    - activate-ssh-key@3.1.1:
        run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
    - git-clone: {}
    - cache-pull: {}
    - yarn: {}
    - cache-push:
        inputs:
        - cache_paths: |
            $BITRISE_CACHE_DIR
            node_modules
    - set-xcode-build-number@1.0.5:
        inputs:
        - plist_path: "$INFO_PLIST_PATH"
    - certificate-and-profile-installer: {}
    - xcode-archive:
        inputs:
        - project_path: "$BITRISE_PROJECT_PATH"
        - scheme: "$BITRISE_SCHEME"
        - export_method: "$BITRISE_EXPORT_METHOD"
        - configuration: Release
    - cache-push@2.0.5:
        inputs:
        - ignore_check_on_paths: "~/Library/Developer/Xcode/DerivedData"
        - cache_paths: |-
            $BITRISE_CACHE_DIR
            ~/Library/Developer/Xcode/DerivedData
    - deploy-to-bitrise-io@1.3.10: {}
    - deploy-to-itunesconnect-deliver:
        inputs:
        - password: ----
        - bundle_id: com.spigotlabs.Registration
        - itunescon_user: scott@spigotlabs.com
  deploy-android:
    steps:
    - activate-ssh-key@3.1.1:
        run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
    - git-clone: {}
    - cache-pull: {}
    - yarn: {}
    - cache-push:
        inputs:
        - cache_paths: |
            $BITRISE_CACHE_DIR
            node_modules
    - install-missing-android-tools: {}
    - change-android-versioncode-and-versionname:
        inputs:
        - new_version_code: "$BITRISE_BUILD_NUMBER"
        - build_gradle_path: android/app/build.gradle
    - gradle-runner:
        inputs:
        - gradle_file: "$GRADLE_BUILD_FILE_PATH"
        - gradle_task: assembleRelease
        - gradlew_path: "$GRADLEW_PATH"
    - cache-push@2.0.5: {}
    - deploy-to-bitrise-io@1.3.10:
        inputs:
        - notify_user_groups: none
    - google-play-deploy@1.4.2:
        inputs:
        - service_account_json_key_path: ----
        - apk_path: "$BITRISE_SIGNED_APK_PATH"
        - package_name: com.spigotlabs.registration
    envs:
    - opts:
        is_expand: false
      BITRISEIO_ANDROID_KEYSTORE_PASSWORD: ----
    - opts:
        is_expand: false
      BITRISEIO_ANDROID_KEYSTORE_ALIAS: SpigotLabsKey
    - opts:
        is_expand: false
      BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD: ----
  deploy-all:
    after_run:
    - deploy-android
app:
  envs:
  - opts:
      is_expand: false
    GRADLE_BUILD_FILE_PATH: android/build.gradle
  - opts:
      is_expand: false
    GRADLEW_PATH: android/gradlew
  - opts:
      is_expand: false
    BITRISE_PROJECT_PATH: ios/registration.xcodeproj
  - opts:
      is_expand: false
    BITRISE_SCHEME: registration
  - opts:
      is_expand: false
    BITRISE_EXPORT_METHOD: app-store
  - opts:
      is_expand: false
    INFO_PLIST_PATH: ios/registration/Info.plist
trigger_map:
- push_branch: master
  workflow: deploy-all
1 Like

Just a note @svvitale, for the BITRISEIO_ANDROID_KEYSTORE_PASSWORD & BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD env vars: if possible I’d suggest you to remove those from your bitrise.yml and instead use the Secrets feature in the editor, for security :wink:

Actually, same for service_account_json_key_path and the other passwords - better to keep them in Secrets :wink:

And a question for the issue directly:

  • did you try it in a different browser?
  • did you try it in a private/incognito window/tab?

Thanks, @viktorbenei - I was planning on looking into securing them once I had general workflow functioning. I think for React Native I need to use the built-in Gradle signing to get the Javascript correctly bundled. I was trying to add that when I ran into this issue.

It appears to be working now…sorry to bother you folks. Must have been some transient browser issue.

1 Like

Was just going to ask whether is it still present or not :slight_smile: Nevertheless I will keep this open for a while, so if it comes up again, please share it and we will try to reproduce it again. Until then, happy building :slight_smile:

1 Like

No problem at all, thanks for reporting the issue, glad to hear it works now! :wink:

Added a two week auto close to this thread @erosdome, will close it after that, then we can create a new thread if it would happen again.

This topic was automatically closed after 14 days. New replies are no longer allowed.