Skip to content

Commit

Permalink
[C-3467] Fix python install in mobile ci (#6857)
Browse files Browse the repository at this point in the history
  • Loading branch information
sliptype authored Dec 5, 2023
1 parent bc4d099 commit a62e5af
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .circleci/src/commands/@mobile-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ mobile-prepare-android:
command: sudo gem install bundler:1.17.3
- run:
name: install pip
command: sudo apt install python3-pip
command: |
sudo apt update
sudo apt install python3-pip
- restore_cache:
key: 1-gems-{{ checksum "packages/mobile/android/Gemfile.lock" }}
- run: cd packages/mobile/android && (bundle check || bundle install --path vendor/bundle)
Expand Down
32 changes: 24 additions & 8 deletions .circleci/src/workflows/mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,29 @@ jobs:
ignore: /(^main|^release.*)$/

- mobile-build-upload-staging-ios:
context: Audius Mobile Client
context:
- Audius Mobile Client
- slack-secrets
requires:
- mobile-init
filters:
branches:
only: /^main$/

- mobile-build-upload-releasecandidate-ios:
context: Audius Mobile Client
context:
- Audius Mobile Client
- slack-secrets
requires:
- mobile-init
filters:
branches:
only: /(^release.*)$/

- mobile-build-upload-staging-releasecandidate-ios:
context: Audius Mobile Client
context:
- Audius Mobile Client
- slack-secrets
requires:
- mobile-init
filters:
Expand All @@ -50,7 +56,9 @@ jobs:
# only: /^main$/

- mobile-build-upload-production-ios-if-full-release:
context: Audius Mobile Client
context:
- Audius Mobile Client
- slack-secrets
requires:
- mobile-init
filters:
Expand Down Expand Up @@ -84,23 +92,29 @@ jobs:
ignore: /(^main|^release.*)$/

- mobile-build-upload-staging-android:
context: Audius Mobile Client
context:
- Audius Mobile Client
- slack-secrets
requires:
- mobile-init
filters:
branches:
only: /^main$/

- mobile-build-upload-releasecandidate-android:
context: Audius Mobile Client
context:
- Audius Mobile Client
- slack-secrets
requires:
- mobile-init
filters:
branches:
only: /(^release.*)$/

- mobile-build-upload-staging-releasecandidate-android:
context: Audius Mobile Client
context:
- Audius Mobile Client
- slack-secrets
requires:
- mobile-init
filters:
Expand All @@ -116,7 +130,9 @@ jobs:
# only: /^main$/

- mobile-build-upload-production-android-if-full-release:
context: Audius Mobile Client
context:
- Audius Mobile Client
- slack-secrets
requires:
- mobile-init
filters:
Expand Down

0 comments on commit a62e5af

Please sign in to comment.