- ci.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - ci.yml: actions/setup-node@v4 -> 49933ea5288caeca8642d1e84afbd3f7d6820020 - ci.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - ci.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - ci.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - ci.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - ci.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - ci.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - ci.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - ci.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - ci.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - ci.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - release-stable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - release-stable.yml: stefanzweifel/git-auto-commit-action@v5 -> b863ae1933cb653a53c021fe36dbb774e1fb9403 - release-stable.yml: softprops/action-gh-release@v2 -> 3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 - release-stable.yml: stefanzweifel/git-auto-commit-action@v5 -> b863ae1933cb653a53c021fe36dbb774e1fb9403 - release-stable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - release-stable.yml: docker/setup-qemu-action@v3 -> c7c53464625b32c7a7e944ae62b3e17d2b600130 - release-stable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - release-stable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - release-stable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - release-stable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - release-stable.yml: docker/setup-qemu-action@v3 -> c7c53464625b32c7a7e944ae62b3e17d2b600130 - release-stable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - release-stable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - release-stable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - release-stable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - release-stable.yml: docker/setup-qemu-action@v3 -> c7c53464625b32c7a7e944ae62b3e17d2b600130 - release-stable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - release-stable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - release-stable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - release-stable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - release-stable.yml: docker/setup-qemu-action@v3 -> c7c53464625b32c7a7e944ae62b3e17d2b600130 - release-stable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - release-stable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - release-stable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - release-stable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - release-stable.yml: docker/setup-qemu-action@v3 -> c7c53464625b32c7a7e944ae62b3e17d2b600130 - release-stable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - release-stable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - release-stable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - release-stable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - release-stable.yml: docker/setup-qemu-action@v3 -> c7c53464625b32c7a7e944ae62b3e17d2b600130 - release-stable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - release-stable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - release-stable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - release-stable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - release-stable.yml: docker/setup-qemu-action@v3 -> c7c53464625b32c7a7e944ae62b3e17d2b600130 - release-stable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - release-stable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - release-stable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - release-stable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - release-stable.yml: docker/setup-qemu-action@v3 -> c7c53464625b32c7a7e944ae62b3e17d2b600130 - release-stable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - release-stable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - release-stable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - stale.yml: actions/stale@v8 -> 1160a2240286f5da8ec72b1c0816ce2481aabf84 - unstable.yml: myci-actions/add-deb-repo@11 -> 43408b9f0225d1c64ba667d59e337c6140383bbe - unstable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - unstable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: int128/docker-manifest-create-action@v2 -> 44422a4b046d55dc036df622039ed3aec43c613c - unstable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - unstable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: int128/docker-manifest-create-action@v2 -> 44422a4b046d55dc036df622039ed3aec43c613c - unstable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - unstable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: int128/docker-manifest-create-action@v2 -> 44422a4b046d55dc036df622039ed3aec43c613c - unstable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - unstable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: int128/docker-manifest-create-action@v2 -> 44422a4b046d55dc036df622039ed3aec43c613c - unstable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - unstable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: int128/docker-manifest-create-action@v2 -> 44422a4b046d55dc036df622039ed3aec43c613c - unstable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - unstable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: int128/docker-manifest-create-action@v2 -> 44422a4b046d55dc036df622039ed3aec43c613c - unstable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - unstable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: int128/docker-manifest-create-action@v2 -> 44422a4b046d55dc036df622039ed3aec43c613c - unstable.yml: actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 - unstable.yml: docker/setup-buildx-action@v3 -> 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: docker/build-push-action@v6 -> 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 - unstable.yml: docker/login-action@v3 -> c94ce9fb468520275223c153574b00df6fe4bcc9 - unstable.yml: int128/docker-manifest-create-action@v2 -> 44422a4b046d55dc036df622039ed3aec43c613c
155 lines
5.9 KiB
YAML
155 lines
5.9 KiB
YAML
name: CI Test Build
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
|
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
|
- name: Check Node / npm versions
|
|
run: |
|
|
node -v
|
|
npm -v
|
|
- name: setup tpl
|
|
run: |
|
|
dpkgArch="$(dpkg --print-architecture)"
|
|
case "${dpkgArch##*-}" in \
|
|
"amd64") TPL_ARCH=amd64; S6_ARCH=amd64 ;; \
|
|
"arm64") TPL_ARCH=arm64; S6_ARCH=aarch64 ;; \
|
|
*) echo "unsupported architecture"; exit 1 ;; \
|
|
esac
|
|
wget -qO /tmp/tpl https://github.com/jitsi/tpl/releases/latest/download/tpl-linux-${TPL_ARCH}
|
|
chmod +x /tmp/tpl
|
|
- name: setup duktape
|
|
working-directory: /tmp
|
|
run: |
|
|
wget https://duktape.org/duktape-2.2.1.tar.xz
|
|
tar xvf duktape-2.2.1.tar.xz
|
|
cd duktape-2.2.1
|
|
make -f Makefile.cmdline
|
|
mv duk /usr/local/bin
|
|
- name: Run tpl with default values for web
|
|
env:
|
|
P2P_STUN_SERVERS: stun.l.google.com:19302,stun1.l.google.com:19302,stun2.l.google.com:19302
|
|
run: |
|
|
/tmp/tpl web/rootfs/defaults/system-config.js > /tmp/config.js
|
|
/tmp/tpl web/rootfs/defaults/settings-config.js >> /tmp/config.js
|
|
echo "console.log(JSON.stringify(config, undefined, 2));" >> /tmp/config.js
|
|
cat /tmp/config.js
|
|
- name: Check config.js syntax
|
|
run: duk /tmp/config.js
|
|
- name: Run tpl with default values for jvb
|
|
run: |
|
|
/tmp/tpl jvb/rootfs/defaults/jvb.conf > /tmp/jvb.conf
|
|
/tmp/tpl jvb/rootfs/defaults/logging.properties > /tmp/logging.properties
|
|
/tmp/tpl jvb/rootfs/defaults/autoscaler-sidecar.config > /tmp/autoscaler-sidecar.config
|
|
- name: Run tpl with default values for jicofo
|
|
run: |
|
|
/tmp/tpl jicofo/rootfs/defaults/jicofo.conf > /tmp/jicofo.conf
|
|
/tmp/tpl jicofo/rootfs/defaults/logging.properties > /tmp/logging.properties
|
|
- name: Run tpl with default values for jibri
|
|
run: |
|
|
/tmp/tpl jibri/rootfs/defaults/jibri.conf > /tmp/jibri.conf
|
|
/tmp/tpl jibri/rootfs/defaults/logging.properties > /tmp/logging.properties
|
|
/tmp/tpl jibri/rootfs/defaults/xmpp.conf > /tmp/xmpp.conf
|
|
/tmp/tpl jibri/rootfs/defaults/xorg-video-dummy.conf > /tmp/xorg-video-dummy.conf
|
|
/tmp/tpl jibri/rootfs/defaults/autoscaler-sidecar.config > /tmp/autoscaler-sidecar.config
|
|
- name: Run tpl with default values for jigasi
|
|
run: |
|
|
/tmp/tpl jigasi/rootfs/defaults/sip-communicator.properties > /tmp/sip-communicator.properties
|
|
/tmp/tpl jigasi/rootfs/defaults/sipserver-sip-communicator.properties > /tmp/xmpp-sip-communicator.properties
|
|
/tmp/tpl jigasi/rootfs/defaults/transcriber-sip-communicator.properties > /tmp/xmpp-sip-communicator.properties
|
|
/tmp/tpl jigasi/rootfs/defaults/xmpp-sip-communicator.properties > /tmp/xmpp-sip-communicator.properties
|
|
/tmp/tpl jigasi/rootfs/defaults/logging.properties > /tmp/logging.properties
|
|
/tmp/tpl jigasi/rootfs/defaults/autoscaler-sidecar.config > /tmp/autoscaler-sidecar.config
|
|
- name: Run tpl with default values for prosody
|
|
run: |
|
|
/tmp/tpl prosody/rootfs/defaults/prosody.cfg.lua > /tmp/prosody.cfg.lua
|
|
/tmp/tpl prosody/rootfs/defaults/saslauthd.conf > /tmp/saslauthd.conf
|
|
/tmp/tpl prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua > /tmp/jitsi-meet.cfg.lua
|
|
/tmp/tpl prosody/rootfs/defaults/conf.d/brewery.cfg.lua > /tmp/brewery.cfg.lua
|
|
/tmp/tpl prosody/rootfs/defaults/conf.d/visitors.cfg.lua > /tmp/visitors.cfg.lua
|
|
/tmp/tpl prosody/rootfs/defaults/rules.d/jvb_muc_presence_filter.pfw > /tmp/jvb_muc_presence_filter.pfw
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
|
- name: Setup Docker Buildx
|
|
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
|
with:
|
|
driver: docker
|
|
|
|
- name: Build base
|
|
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
|
|
with:
|
|
context: ./base
|
|
load: true
|
|
tags: |
|
|
jitsi/base:latest
|
|
build-args: |
|
|
JITSI_RELEASE=unstable
|
|
|
|
- name: Build base-java
|
|
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
|
|
with:
|
|
context: ./base-java
|
|
load: true
|
|
tags: |
|
|
jitsi/base-java:latest
|
|
|
|
- name: Build jibri
|
|
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
|
|
with:
|
|
context: ./jibri
|
|
load: true
|
|
tags: |
|
|
jitsi/jibri:latest
|
|
|
|
- name: Build jicofo
|
|
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
|
|
with:
|
|
context: ./jicofo
|
|
load: true
|
|
tags: |
|
|
jitsi/jicofo:latest
|
|
|
|
- name: Build jigasi
|
|
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
|
|
with:
|
|
context: ./jigasi
|
|
load: true
|
|
tags: |
|
|
jitsi/jigasi:latest
|
|
|
|
- name: Build jvb
|
|
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
|
|
with:
|
|
context: ./jvb
|
|
load: true
|
|
tags: |
|
|
jitsi/jvb:latest
|
|
|
|
- name: Build prosody
|
|
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
|
|
with:
|
|
context: ./prosody
|
|
load: true
|
|
tags: |
|
|
jitsi/prosody:latest
|
|
|
|
- name: Build web
|
|
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
|
|
with:
|
|
context: ./web
|
|
load: true
|
|
tags: |
|
|
jitsi/web:latest
|