Skip to content

Commit bd27dce

Browse files
committed
add GPL2 license
Change-Id: I49de6cdc74cdc0712fa055505460ca1929265d10
1 parent d2c7b32 commit bd27dce

File tree

645 files changed

+13209
-170
lines changed

Some content is hidden

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

645 files changed

+13209
-170
lines changed

Diff for: LICENSE

+339-153
Large diffs are not rendered by default.

Diff for: _run_eslint_tests_in_docker.sh

+20
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
#!/usr/bin/env bash
2+
#
3+
# KuberDock - is a platform that allows users to run applications using Docker
4+
# container images and create SaaS / PaaS based on these applications.
5+
# Copyright (C) 2017 Cloud Linux INC
6+
#
7+
# This file is part of KuberDock.
8+
#
9+
# KuberDock is free software; you can redistribute it and/or
10+
# modify it under the terms of the GNU General Public License
11+
# as published by the Free Software Foundation; either version 2
12+
# of the License, or (at your option) any later version.
13+
#
14+
# KuberDock is distributed in the hope that it will be useful,
15+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
# GNU General Public License for more details.
18+
#
19+
# You should have received a copy of the GNU General Public License
20+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
21+
#
222
build_number=${BUILD_NUMBER:-local_$(echo $RANDOM | tr '0-9' 'a-zA-Z')}
323
project="appcloudunittest${build_number}"
424

Diff for: _run_pep8_tests.sh

+20
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
#!/usr/bin/env bash
2+
#
3+
# KuberDock - is a platform that allows users to run applications using Docker
4+
# container images and create SaaS / PaaS based on these applications.
5+
# Copyright (C) 2017 Cloud Linux INC
6+
#
7+
# This file is part of KuberDock.
8+
#
9+
# KuberDock is free software; you can redistribute it and/or
10+
# modify it under the terms of the GNU General Public License
11+
# as published by the Free Software Foundation; either version 2
12+
# of the License, or (at your option) any later version.
13+
#
14+
# KuberDock is distributed in the hope that it will be useful,
15+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
# GNU General Public License for more details.
18+
#
19+
# You should have received a copy of the GNU General Public License
20+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
21+
#
222
ERRORS_THRESHOLD=180
323

424
tmpfile=$(mktemp /tmp/flake8-parse.XXXXXX)

Diff for: _run_shellcheck_tests.sh

+20
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
#!/usr/bin/env bash
2+
#
3+
# KuberDock - is a platform that allows users to run applications using Docker
4+
# container images and create SaaS / PaaS based on these applications.
5+
# Copyright (C) 2017 Cloud Linux INC
6+
#
7+
# This file is part of KuberDock.
8+
#
9+
# KuberDock is free software; you can redistribute it and/or
10+
# modify it under the terms of the GNU General Public License
11+
# as published by the Free Software Foundation; either version 2
12+
# of the License, or (at your option) any later version.
13+
#
14+
# KuberDock is distributed in the hope that it will be useful,
15+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
# GNU General Public License for more details.
18+
#
19+
# You should have received a copy of the GNU General Public License
20+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
21+
#
222
ERRORS_TRESHOLD=950
323

424
tmpfile=$(mktemp /tmp/shellcheck-parse.XXXXXX)

Diff for: _run_shellcheck_tests_in_docker.sh

+20
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
#!/usr/bin/env bash
2+
#
3+
# KuberDock - is a platform that allows users to run applications using Docker
4+
# container images and create SaaS / PaaS based on these applications.
5+
# Copyright (C) 2017 Cloud Linux INC
6+
#
7+
# This file is part of KuberDock.
8+
#
9+
# KuberDock is free software; you can redistribute it and/or
10+
# modify it under the terms of the GNU General Public License
11+
# as published by the Free Software Foundation; either version 2
12+
# of the License, or (at your option) any later version.
13+
#
14+
# KuberDock is distributed in the hope that it will be useful,
15+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
# GNU General Public License for more details.
18+
#
19+
# You should have received a copy of the GNU General Public License
20+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
21+
#
222

323
build_number=${BUILD_NUMBER:-local_$(echo $RANDOM | tr '[0-9]' '[a-zA-Z]')}
424
project="appcloudunittest${build_number}"

Diff for: _run_tests26_in_docker.sh

