-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "build(ci): workflow review (#9400)"
This reverts commit c6ecf17.
- Loading branch information
Showing
5 changed files
with
142 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# We use a github action in order for us to bypass our CircleCI | ||
# configruation of only triggerening builds on main and PRs | ||
name: ZZ-Cross-CI Trigger release iOS app to users 🚨 | ||
|
||
on: | ||
push: | ||
branches: [release-ios-app] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
permissions: | ||
contents: none | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🚨 Trigger release ios app to users | ||
run: | | ||
curl \ | ||
-X POST \ | ||
--header "Content-Type: application/json" \ | ||
-d '{"branch": "release-ios-app"}' \ | ||
https://circleci.com/api/v1.1/project/github/artsy/eigen/build?circle-token=${{ secrets.CircleToken }} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
|
||
|
||
source ./scripts/source-for-bash-env | ||
|
||
git push origin "${LOCAL_BRANCH}:release-ios-app" -f --no-verify |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
|
||
|
||
source ./scripts/source-for-bash-env | ||
|
||
if [ "${LOCAL_BRANCH}" == "release-ios-app" ]; then | ||
./scripts/setup-fastlane-env | ||
bundle exec fastlane update_plugins | ||
bundle exec fastlane release_ios_app | ||
fi |