Skip to content

Commit

Permalink
Merge commit 'a81e6cfec76e5da525c55259c856473afc3e90c8'
Browse files Browse the repository at this point in the history
  • Loading branch information
slabajo committed Sep 16, 2024
2 parents b410412 + a81e6cf commit afc9fa9
Show file tree
Hide file tree
Showing 274 changed files with 4,854 additions and 2,653 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ ANYTHING that you think might be relevant or useful.
### About Kurento Media Server

* Kurento version: <!-- E.g. 7.0.0, nightly -->
* Server OS: <!-- E.g. Ubuntu 20.04 (Focal) -->
* Server OS: <!-- E.g. Ubuntu 20.04 (noble) -->
* Installation method:
<!-- Fill with an 'x' in the boxes that apply. -->
- [] [apt-get]
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/clients-java.child.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,19 @@ on:
required: false
type: "string"
default: "dev"
runnerGroup:
description: "runnerGroup: Set of runners where the workflow jobs should be run"
required: false
type: "string"
default: "Linux"

defaults:
run:
shell: "bash --noprofile --norc -o errexit -o errtrace -o pipefail -o nounset -o xtrace {0}"

jobs:
build:
runs-on: ["self-hosted"]
runs-on: ["self-hosted", "${{ inputs.runnerGroup }}"]
timeout-minutes: 30
steps:
# Action: https://github.com/actions/checkout
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/clients-java.parent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,35 @@ on:
required: false
type: "string"
default: "dev"
runnerGroup:
description: "runnerGroup: Set of runners where the workflow jobs should be run"
required: false
type: "string"
default: "Linux"

jobs:
qa-pom:
uses: "./.github/workflows/clients-java.child.yaml"
with:
directory: "clients/java/qa-pom/"
copyArtifacts: false
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

module-creator:
uses: "./.github/workflows/clients-java.child.yaml"
with:
directory: "server/module-creator/"
copyArtifacts: false
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

maven-plugin:
needs: ["module-creator"]
uses: "./.github/workflows/clients-java.child.yaml"
with:
directory: "clients/java/maven-plugin/"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

module-core:
Expand All @@ -39,6 +47,7 @@ jobs:
directory: "server/module-core/"
genModuleEnable: true
genModuleServerVersion: "${{ inputs.jobServerVersion }}"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

module-elements:
Expand All @@ -48,6 +57,7 @@ jobs:
directory: "server/module-elements/"
genModuleEnable: true
genModuleServerVersion: "${{ inputs.jobServerVersion }}"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

module-filters:
Expand All @@ -57,13 +67,15 @@ jobs:
directory: "server/module-filters/"
genModuleEnable: true
genModuleServerVersion: "${{ inputs.jobServerVersion }}"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

client:
needs: ["qa-pom", "module-filters"]
uses: "./.github/workflows/clients-java.child.yaml"
with:
directory: "clients/java/"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

module-chroma:
Expand All @@ -73,6 +85,7 @@ jobs:
directory: "server/module-examples/chroma/"
genModuleEnable: true
genModuleServerVersion: "${{ inputs.jobServerVersion }}"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

# Unavailable since Kurento 7.0.0
Expand All @@ -92,6 +105,7 @@ jobs:
directory: "server/module-examples/datachannelexample/"
genModuleEnable: true
genModuleServerVersion: "${{ inputs.jobServerVersion }}"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

# Unavailable since Kurento 7.0.0
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/clients-javascript.child.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,19 @@ on:
required: false
type: "string"
default: "dev"
runnerGroup:
description: "runnerGroup: Set of runners where the workflow jobs should be run"
required: false
type: "string"
default: "Linux"

defaults:
run:
shell: "bash --noprofile --norc -o errexit -o errtrace -o pipefail -o nounset -o xtrace {0}"

jobs:
build:
runs-on: ["self-hosted"]
runs-on: ["self-hosted", "${{ inputs.runnerGroup }}"]
timeout-minutes: 30
steps:
# Action: https://github.com/actions/checkout
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/clients-javascript.parent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@ on:
required: false
type: "string"
default: "dev"
runnerGroup:
description: "runnerGroup: Set of runners where the workflow jobs should be run"
required: false
type: "string"
default: "Linux"

jobs:
kurento-utils-js:
uses: "./.github/workflows/clients-javascript.child.yaml"
with:
jobRelease: ${{ inputs.jobRelease }}
directory: "browser/kurento-utils-js/"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

module-core:
Expand All @@ -30,6 +36,7 @@ jobs:
directory: "server/module-core/"
genModuleEnable: true
genModuleServerVersion: "${{ inputs.jobServerVersion }}"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

module-elements:
Expand All @@ -39,6 +46,7 @@ jobs:
directory: "server/module-elements/"
genModuleEnable: true
genModuleServerVersion: "${{ inputs.jobServerVersion }}"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

module-filters:
Expand All @@ -48,13 +56,15 @@ jobs:
directory: "server/module-filters/"
genModuleEnable: true
genModuleServerVersion: "${{ inputs.jobServerVersion }}"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

jsonrpc:
uses: "./.github/workflows/clients-javascript.child.yaml"
with:
jobRelease: ${{ inputs.jobRelease }}
directory: "clients/javascript/jsonrpc/"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

