-
Notifications
You must be signed in to change notification settings - Fork 8
test out adding targets #72
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
Changes from all commits
6a645fa
7863a4b
730a2d7
be5e1c5
a7a97ea
70db575
de54bd0
4abf80e
05c6d88
0c39372
0c1ce53
089e60f
5a4f73c
dd35374
a0c8745
8cbaffd
baf70c4
eebc347
f917144
659ddd8
9e0d00f
a34eea5
28bdfb9
133f649
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,9 +38,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential libelf-dev \ | ||
| ca-certificates file tar xz-utils jq libmagic1 && \ | ||
| rm -rf /var/lib/apt/lists/* | ||
| RUN curl -sSL https://raw.githubusercontent.com/JoeStech/arm-linux-migration-tools/main/scripts/install.sh | bash | ||
| RUN bash -o pipefail -c 'set -eux; \ | ||
| curl -fsSL --retry 5 --retry-delay 2 --retry-all-errors \ | ||
| https://raw.githubusercontent.com/JoeStech/arm-linux-migration-tools/main/scripts/install.sh | bash' | ||
|
Comment on lines
+41
to
+43
|
||
| # Temp until migrate-ease is updated | ||
| RUN curl -sSL https://raw.githubusercontent.com/JoeStech/migrate-ease/main/js/advisor/main.py \ | ||
| RUN curl -fsSL --retry 5 --retry-delay 2 --retry-all-errors \ | ||
| https://raw.githubusercontent.com/JoeStech/migrate-ease/main/js/advisor/main.py \ | ||
| -o /opt/arm-migration-tools/migrate-ease/js/advisor/main.py | ||
|
|
||
| RUN rm -f /usr/local/bin/aperf \ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ssh-keyscanis allowed to fail (|| true) and there is no retry/backoff after restarting sshd. If sshd is not ready yet, the known_hosts file can end up empty and the subsequentssh -o StrictHostKeyChecking=yes ...will fail, causing flaky CI. Add a small retry loop forssh-keyscan(and/or wait for port 22) and fail early if the file is still empty after retries.