Skip to content

Commit 47b4430

Browse files
MOD-9172 Add Azure Linux 3 support (#1335)
Also disabled the freebsd github workflow (the code doesn't even compile there)
1 parent 03d47a7 commit 47b4430

7 files changed

Lines changed: 38 additions & 10 deletions

File tree

.github/workflows/event-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: ./.github/workflows/flow-linux-x86.yml
2828
needs: [prepare-values]
2929
with:
30-
os: jammy rocky9 amazonlinux2
30+
os: jammy rocky9 amazonlinux2 azurelinux3
3131
redis-ref: ${{needs.prepare-values.outputs.redis-ref}}
3232
secrets: inherit
3333
linux-valgrind:

.github/workflows/event-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: ./.github/workflows/flow-linux-x86.yml
3434
needs: [prepare-values]
3535
with:
36-
os: bionic focal jammy rocky8 rocky9 bullseye amazonlinux2 mariner2
36+
os: bionic focal jammy rocky8 rocky9 bullseye amazonlinux2 mariner2 azurelinux3
3737
redis-ref: ${{needs.prepare-values.outputs.redis-ref}}
3838
secrets: inherit
3939
ubuntu-arm64:

.github/workflows/event-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: ./.github/workflows/flow-linux-x86.yml
3030
needs: [prepare-values]
3131
with:
32-
os: bionic focal jammy rocky8 rocky9 bullseye amazonlinux2 mariner2
32+
os: bionic focal jammy rocky8 rocky9 bullseye amazonlinux2 mariner2 azurelinux3
3333
redis-ref: ${{needs.prepare-values.outputs.redis-ref}}
3434
secrets: inherit
3535
ubuntu-arm64:

.github/workflows/event-weekly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
needs: [prepare-values]
3030
with:
3131
# os: jammy rocky9 amazonlinux2
32-
os: bionic focal jammy rocky8 rocky9 bullseye amazonlinux2 mariner2
32+
os: bionic focal jammy rocky8 rocky9 bullseye amazonlinux2 mariner2 azurelinux3
3333
redis-ref: ${{needs.prepare-values.outputs.redis-ref}}
3434
secrets: inherit
3535
ubuntu-arm64:

.github/workflows/flow-linux-x86.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: |
6161
OS="${{ inputs.os }}"
6262
if [ -z "${OS}" ]; then
63-
OS="bionic focal jammy rocky8 rocky9 bullseye amazonlinux2 mariner2"
63+
OS="bionic focal jammy rocky8 rocky9 bullseye amazonlinux2 mariner2 azurelinux3"
6464
fi
6565
MATRIX="["
6666
for os in $OS; do
@@ -89,6 +89,9 @@ jobs:
8989
mariner2)
9090
MATRIX="${MATRIX}{\"image\": \"mcr.microsoft.com/cbl-mariner/base/core:2.0\", \"pre_req_install_cmd\": \"tdnf install --noplugins --skipsignature -y ca-certificates git\"},"
9191
;;
92+
azurelinux3)
93+
MATRIX="${MATRIX}{\"image\": \"mcr.microsoft.com/azurelinux/base/core:3.0\", \"pre_req_install_cmd\": \"tdnf install --noplugins --skipsignature -y ca-certificates git\"},"
94+
;;
9295
*)
9396
echo "Unknown OS: $os"
9497
exit 1

.github/workflows/freebsd.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: freebsd
22

3-
on:
4-
push:
5-
branches: [ master ]
6-
pull_request:
7-
branches: [ master ]
3+
on: []
84

95
jobs:
106
build:
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/bash
2+
# This script automates the process of setting up a development environment for RedisJSON on a Microsoft Azure Linux virtual machine.
3+
4+
set -e
5+
6+
# Update and install dev tools needed for building and testing
7+
tdnf -y update && \
8+
tdnf install -y \
9+
git \
10+
wget \
11+
gcc \
12+
clang-devel \
13+
llvm-devel \
14+
make \
15+
cmake \
16+
libffi-devel \
17+
openssl-devel \
18+
build-essential \
19+
zlib-devel \
20+
bzip2-devel \
21+
python3-devel \
22+
which \
23+
unzip \
24+
ca-certificates \
25+
python3-pip
26+
27+
# Install AWS CLI for uploading to S3
28+
pip3 install awscli --upgrade
29+

0 commit comments

Comments
 (0)