Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix missing SSH key for fetching ios certs #15740

Merged
merged 1 commit into from
Apr 25, 2023
Merged

Conversation

jakubgs
Copy link
Member

@jakubgs jakubgs commented Apr 25, 2023

Otherwise builds fail with:

15:15:22  [16:15:22]: Cloning remote git repo...
15:15:22  [16:15:22]: If cloning the repo takes too long, you can use the `clone_branch_directly` option in match.
15:15:23  Cloning into '/tmp/d20230425-79805-70bge2'...
15:15:23  git@github.com: Permission denied (publickey).
15:15:23  fatal: Could not read from remote repository.

Depends on:

@status-im-auto
Copy link
Member

status-im-auto commented Apr 25, 2023

Jenkins Builds

Click to see older builds (10)
Commit #️⃣ Finished (UTC) Duration Platform Result
119304a #1 2023-04-25 13:28:54 ~2 min ios 📄log
✔️ 119304a #1 2023-04-25 13:32:23 ~5 min android-e2e 🤖apk 📲
✔️ 119304a #1 2023-04-25 13:32:30 ~6 min android 🤖apk 📲
✔️ 119304a #1 2023-04-25 13:34:34 ~8 min tests 📄log
f6701bc #2 2023-04-25 13:37:28 ~2 min ios 📄log
b0eb7fd #3 2023-04-25 13:42:47 ~1 min ios 📄log
✔️ b0eb7fd #3 2023-04-25 13:46:54 ~5 min android-e2e 🤖apk 📲
✔️ b0eb7fd #3 2023-04-25 13:46:54 ~5 min android 🤖apk 📲
✔️ b0eb7fd #3 2023-04-25 13:47:52 ~6 min tests 📄log
✔️ b0eb7fd #4 2023-04-25 13:57:04 ~7 min ios 📱ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ a34e569 #4 2023-04-25 14:15:46 ~5 min android-e2e 🤖apk 📲
✔️ a34e569 #4 2023-04-25 14:17:15 ~6 min android 🤖apk 📲
✔️ a34e569 #5 2023-04-25 14:17:24 ~7 min ios 📱ipa 📲
✔️ a34e569 #4 2023-04-25 14:17:58 ~7 min tests 📄log
✔️ fd77973 #6 2023-04-25 14:38:40 ~6 min ios 📱ipa 📲
✔️ fd77973 #5 2023-04-25 14:38:49 ~6 min android-e2e 🤖apk 📲
✔️ fd77973 #5 2023-04-25 14:39:43 ~7 min android 🤖apk 📲
✔️ fd77973 #5 2023-04-25 14:39:48 ~7 min tests 📄log

@jakubgs jakubgs force-pushed the ci/fix-ios-ssh-creds branch 3 times, most recently from b0eb7fd to a34e569 Compare April 25, 2023 14:10
@jakubgs
Copy link
Member Author

jakubgs commented Apr 25, 2023

I can see in the logs that that this works now:

16:12:05  [ssh-agent] Using credentials status-im-auto (SSH key for status-im-auto)
16:12:05  [ssh-agent] Looking for ssh-agent implementation...
16:12:06  [ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
16:12:06  $ ssh-agent
16:12:06  SSH_AUTH_SOCK=/var/folders/m5/_hnkjw6n2kx0rjd1s0__w3hh0006vn/T//ssh-n4Y9rQPFZt0T/agent.892
16:12:06  SSH_AGENT_PID=895
16:12:06  Running ssh-add (command line suppressed)
16:12:06  Identity added: /Users/jenkins/workspace/status-mobile_prs_ios_PR-15740@tmp/private_key_10962197580384479098.key (/Users/jenkins/workspace/status-mobile_prs_ios_PR-15740@tmp/private_key_10962197580384479098.key)
16:12:06  [ssh-agent] Started.

@jakubgs jakubgs marked this pull request as ready for review April 25, 2023 14:24
@jakubgs jakubgs requested a review from flexsurfer April 25, 2023 14:24
Otherwise builds fail with:
```
15:15:22  [16:15:22]: Cloning remote git repo...
15:15:22  [16:15:22]: If cloning the repo takes too long, you can use the `clone_branch_directly` option in match.
15:15:23  Cloning into '/tmp/d20230425-79805-70bge2'...
15:15:23  git@github.com: Permission denied (publickey).
15:15:23  fatal: Could not read from remote repository.
```
Depends on: status-im/status-jenkins-lib#63

Signed-off-by: Jakub Sokołowski <jakub@status.im>
@jakubgs jakubgs merged commit fd77973 into develop Apr 25, 2023
@jakubgs jakubgs deleted the ci/fix-ios-ssh-creds branch April 25, 2023 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants