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

[deploy] Allow for arm64 #3400

Draft
wants to merge 81 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
2fa8685
Update installer docs, comments, pw
imnasnainaec Oct 7, 2024
d10e3b1
Merge branch 'master' into installer
imnasnainaec Oct 7, 2024
7b93e42
Remove reference to long-gone script
imnasnainaec Oct 7, 2024
1cae5cf
Starting allowing for arm64
imnasnainaec Oct 7, 2024
9bb2118
Fix _/- error
imnasnainaec Oct 7, 2024
8ad50e7
[Docker] Move away from legacy ENV assigment
imnasnainaec Oct 8, 2024
d9c194e
[build] Clean up --quiet usage
imnasnainaec Oct 8, 2024
d055b66
Clean up comments
imnasnainaec Oct 8, 2024
cde7859
[setup_combine] Add --debug logging
imnasnainaec Oct 8, 2024
70394dd
Fix comments re The Combine
imnasnainaec Oct 8, 2024
2c9cfbd
Merge branch 'master' into installer
imnasnainaec Oct 8, 2024
5e2cadd
Merge branch 'installer' into arm
imnasnainaec Oct 9, 2024
c69987b
Change linux_arch to cpu_arch
imnasnainaec Oct 9, 2024
a6b2aa9
Toxy wants a cracker
imnasnainaec Oct 9, 2024
0cb248e
Allow package_k3s with arm
imnasnainaec Oct 9, 2024
c74138a
Merge branch 'master' into arm
imnasnainaec Oct 10, 2024
95a7237
Use --dependency-update; Add debugging; Remove junk dirs
imnasnainaec Oct 10, 2024
9326b14
Fix redundant debugging
imnasnainaec Oct 11, 2024
17e70fb
Revert README
imnasnainaec Oct 11, 2024
7af5386
Fix variable name
imnasnainaec Oct 11, 2024
6ccbf7d
Condense and cleanup README for PDF readability
imnasnainaec Oct 11, 2024
828134d
Merge branch 'installer-2' into arm
imnasnainaec Oct 11, 2024
a385286
Merge branch 'master' into installer-2
imnasnainaec Oct 11, 2024
c654e0b
Tidy
imnasnainaec Oct 11, 2024
d9a496a
More arm stuff
imnasnainaec Oct 11, 2024
18e355c
Tox-ify
imnasnainaec Oct 11, 2024
3d462b4
Merge branch 'installer-2' into arm
imnasnainaec Oct 11, 2024
ac94b9a
Merge branch 'master' into arm
imnasnainaec Oct 15, 2024
993cbb2
Set up Buildx in workflows for multi-platform builds
imnasnainaec Oct 15, 2024
a1a3dff
Debug
imnasnainaec Oct 15, 2024
03b8dca
Add registry-1.docker.io:443 to backend endpoints
imnasnainaec Oct 15, 2024
c398900
Try with QEMU
imnasnainaec Oct 15, 2024
fc58d55
Try more things
imnasnainaec Oct 15, 2024
81a8c65
Shuffle
imnasnainaec Oct 15, 2024
f86d2e5
Another backend endpoint
imnasnainaec Oct 15, 2024
c6d47f6
FROM --platform=
imnasnainaec Oct 16, 2024
8d191fb
Add docker debugging
imnasnainaec Oct 16, 2024
ba465fd
Try without QEMU and with more debugging
imnasnainaec Oct 16, 2024
d46c7a3
Restore QEMU
imnasnainaec Oct 16, 2024
15f4e55
List docker images
imnasnainaec Oct 16, 2024
87fe952
Simplify build_cmd construction
imnasnainaec Oct 21, 2024
7332e5e
Merge branch 'master' into arm
imnasnainaec Oct 24, 2024
84acfc6
Fix build.py docker debugging
imnasnainaec Oct 24, 2024
0ac5834
Use --load with docker build
imnasnainaec Oct 24, 2024
1ca51d3
Try --push instead of --load
imnasnainaec Oct 24, 2024
300605b
Try single-platform builds; only do multiplatform for the repo push
imnasnainaec Oct 24, 2024
1329012
Make tox happier
imnasnainaec Oct 24, 2024
9940617
Remove unnecessary QEMU, buildx
imnasnainaec Oct 24, 2024
ab59191
Try to deploy to QA
imnasnainaec Oct 24, 2024
330a07e
Add multiplatform to action
imnasnainaec Oct 25, 2024
ebedce3
Default to local arch
imnasnainaec Oct 25, 2024
845cbb5
Start restoring normality
imnasnainaec Oct 25, 2024
aea9b4d
More restoration
imnasnainaec Oct 25, 2024
b708408
Cleanup workflows
imnasnainaec Oct 25, 2024
fddf9bb
Update installer arch/arm arguments
imnasnainaec Oct 25, 2024
d905beb
See if --platform is necessary
imnasnainaec Oct 25, 2024
c595f89
Try qa deploy w/o QEMU
imnasnainaec Oct 25, 2024
4c08fdb
Change some info to debug
imnasnainaec Oct 29, 2024
6577f59
Merge branch 'master' into arm
imnasnainaec Oct 30, 2024
9aba448
Try updated arch-tagged images
imnasnainaec Nov 7, 2024
f899f90
Merge branch 'arm' of https://github.com/sillsdev/TheCombine into arm
imnasnainaec Nov 7, 2024
2660f70
Add aws endpoint
imnasnainaec Nov 7, 2024
062f8b3
Add cloudfront endpoint
imnasnainaec Nov 7, 2024
67a0ac1
More build experiments
imnasnainaec Nov 8, 2024
9159582
Merge branch 'master' into arm
imnasnainaec Nov 8, 2024
681e957
Focus build experiments on maintenance
imnasnainaec Nov 8, 2024
dcdeb55
Take 3
imnasnainaec Nov 8, 2024
bd12bf2
Add ports.ubuntu.com endpoint
imnasnainaec Nov 8, 2024
9be4711
Try to do more fully emulated builds
imnasnainaec Nov 8, 2024
a5bd077
Use QEMU
imnasnainaec Nov 8, 2024
f99cbf0
Re-add endpoint
imnasnainaec Nov 8, 2024
7230848
Use buildx for multiplatform build
imnasnainaec Nov 8, 2024
8fabe32
Re-add another endpoint
imnasnainaec Nov 8, 2024
2966dff
Merge branch 'master' into arm
imnasnainaec Nov 8, 2024
e76d356
Use BUILDPLATFORM just for backend builder
imnasnainaec Nov 12, 2024
29095e9
Add helm value for cpuArch
imnasnainaec Nov 13, 2024
3fd2eb2
Update buildx action from v2 to v3
imnasnainaec Nov 13, 2024
28a2ced
Merge branch 'master' into arm
imnasnainaec Nov 15, 2024
a7b7140
Add endpoint to deploy_release that was added to deploy_qa
imnasnainaec Nov 15, 2024
0a47553
Merge branch 'master' into arm
imnasnainaec Dec 10, 2024
3c13fd3
Merge branch 'master' into arm
imnasnainaec Jan 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix comments re The Combine
imnasnainaec committed Oct 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 70394dd10ec020e639db4f0a5d63c30d9b699110
10 changes: 5 additions & 5 deletions deploy/scripts/install-combine.sh
Original file line number Diff line number Diff line change
@@ -141,12 +141,12 @@ install-the-combine () {
deactivate
}

