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(arm): Adds support for cross compilation and publishes Relay ARM docker images #3272

Merged
merged 75 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from 70 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
95e48b3
.
Dav1dde Mar 15, 2024
dc924ee
.
Dav1dde Mar 15, 2024
f458632
kill relay-crash
Dav1dde Mar 15, 2024
c088149
store artifact
Dav1dde Mar 15, 2024
709cf2d
Revert "kill relay-crash"
Dav1dde Mar 15, 2024
757d45a
try relay-crash
Dav1dde Mar 15, 2024
4e044f3
docker image, more platforms
Dav1dde Mar 15, 2024
8371d7f
sentry cli thingy
Dav1dde Mar 15, 2024
936c002
objcopy
Dav1dde Mar 15, 2024
485f523
test llvm objcopy
Dav1dde Mar 15, 2024
a753bcf
separate step for splitting debug info
Dav1dde Mar 15, 2024
e5827a4
locked, separate docker stages
Dav1dde Mar 15, 2024
fd6a150
change order?
Dav1dde Mar 15, 2024
5085462
more debug stuff
Dav1dde Mar 15, 2024
9a62918
cli in container
Dav1dde Mar 15, 2024
5be8c66
new cross
Dav1dde Mar 15, 2024
8e968b6
zlib
Dav1dde Mar 15, 2024
a2daa9a
cache on error
Dav1dde Mar 15, 2024
42ac49f
libsasl2-dev
Dav1dde Mar 15, 2024
39618a3
move zlib
Dav1dde Mar 15, 2024
eb31f58
zlib
Dav1dde Mar 15, 2024
280c95e
pausing..
Dav1dde Mar 22, 2024
10b9bc0
really
Dav1dde Mar 22, 2024
57e83b6
oops
Dav1dde Mar 22, 2024
5243466
output docker
Dav1dde Mar 22, 2024
204ea7b
wirklich oida
Dav1dde Mar 22, 2024
f7cf7bd
push
Dav1dde Mar 22, 2024
932d64d
more image stuff
Dav1dde Mar 22, 2024
5e13154
another classic
Dav1dde Mar 22, 2024
c79d137
cache prefix
Dav1dde Mar 22, 2024
ae9ae1a
mini cleanup
Dav1dde Apr 12, 2024
5c9131e
try push to prod
Dav1dde Apr 12, 2024
24dc25d
provenance false
Dav1dde Apr 12, 2024
792be03
local platform
Dav1dde Apr 12, 2024
4edf89a
nobody needs this artifact
Dav1dde Apr 12, 2024
b5b3aa0
maybe max
Dav1dde Apr 12, 2024
24154b8
build all docker images in one go
Dav1dde Apr 12, 2024
d51d8d0
oops
Dav1dde Apr 12, 2024
96ab3eb
oops 2.0
Dav1dde Apr 12, 2024
d27498c
5 more minutes
Dav1dde Apr 12, 2024
14034a5
another 5
Dav1dde Apr 12, 2024
25b9a87
why not another 5
Dav1dde Apr 12, 2024
9ba99a3
why not 5 more
Dav1dde Apr 12, 2024
4b4f0b0
another 5 because of a small mistake
Dav1dde Apr 12, 2024
2b691d9
also need to check out haha I am loving this
Dav1dde Apr 12, 2024
79a97b3
test artifacts
Dav1dde Apr 12, 2024
2ccb241
test artifacts 2
Dav1dde Apr 12, 2024
e2bb4c7
workaround paths?
Dav1dde Apr 12, 2024
bad389a
artifacts folder
Dav1dde Apr 12, 2024
5763521
yeah okay I forgot one more thing
Dav1dde Apr 12, 2024
5864831
mh
Dav1dde Apr 12, 2024
9e7659f
remove dot slash in dockerfile
Dav1dde Apr 12, 2024
e467edc
dockerignore
Dav1dde Apr 12, 2024
ef70f56
gocd stuff
Dav1dde Apr 19, 2024
4611998
docker hub
Dav1dde Apr 19, 2024
cf3cd3d
relay-pop, restore pipelines
Dav1dde Apr 19, 2024
cdfe4c1
relay.debug.zip
Dav1dde Apr 19, 2024
85d1aa4
sentry integration tests maybe
Dav1dde Apr 19, 2024
879b87b
cache key
Dav1dde Apr 19, 2024
eaa3420
chmod +x
Dav1dde Apr 19, 2024
50709d6
split gocd step
Dav1dde Apr 19, 2024
7a34e74
use azure mirror in source.list
Dav1dde Apr 19, 2024
4500d51
replace all mirrors
Dav1dde Apr 19, 2024
56f55f2
some comments
Dav1dde Apr 19, 2024
29121fa
build binary
Dav1dde Apr 19, 2024
2c4298c
cleanup docker files
Dav1dde Apr 19, 2024
7c376be
build binary fixes, ununtu mirror fixes
Dav1dde Apr 19, 2024
6c54460
binary builds
Dav1dde Apr 19, 2024
8350fc5
Merge remote-tracking branch 'origin/master' into one-armed-bandit
Dav1dde Apr 19, 2024
7edde21
changelog
Dav1dde Apr 19, 2024
a0d9a16
fix sed for security mirror, remove unused env var
Dav1dde Apr 19, 2024
959f151
keep features separated
Dav1dde Apr 19, 2024
11ab0cc
simplify matrix
Dav1dde Apr 19, 2024
ef5ee70
strip newline
Dav1dde Apr 21, 2024
3f28d55
Merge branch 'master' into one-armed-bandit
Dav1dde Apr 29, 2024
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
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@

!docker-entrypoint.sh
!Makefile

# CI files necessary for building the docker file
!linux/
14 changes: 7 additions & 7 deletions .github/workflows/build_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ jobs:
with:
submodules: recursive

- name: Build in Docker
- name: Install Rust Toolchain
run: rustup toolchain install stable --profile minimal --no-self-update

- name: Build binary
run: |
# Get the latest stable rust toolchain version available
TOOLCHAIN=$(curl -s 'https://static.rust-lang.org/dist/channel-rust-stable.toml' | awk '/\[pkg.rust\]/ {getline;print;}' | sed -r 's/^version = "([0-9.]+) .*/\1/')
scripts/docker-build-linux.sh "$TOOLCHAIN"
make build-linux-release
env:
BUILD_ARCH: x86_64
RELAY_FEATURES:

- name: Bundle Debug File
run: |
cd target/x86_64-unknown-linux-gnu/release/
cd target/release/
zip relay-Linux-x86_64-debug.zip relay.debug
mv relay relay-Linux-x86_64

- uses: actions/upload-artifact@v3
with:
name: ${{ github.sha }}
path: target/x86_64-unknown-linux-gnu/release/relay-Linux-x86_64*
path: target/release/relay-Linux-x86_64*

macos:
name: macOS
Expand Down
Loading
Loading