+20
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
#!/usr/bin/env bash
2+
#
3+
# KuberDock - is a platform that allows users to run applications using Docker
4+
# container images and create SaaS / PaaS based on these applications.
5+
# Copyright (C) 2017 Cloud Linux INC
6+
#
7+
# This file is part of KuberDock.
8+
#
9+
# KuberDock is free software; you can redistribute it and/or
10+
# modify it under the terms of the GNU General Public License
11+
# as published by the Free Software Foundation; either version 2
12+
# of the License, or (at your option) any later version.
13+
#
14+
# KuberDock is distributed in the hope that it will be useful,
15+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
# GNU General Public License for more details.
18+
#
19+
# You should have received a copy of the GNU General Public License
20+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
21+
#
222
IMAGE='tyzhnenko/centos6-test-base:v1'
323

424
docker run -v $(pwd):/appcloud:ro -w /appcloud $IMAGE /bin/bash -c \

Diff for: _run_tests_in_docker.sh

+20
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
#!/usr/bin/env bash
2+
#
3+
# KuberDock - is a platform that allows users to run applications using Docker
4+
# container images and create SaaS / PaaS based on these applications.
5+
# Copyright (C) 2017 Cloud Linux INC
6+
#
7+
# This file is part of KuberDock.
8+
#
9+
# KuberDock is free software; you can redistribute it and/or
10+
# modify it under the terms of the GNU General Public License
11+
# as published by the Free Software Foundation; either version 2
12+
# of the License, or (at your option) any later version.
13+
#
14+
# KuberDock is distributed in the hope that it will be useful,
15+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
# GNU General Public License for more details.
18+
#
19+
# You should have received a copy of the GNU General Public License
20+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
21+
#
222
build_number=${BUILD_NUMBER:-local_$(echo $RANDOM | tr '[0-9]' '[a-zA-Z]')}
323
project="appcloudunittest${build_number}"
424
compose="docker-compose -f unittest-compose.yml -p ${project}"

Diff for: backup_ceph.py

