Skip to content

Commit a933017

Browse files
author
Dmitrii Kuvaiskii
committed
[CI-Examples] Change the license of all examples to BSD-3-clause
The CI examples had the default license of LGPL-3.0. With this commit, we change the license of all Makefiles, manifest templates, config files, Python scripts in examples to a BSD-3-clause license. This change is permitted by the "Examples Exception" to the Technical Charter, enacted on 5. December 2023. This change was agreed by all contributors to CI examples, past and present. This change is in response to a popular request to adopt a more permissive license for our examples. The new BSD-3-clause is a permissive license (in contrast to the previously applied copyleft LGPL license). BSD explicitly allows to modify and use our examples without any obligation to share these modifications. Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
1 parent 3d55c8d commit a933017

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+183
-12
lines changed

CI-Examples/bash/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2023 Gramine contributors
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
14
ARCH_LIBDIR ?= /lib/$(shell $(CC) -dumpmachine)
25

36
ifeq ($(DEBUG),1)

CI-Examples/bash/manifest.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2023 Gramine contributors
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
14
# This is a general manifest template for running Bash and core utility programs,
25
# including ls, cat, cp, date, and rm.
36

CI-Examples/bash/scripts/bash_test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env bash
22

3+
# Copyright (C) 2023 Gramine contributors
4+
# SPDX-License-Identifier: BSD-3-Clause
5+
36
times=$1
47
[ "$times" -gt 0 ] 2>/dev/null || times=300
58

CI-Examples/blender/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2023 Gramine contributors
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
14
# assumes this makefile lies in cwd
25
PWD := $(shell pwd)
36

CI-Examples/blender/blender.manifest.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2023 Gramine contributors
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
14
# Blender manifest example
25

36
loader.entrypoint = "file:{{ gramine.libos }}"

CI-Examples/blender/test_all_scenes.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/sh
22

3+
# Copyright (C) 2023 Gramine contributors
4+
# SPDX-License-Identifier: BSD-3-Clause
5+
36
set -e
47

58
if test -n "$SGX"

CI-Examples/busybox/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2023 Gramine contributors
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
14
ARCH_LIBDIR ?= /lib/$(shell $(CC) -dumpmachine)
25

36
SRCDIR = src

CI-Examples/busybox/busybox.manifest.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2023 Gramine contributors
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
14
# Busybox manifest file example
25

36
loader.entrypoint = "file:{{ gramine.libos }}"

CI-Examples/common_tools/benchmark-http.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env bash
22

3+
# Copyright (C) 2023 Gramine contributors
4+
# SPDX-License-Identifier: BSD-3-Clause
5+
36
# On Ubuntu, this script requires wrk2 tool installed for the wrk binary.
47
#
58
# Run like: ./benchmark-http.sh host:port

CI-Examples/common_tools/download

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env bash
22

3+
# Copyright (C) 2023 Gramine contributors
4+
# SPDX-License-Identifier: BSD-3-Clause
5+
36
set -eu -o pipefail
47

58
declare -a urls

0 commit comments

Comments
 (0)