# Wait until all the combine deployments are "Running"
# Wait until all The Combine deployments are "Running"
wait-for-combine () {
# Wait for all combine deployments to be up
# Wait for all The Combine deployments to be up
while true ; do
combine_status=`kubectl -n thecombine get deployments`
# Assert the The Combine is up; if any components are not up, set it to false
# Assert The Combine is up; if any components are not up, set it to false
combine_up=true
for deployment in frontend backend database maintenance ; do
deployment_status=$(echo ${combine_status} | grep "${deployment}" | sed "s/^.*\([0-9]\)\/1.*/\1/")
@@ -266,7 +266,7 @@ while [ "$STATE" != "Done" ] ; do
next-state "Base-charts"
if [ -f /var/run/reboot-required ] ; then
echo -e "***** Restart required *****\n"
echo -e "Rerun combine installer after the system has been restarted.\n"
echo -e "Rerun The Combine installer after the system has been restarted.\n"
read -p "Restart now? (Y/n) " RESTART
if [[ -z $RESTART || $RESTART =~ ^[yY].* ]] ; then
sudo reboot
@@ -295,7 +295,7 @@ while [ "$STATE" != "Done" ] ; do
fi
;;
Wait-for-combine)
# Wait until all the combine deployments are up
# Wait until all The Combine deployments are up
echo "Waiting for The Combine components to download and setup."
echo "This may take some time depending on your Internet connection."
echo "Press Ctrl-C to interrupt."