+20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4+
# KuberDock - is a platform that allows users to run applications using Docker
5+
# container images and create SaaS / PaaS based on these applications.
6+
# Copyright (C) 2017 Cloud Linux INC
7+
#
8+
# This file is part of KuberDock.
9+
#
10+
# KuberDock is free software; you can redistribute it and/or
11+
# modify it under the terms of the GNU General Public License
12+
# as published by the Free Software Foundation; either version 2
13+
# of the License, or (at your option) any later version.
14+
#
15+
# KuberDock is distributed in the hope that it will be useful,
16+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
# GNU General Public License for more details.
19+
#
20+
# You should have received a copy of the GNU General Public License
21+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
22+
23+
424
"""
525
STEP #0. Loading `rbd` kernel module.
626
STEP #1. Extracting secret key from keyring via `ceph-authtool`

Diff for: backup_master.py

+20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4+
# KuberDock - is a platform that allows users to run applications using Docker
5+
# container images and create SaaS / PaaS based on these applications.
6+
# Copyright (C) 2017 Cloud Linux INC
7+
#
8+
# This file is part of KuberDock.
9+
#
10+
# KuberDock is free software; you can redistribute it and/or
11+
# modify it under the terms of the GNU General Public License
12+
# as published by the Free Software Foundation; either version 2
13+
# of the License, or (at your option) any later version.
14+
#
15+
# KuberDock is distributed in the hope that it will be useful,
16+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
# GNU General Public License for more details.
19+
#
20+
# You should have received a copy of the GNU General Public License
21+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
22+
23+
424
import abc
525
import time
626
import argparse

Diff for: backup_node.py

+20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4+
# KuberDock - is a platform that allows users to run applications using Docker
5+
# container images and create SaaS / PaaS based on these applications.
6+
# Copyright (C) 2017 Cloud Linux INC
7+
#
8+
# This file is part of KuberDock.
9+
#
10+
# KuberDock is free software; you can redistribute it and/or
11+
# modify it under the terms of the GNU General Public License
12+
# as published by the Free Software Foundation; either version 2
13+
# of the License, or (at your option) any later version.
14+
#
15+
# KuberDock is distributed in the hope that it will be useful,
16+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
# GNU General Public License for more details.
19+
#
20+
# You should have received a copy of the GNU General Public License
21+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
22+
23+
424
"""
525
Node backup script
626
"""

Diff for: backup_node_merge.py

+20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4+
# KuberDock - is a platform that allows users to run applications using Docker
5+
# container images and create SaaS / PaaS based on these applications.
6+
# Copyright (C) 2017 Cloud Linux INC
7+
#
8+
# This file is part of KuberDock.
9+
#
10+
# KuberDock is free software; you can redistribute it and/or
11+
# modify it under the terms of the GNU General Public License
12+
# as published by the Free Software Foundation; either version 2
13+
# of the License, or (at your option) any later version.
14+
#
15+
# KuberDock is distributed in the hope that it will be useful,
16+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
# GNU General Public License for more details.
19+
#
20+
# You should have received a copy of the GNU General Public License
21+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
22+
23+
424
import os
525
import sys
626
import logging

Diff for: browser-shim.js

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
* KuberDock - is a platform that allows users to run applications using Docker
3+
* container images and create SaaS / PaaS based on these applications.
4+
* Copyright (C) 2017 Cloud Linux INC
5+
*
6+
* This file is part of KuberDock.
7+
*
8+
* KuberDock is free software; you can redistribute it and/or
9+
* modify it under the terms of the GNU General Public License
10+
* as published by the Free Software Foundation; either version 2
11+
* of the License, or (at your option) any later version.
12+
*
13+
* KuberDock is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU General Public License
19+
* along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
20+
*/
21+
122
(function(){
223

324
if (typeof Function.prototype.bind !== 'function') {

Diff for: ceph.py

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
2+
# KuberDock - is a platform that allows users to run applications using Docker
3+
# container images and create SaaS / PaaS based on these applications.
4+
# Copyright (C) 2017 Cloud Linux INC
5+
#
6+
# This file is part of KuberDock.
7+
#
8+
# KuberDock is free software; you can redistribute it and/or
9+
# modify it under the terms of the GNU General Public License
10+
# as published by the Free Software Foundation; either version 2
11+
# of the License, or (at your option) any later version.
12+
#
13+
# KuberDock is distributed in the hope that it will be useful,
14+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
# GNU General Public License for more details.
17+
#
18+
# You should have received a copy of the GNU General Public License
19+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
20+
121
import argparse
222
import os
323
import shutil

Diff for: ceph.sh

+20
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
#!/bin/bash
2+
#
3+
# KuberDock - is a platform that allows users to run applications using Docker
4+
# container images and create SaaS / PaaS based on these applications.
5+
# Copyright (C) 2017 Cloud Linux INC
6+
#
7+
# This file is part of KuberDock.
8+
#
9+
# KuberDock is free software; you can redistribute it and/or
10+
# modify it under the terms of the GNU General Public License
11+
# as published by the Free Software Foundation; either version 2
12+
# of the License, or (at your option) any later version.
13+
#
14+
# KuberDock is distributed in the hope that it will be useful,
15+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
# GNU General Public License for more details.
18+
#
19+
# You should have received a copy of the GNU General Public License
20+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
21+
#
222
# Script installs CEPH-client to a node. It is obsolete now, because CEPH
323
# client will be installed to node automatically, during node adding to KD
424
# cluster.

Diff for: ceph_install.sh

+20
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
#!/bin/bash
2+
#
3+
# KuberDock - is a platform that allows users to run applications using Docker
4+
# container images and create SaaS / PaaS based on these applications.
5+
# Copyright (C) 2017 Cloud Linux INC
6+
#
7+
# This file is part of KuberDock.
8+
#
9+
# KuberDock is free software; you can redistribute it and/or
10+
# modify it under the terms of the GNU General Public License
11+
# as published by the Free Software Foundation; either version 2
12+
# of the License, or (at your option) any later version.
13+
#
14+
# KuberDock is distributed in the hope that it will be useful,
15+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
# GNU General Public License for more details.
18+
#
19+
# You should have received a copy of the GNU General Public License
20+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
21+
#
222
# Install ceph components on Node host
323

424
echo "Set locale to en_US.UTF-8"

Diff for: deploy.sh

+20
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
#!/bin/bash
2+
#
3+
# KuberDock - is a platform that allows users to run applications using Docker
4+
# container images and create SaaS / PaaS based on these applications.
5+
# Copyright (C) 2017 Cloud Linux INC
6+
#
7+
# This file is part of KuberDock.
8+
#
9+
# KuberDock is free software; you can redistribute it and/or
10+
# modify it under the terms of the GNU General Public License
11+
# as published by the Free Software Foundation; either version 2
12+
# of the License, or (at your option) any later version.
13+
#
14+
# KuberDock is distributed in the hope that it will be useful,
15+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
# GNU General Public License for more details.
18+
#
19+
# You should have received a copy of the GNU General Public License
20+
# along with KuberDock; if not, see <http://www.gnu.org/licenses/>.
21+
#
222

323
KUBERDOCK_DIR=/var/opt/kuberdock
424
KUBERDOCK_LIB_DIR=/var/lib/kuberdock

0 commit comments

Comments
 (0)