client:
Expand All @@ -63,6 +73,7 @@ jobs:
with:
jobRelease: ${{ inputs.jobRelease }}
directory: "clients/javascript/client/"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

module-chroma:
Expand All @@ -72,6 +83,7 @@ jobs:
directory: "server/module-examples/chroma/"
genModuleEnable: true
genModuleServerVersion: "${{ inputs.jobServerVersion }}"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

#module-crowddetector:
Expand All @@ -83,6 +95,7 @@ jobs:
directory: "server/module-examples/datachannelexample/"
genModuleEnable: true
genModuleServerVersion: "${{ inputs.jobServerVersion }}"
runnerGroup: ${{ inputs.runnerGroup }}
secrets: inherit

#module-markerdetector:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/doc-kurento.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ on:
required: false
type: "boolean"
default: false
runnerGroup:
description: "runnerGroup: Set of runners where the workflow jobs should be run"
required: false
type: "string"
default: "Linux"

defaults:
run:
shell: "bash --noprofile --norc -o errexit -o errtrace -o pipefail -o nounset -o xtrace {0}"

jobs:
build:
runs-on: ["self-hosted"]
runs-on: ["self-hosted", "${{ inputs.runnerGroup }}"]
timeout-minutes: 30
steps:
# Action: https://github.com/actions/checkout
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/docker-kurento-buildpackage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,20 @@ on:
# There is no `list` type, so use a raw JSON array and `fromJSON()`.
# Example: '["xenial", "bionic", "focal"]'
type: "string"
default: '["focal"]'

default: '["noble"]'
runnerGroup:
description: "runnerGroup: Set of runners where the workflow jobs should be run"
required: false
type: "string"
default: "Linux"

defaults:
run:
shell: "bash --noprofile --norc -o errexit -o errtrace -o pipefail -o nounset -o xtrace {0}"

jobs:
build:
runs-on: ["self-hosted"]
runs-on: ["self-hosted", "${{ inputs.runnerGroup }}"]
strategy:
# Run each configuration sequentially.
# Docker login & build fails if ran multiple times in parallel.
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/docker-kurento-ci-buildtools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,20 @@ on:
# There is no `list` type, so use a raw JSON array and `fromJSON()`.
# Example: '["xenial", "bionic", "focal"]'
type: "string"
default: '["focal"]'
default: '["noble"]'
runnerGroup:
description: "runnerGroup: Set of runners where the workflow jobs should be run"
required: false
type: "string"
default: "Linux"

defaults:
run:
shell: "bash --noprofile --norc -o errexit -o errtrace -o pipefail -o nounset -o xtrace {0}"

jobs:
build:
runs-on: ["self-hosted"]
runs-on: ["self-hosted", "${{ inputs.runnerGroup }}"]
strategy:
# Run each configuration sequentially.
# Docker login & build fails if ran multiple times in parallel.
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/docker-rust-buildpackage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: "docker/rust-buildpackage"

on:
# Manual trigger.
workflow_dispatch:
inputs:
jobDistros:
description: "jobDistros: List of Ubuntu codenames to build for"
required: true
# There is no `list` type, so use a raw JSON array and `fromJSON()`.
# Example: '["xenial", "bionic", "focal"]'
type: "string"
default: '["noble"]'
runnerGroup:
description: "runnerGroup: Set of runners where the workflow jobs should be run"
required: false
type: "string"
default: "Linux"

defaults:
run:
shell: "bash --noprofile --norc -o errexit -o errtrace -o pipefail -o nounset -o xtrace {0}"

jobs:
build:
runs-on: ["self-hosted", "${{ inputs.runnerGroup }}"]
strategy:
# Run each configuration sequentially.
# Docker login & build fails if ran multiple times in parallel.
max-parallel: 1
matrix:
jobDistro: ${{ fromJSON(inputs.jobDistros) }}
timeout-minutes: 30
steps:
# Action: https://github.com/actions/checkout
- name: "Checkout"
uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11" # v4.1.1

- name: "Configure the environment for ci-scripts/"
working-directory: "ci-scripts/"
run: |
echo "$PWD" >>$GITHUB_PATH
echo "KURENTO_SCRIPTS_HOME=$PWD" >>$GITHUB_ENV
echo "JOB_TIMESTAMP=$(date --utc +%Y%m%d%H%M%S)" >>$GITHUB_ENV
- name: "Run job script"
env:
PUSH_IMAGES: "yes"
BUILD_ARGS: "UBUNTU_CODENAME=${{ matrix.jobDistro }}"
TAG: "${{ matrix.jobDistro }}-${{ env.JOB_TIMESTAMP }}"
# Moving tags, example: "1.2.3", "1.2", "1", "latest"
EXTRA_TAGS: "${{ matrix.jobDistro }}"
TAG_COMMIT: "no"
KURENTO_DOCKERHUB_USERNAME: "${{ secrets.KURENTO_DOCKERHUB_USERNAME }}"
KURENTO_DOCKERHUB_TOKEN: "${{ secrets.KURENTO_DOCKERHUB_TOKEN }}"
working-directory: docker/rust-buildpackage/
run: container_build.sh
Loading

0 comments on commit afc9fa9

Please sign in to comment.