Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: headers #9

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion base-notebook/resources/awscli/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

set -e

# AWS cli
Expand All @@ -8,4 +13,3 @@ unzip -q awscliv2.zip
./aws/install
rm -rf /opt/aws /opt/awscliv2.zip
pip install --quiet awscli-plugin-endpoint
layer-cleanup.sh
3 changes: 2 additions & 1 deletion base-notebook/resources/layer-cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
# Copyright 2020 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

apt-get autoclean --yes
apt-get autoremove --yes
Expand Down
4 changes: 4 additions & 0 deletions base-notebook/resources/nbproxy/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.
set -e

cp -r resources/nbproxy /opt/jupyter_proxy
Expand Down
3 changes: 2 additions & 1 deletion base-notebook/resources/nbproxy/jupyter_proxy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2020 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

"""
Return config on servers
Expand Down
3 changes: 2 additions & 1 deletion base-notebook/resources/nbproxy/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2020 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

import setuptools

Expand Down
4 changes: 4 additions & 0 deletions base-notebook/resources/vnc/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.
set -e

# noVNC setup
Expand Down
5 changes: 5 additions & 0 deletions base-notebook/resources/vnc/start-notebook-genvnctoken.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

# Generate token for VNC Server. VNC Server uses password of 8 char max.
export NOVNC_TOKEN=$(echo $(cat /proc/sys/kernel/random/uuid) | cut -c 1-8)

Expand Down
4 changes: 4 additions & 0 deletions base-notebook/resources/vscode/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.
set -e

# Code server setup
Expand Down
3 changes: 2 additions & 1 deletion base-notebook/resources/vscode/start-notebook-vscode.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
# Copyright 2022 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

# VSCode base extensions copy if not already set
export PATH=/opt/code-server/bin:$PATH
Expand Down
4 changes: 4 additions & 0 deletions merge-apt.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

# Check if at least two files are provided
if [ "$#" -lt 2 ]; then
Expand Down
6 changes: 5 additions & 1 deletion pangeo-notebook/resources/awscli/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

set -e

# AWS cli
Expand All @@ -8,4 +13,3 @@ unzip -q awscliv2.zip
./aws/install
rm -rf /opt/aws /opt/awscliv2.zip
pip install --quiet awscli-plugin-endpoint
layer-cleanup.sh
3 changes: 2 additions & 1 deletion pangeo-notebook/resources/layer-cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
# Copyright 2020 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

apt-get autoclean --yes
apt-get autoremove --yes
Expand Down
4 changes: 4 additions & 0 deletions pangeo-notebook/resources/nbproxy/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.
set -e

cp -r resources/nbproxy /opt/jupyter_proxy
Expand Down
3 changes: 2 additions & 1 deletion pangeo-notebook/resources/nbproxy/jupyter_proxy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2020 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

"""
Return config on servers
Expand Down
3 changes: 2 additions & 1 deletion pangeo-notebook/resources/nbproxy/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2020 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

import setuptools

Expand Down
4 changes: 4 additions & 0 deletions pangeo-notebook/resources/qgis/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.
set -e

# Libs
Expand Down
4 changes: 4 additions & 0 deletions pangeo-notebook/resources/vnc/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.
set -e

# noVNC setup
Expand Down
5 changes: 5 additions & 0 deletions pangeo-notebook/resources/vnc/start-notebook-genvnctoken.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

# Generate token for VNC Server. VNC Server uses password of 8 char max.
export NOVNC_TOKEN=$(echo $(cat /proc/sys/kernel/random/uuid) | cut -c 1-8)

Expand Down
4 changes: 4 additions & 0 deletions pangeo-notebook/resources/vscode/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.
set -e

# Code server setup
Expand Down
3 changes: 2 additions & 1 deletion pangeo-notebook/resources/vscode/start-notebook-vscode.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
# Copyright 2022 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

# VSCode base extensions copy if not already set
export PATH=/opt/code-server/bin:$PATH
Expand Down
6 changes: 5 additions & 1 deletion pytorch-notebook/resources/awscli/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

set -e

# AWS cli
Expand All @@ -8,4 +13,3 @@ unzip -q awscliv2.zip
./aws/install
rm -rf /opt/aws /opt/awscliv2.zip
pip install --quiet awscli-plugin-endpoint
layer-cleanup.sh
3 changes: 2 additions & 1 deletion pytorch-notebook/resources/layer-cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
# Copyright 2020 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

apt-get autoclean --yes
apt-get autoremove --yes
Expand Down
4 changes: 4 additions & 0 deletions pytorch-notebook/resources/nbproxy/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.
set -e

cp -r resources/nbproxy /opt/jupyter_proxy
Expand Down
3 changes: 2 additions & 1 deletion pytorch-notebook/resources/nbproxy/jupyter_proxy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2020 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

"""
Return config on servers
Expand Down

This file was deleted.

3 changes: 2 additions & 1 deletion pytorch-notebook/resources/nbproxy/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2020 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

import setuptools

Expand Down
4 changes: 4 additions & 0 deletions pytorch-notebook/resources/qgis/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.
set -e

# Libs
Expand Down
4 changes: 4 additions & 0 deletions pytorch-notebook/resources/vnc/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.
set -e

# noVNC setup
Expand Down
5 changes: 5 additions & 0 deletions pytorch-notebook/resources/vnc/start-notebook-genvnctoken.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

# Generate token for VNC Server. VNC Server uses password of 8 char max.
export NOVNC_TOKEN=$(echo $(cat /proc/sys/kernel/random/uuid) | cut -c 1-8)

Expand Down
4 changes: 4 additions & 0 deletions pytorch-notebook/resources/vscode/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# Copyright 2024 CNES - https://cnes.fr
# All rights reserved
# This file is provided under MIT license. See LICENSE file.
set -e

# Code server setup
Expand Down
3 changes: 2 additions & 1 deletion pytorch-notebook/resources/vscode/start-notebook-vscode.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
# Copyright 2022 CS GROUP - France, http://www.c-s.fr
# Copyright 2024 CS GROUP - https://www.csgroup.eu
# All rights reserved
# This file is provided under MIT license. See LICENSE file.

# VSCode base extensions copy if not already set
export PATH=/opt/code-server/bin:$PATH
Expand Down
Loading