Skip to content
Open

Garm #1416

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
bb8a473
Garm
tobiasKaminsky Apr 4, 2024
d8c2003
Garm
tobiasKaminsky Apr 4, 2024
910e83e
Garm
tobiasKaminsky Apr 4, 2024
d9625d0
Garm
tobiasKaminsky Apr 4, 2024
5b3e527
Garm
tobiasKaminsky Apr 4, 2024
79a406b
Garm
tobiasKaminsky Apr 4, 2024
09346bd
Garm
tobiasKaminsky Apr 4, 2024
3dbea13
Garm
tobiasKaminsky Apr 4, 2024
fad27f3
config
tobiasKaminsky Apr 5, 2024
8bd10e0
config
tobiasKaminsky Apr 5, 2024
402950d
docker ps
tobiasKaminsky Apr 5, 2024
a929d11
server
tobiasKaminsky Apr 5, 2024
bae26d5
script
tobiasKaminsky Apr 5, 2024
53cca87
script
tobiasKaminsky Apr 5, 2024
cf38633
script
tobiasKaminsky Apr 5, 2024
6e6b9f2
script
tobiasKaminsky Apr 5, 2024
bebec5f
script
tobiasKaminsky Apr 5, 2024
bdce3a8
script
tobiasKaminsky Apr 5, 2024
adb7e88
script
tobiasKaminsky Apr 5, 2024
62453cf
wip
tobiasKaminsky Apr 19, 2024
7a71c57
let one test fail
tobiasKaminsky Apr 19, 2024
33eee25
use script
tobiasKaminsky Apr 19, 2024
b0e67f4
use stable27 and master
tobiasKaminsky Apr 26, 2024
f8b7a6c
wip
tobiasKaminsky Apr 26, 2024
870dd89
force new install
tobiasKaminsky Apr 26, 2024
6d15917
wip
tobiasKaminsky Apr 26, 2024
f457771
wip
tobiasKaminsky Apr 26, 2024
65ba398
wip
tobiasKaminsky Apr 26, 2024
3e47ad8
wip
tobiasKaminsky Apr 26, 2024
4df9336
also test with api 15
tobiasKaminsky Apr 26, 2024
bce2d75
api 16
tobiasKaminsky Apr 26, 2024
a29932e
nc16
tobiasKaminsky Apr 26, 2024
ed298ae
nc16
tobiasKaminsky Apr 26, 2024
97c524a
wip
tobiasKaminsky Apr 26, 2024
bab170a
wip
tobiasKaminsky Apr 26, 2024
dd79c1a
wip
tobiasKaminsky Apr 29, 2024
01cc92a
wip
tobiasKaminsky Apr 29, 2024
49cd1b5
wip
tobiasKaminsky Apr 29, 2024
40ee4ae
wip
tobiasKaminsky Jun 20, 2024
e852479
try ubuntu-latest
tobiasKaminsky Oct 31, 2024
06d5f70
no kvm
tobiasKaminsky Oct 31, 2024
f9d8475
no kvm
tobiasKaminsky Oct 31, 2024
8a3d0d7
re-enable kvm
tobiasKaminsky Oct 31, 2024
bc1f1d6
again no kvm
tobiasKaminsky Oct 31, 2024
bf2c66e
debug kvm
SystemKeeper Oct 31, 2024
fa95e55
no ping
SystemKeeper Oct 31, 2024
3ffddde
sudo
SystemKeeper Oct 31, 2024
a3846d7
update action
SystemKeeper Oct 31, 2024
8d13fc1
put together
SystemKeeper Oct 31, 2024
052e1a4
wip
tobiasKaminsky Nov 1, 2024
792b1ef
env sdk
SystemKeeper Nov 1, 2024
1bfd6db
no avd
SystemKeeper Nov 1, 2024
70a5f9d
debug run
SystemKeeper Nov 1, 2024
8b6651d
gradle
SystemKeeper Nov 1, 2024
e190eec
jdk and path
SystemKeeper Nov 1, 2024
c52766b
env
SystemKeeper Nov 1, 2024
b38f822
env
SystemKeeper Nov 1, 2024
1545038
wip
tobiasKaminsky Nov 1, 2024
6a245a8
wip
tobiasKaminsky Nov 1, 2024
3686159
add services again
SystemKeeper Nov 1, 2024
2025afe
use API 27
tobiasKaminsky Nov 6, 2024
fd41306
change order
tobiasKaminsky Nov 6, 2024
122ea95
test on stable30
tobiasKaminsky Nov 6, 2024
d43fb4d
test on stable30
tobiasKaminsky Nov 6, 2024
ea01025
use master server
tobiasKaminsky Feb 5, 2026
013f42d
baklava
tobiasKaminsky Feb 5, 2026
6cd42d0
api 35
tobiasKaminsky Feb 5, 2026
15ee3c3
latest emulator
tobiasKaminsky Feb 5, 2026
06b4c45
30
tobiasKaminsky Feb 5, 2026
21674e2
wip
tobiasKaminsky Feb 5, 2026
581eef4
wip
tobiasKaminsky Feb 5, 2026
f002b92
wip
tobiasKaminsky Feb 5, 2026
7f178e8
test
tobiasKaminsky Feb 5, 2026
63fac4f
delete old tests
tobiasKaminsky Feb 5, 2026
4f853fc
wip
tobiasKaminsky Feb 24, 2026
0c305c6
test api29
tobiasKaminsky Mar 3, 2026
d8bee62
use only github_token
tobiasKaminsky Mar 5, 2026
2040ff5
use only github_token
tobiasKaminsky Mar 5, 2026
cba352e
wip
tobiasKaminsky May 8, 2026
87af32c
wip
tobiasKaminsky May 8, 2026
c5e3c33
wip
tobiasKaminsky May 8, 2026
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
File renamed without changes.
76 changes: 0 additions & 76 deletions .github/workflows/analysis.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/autoApproveSync.yml

This file was deleted.

85 changes: 85 additions & 0 deletions .github/workflows/configNC_master.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
#!/bin/sh

# Nextcloud Android Library
#
# SPDX-FileCopyrightText: 2024 Your Name <your@email.com>
# SPDX-License-Identifier: MIT
#

if [ $1 = "master" ]; then
SERVER_VERSION_MAIN="main"
SERVER_VERSION_MASTER="master"
else
SERVER_VERSION_MAIN=$1
SERVER_VERSION_MASTER=$1
fi

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

source ~/.bashrc; nvm install node

php /var/www/html/occ log:manage --level warning

OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1
OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2
OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3
OC_PASS=test php /var/www/html/occ user:add --password-from-env --display-name='Test@Test' test@test
OC_PASS=test php /var/www/html/occ user:add --password-from-env --display-name='Test Spaces' 'test test'
php /var/www/html/occ user:setting user2 files quota 1G
php /var/www/html/occ group:add users
php /var/www/html/occ group:adduser users user1
php /var/www/html/occ group:adduser users user2
php /var/www/html/occ group:adduser users test

git clone --depth=1 -b SERVER_VERSION_MASTER https://github.com/nextcloud/activity.git /var/www/html/apps/activity/
php /var/www/html/occ app:enable activity

git clone --depth=1 -b $SERVER_VERSION_MAIN https://github.com/nextcloud/text.git /var/www/html/apps/text/
php /var/www/html/occ app:enable text

git clone --depth=1 -b SERVER_VERSION_MASTER https://github.com/nextcloud/end_to_end_encryption/ /var/www/html/apps/end_to_end_encryption/
php /var/www/html/occ app:enable end_to_end_encryption

git clone --depth=1 -b SERVER_VERSION_MASTER https://github.com/nextcloud/password_policy/ /var/www/html/apps/password_policy/
php /var/www/html/occ app:enable password_policy

git clone --depth=1 -b SERVER_VERSION_MASTER https://github.com/nextcloud/external/ /var/www/html/apps/external/
cd /var/www/html/apps/external; composer install --no-dev
php /var/www/html/occ app:enable external
php /var/www/html/occ config:app:set external sites --value="{\"1\":{\"id\":1,\"name\":\"Nextcloud\",\"url\":\"https:\/\/www.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false},\"2\":{\"id\":2,\"name\":\"Forum\",\"url\":\"https:\/\/help.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false}}"

git clone --depth=1 -b $SERVER_VERSION_MAIN https://github.com/nextcloud/files_lock.git /var/www/html/apps/files_lock/
php /var/www/html/occ app:enable -f files_lock

git clone --depth=1 -b $SERVER_VERSION https://github.com/nextcloud/groupfolders.git /var/www/html/apps/groupfolders/
php /var/www/html/occ app:enable -f groupfolders
php /var/www/html/occ groupfolders:create groupfolder
php /var/www/html/occ groupfolders:group 1 users

git clone --depth=1 https://github.com/nextcloud/notifications.git /var/www/html/apps/notifications/
cd /var/www/html/apps/notifications; composer install --no-dev
php /var/www/html/occ app:enable -f notifications
php /var/www/html/occ notification:generate test -d test

git clone --depth=1 https://github.com/nextcloud/photos.git /var/www/html/apps/photos/
cd /var/www/html/apps/photos; composer install --no-dev
php /var/www/html/occ app:enable -f photos

git clone --depth=1 https://github.com/nextcloud/assistant.git /var/www/html/apps/assistant/
cd /var/www/html/apps/assistant; source ~/.bashrc; make
php /var/www/html/occ app:enable -f assistant

php /var/www/html/occ app:enable -f testing

git clone --depth 1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/files_downloadlimit.git /var/www/html/apps/files_downloadlimit/
php /var/www/html/occ app:enable -f files_downloadlimit

git clone --depth 1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/recommendations.git /var/www/html/apps/recommendations/
php /var/www/html/occ app:enable -f recommendations

git clone --depth 1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/viewer.git /var/www/html/apps/viewer/
php /var/www/html/occ app:enable -f viewer

php /var/www/html/occ config:system:set ratelimit.protection.enabled --value false --type bool
62 changes: 62 additions & 0 deletions .github/workflows/configNC_stable22.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#!/bin/sh

# Nextcloud Android Library
#
# SPDX-FileCopyrightText: 2024 Your Name <your@email.com>
# SPDX-License-Identifier: MIT
#

SERVER_VERSION="stable22"

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
source ~/.bashrc; nvm install node

php /var/www/html/occ log:manage --level warning

OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1
OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2
OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3
OC_PASS=test php /var/www/html/occ user:add --password-from-env --display-name='Test@Test' test@test
OC_PASS=test php /var/www/html/occ user:add --password-from-env --display-name='Test Spaces' 'test test'
php /var/www/html/occ user:setting user2 files quota 1G
php /var/www/html/occ group:add users
php /var/www/html/occ group:adduser users user1
php /var/www/html/occ group:adduser users user2
php /var/www/html/occ group:adduser users test

git clone -b $SERVER_VERSION https://github.com/nextcloud/activity.git /var/www/html/apps/activity/
php /var/www/html/occ app:enable activity

git clone -b $SERVER_VERSION https://github.com/nextcloud/text.git /var/www/html/apps/text/
php /var/www/html/occ app:enable text

git clone -b $SERVER_VERSION https://github.com/nextcloud/end_to_end_encryption/ /var/www/html/apps/end_to_end_encryption/
php /var/www/html/occ app:enable end_to_end_encryption

git clone -b $SERVER_VERSION https://github.com/nextcloud/password_policy/ /var/www/html/apps/password_policy/
php /var/www/html/occ app:enable password_policy

php /var/www/html/occ app:enable external
php /var/www/html/occ config:app:set external sites --value="{\"1\":{\"id\":1,\"name\":\"Nextcloud\",\"url\":\"https:\/\/www.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false},\"2\":{\"id\":2,\"name\":\"Forum\",\"url\":\"https:\/\/help.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false}}"

git clone -b $SERVER_VERSION https://github.com/nextcloud/files_lock.git /var/www/html/apps/files_lock/
php /var/www/html/occ app:enable -f files_lock

git clone -b $SERVER_VERSION https://github.com/nextcloud/groupfolders.git /var/www/html/apps/groupfolders/
php /var/www/html/occ app:enable -f groupfolders
php /var/www/html/occ groupfolders:create groupfolder
php /var/www/html/occ groupfolders:group 1 users

git clone -b $SERVER_VERSION https://github.com/nextcloud/notifications.git /var/www/html/apps/notifications/
php /var/www/html/occ app:enable -f notifications
php /var/www/html/occ notification:generate test -d test

git clone -b $SERVER_VERSION https://github.com/nextcloud/photos.git /var/www/html/apps/photos/
cd /var/www/html/apps/photos; composer install --no-dev
php /var/www/html/occ app:enable -f photos

git clone https://github.com/nextcloud/assistant.git /var/www/html/apps/assistant/
cd /var/www/html/apps/assistant; git checkout tags/v1.0.8; source ~/.bashrc; npm run build; composer install --no-dev
php /var/www/html/occ app:enable -f assistant

php /var/www/html/occ app:enable -f testing
62 changes: 62 additions & 0 deletions .github/workflows/configNC_stable33.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#!/bin/sh

# Nextcloud Android Library
#
# SPDX-FileCopyrightText: 2024 Your Name <your@email.com>
# SPDX-License-Identifier: MIT
#

SERVER_VERSION="stable30"

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
source ~/.bashrc; nvm install node

php /var/www/html/occ log:manage --level warning

OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1
OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2
OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3
OC_PASS=test php /var/www/html/occ user:add --password-from-env --display-name='Test@Test' test@test
OC_PASS=test php /var/www/html/occ user:add --password-from-env --display-name='Test Spaces' 'test test'
php /var/www/html/occ user:setting user2 files quota 1G
php /var/www/html/occ group:add users
php /var/www/html/occ group:adduser users user1
php /var/www/html/occ group:adduser users user2
php /var/www/html/occ group:adduser users test

git clone -b $SERVER_VERSION https://github.com/nextcloud/activity.git /var/www/html/apps/activity/
php /var/www/html/occ app:enable activity

git clone -b $SERVER_VERSION https://github.com/nextcloud/text.git /var/www/html/apps/text/
php /var/www/html/occ app:enable text

git clone -b $SERVER_VERSION https://github.com/nextcloud/end_to_end_encryption/ /var/www/html/apps/end_to_end_encryption/
php /var/www/html/occ app:enable end_to_end_encryption

git clone -b $SERVER_VERSION https://github.com/nextcloud/password_policy/ /var/www/html/apps/password_policy/
php /var/www/html/occ app:enable password_policy

php /var/www/html/occ app:enable external
php /var/www/html/occ config:app:set external sites --value="{\"1\":{\"id\":1,\"name\":\"Nextcloud\",\"url\":\"https:\/\/www.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false},\"2\":{\"id\":2,\"name\":\"Forum\",\"url\":\"https:\/\/help.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false}}"

git clone -b $SERVER_VERSION https://github.com/nextcloud/files_lock.git /var/www/html/apps/files_lock/
php /var/www/html/occ app:enable -f files_lock

git clone -b $SERVER_VERSION https://github.com/nextcloud/groupfolders.git /var/www/html/apps/groupfolders/
php /var/www/html/occ app:enable -f groupfolders
php /var/www/html/occ groupfolders:create groupfolder
php /var/www/html/occ groupfolders:group 1 users

git clone -b $SERVER_VERSION https://github.com/nextcloud/notifications.git /var/www/html/apps/notifications/
php /var/www/html/occ app:enable -f notifications
php /var/www/html/occ notification:generate test -d test

git clone -b $SERVER_VERSION https://github.com/nextcloud/photos.git /var/www/html/apps/photos/
cd /var/www/html/apps/photos; composer install --no-dev
php /var/www/html/occ app:enable -f photos

git clone https://github.com/nextcloud/assistant.git /var/www/html/apps/assistant/
cd /var/www/html/apps/assistant; git checkout tags/v1.0.8; source ~/.bashrc; npm run build; composer install --no-dev
php /var/www/html/occ app:enable -f assistant

php /var/www/html/occ app:enable -f testing
17 changes: 17 additions & 0 deletions .github/workflows/configServer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh

# Nextcloud Android Library
#
# SPDX-FileCopyrightText: 2024 Your Name <your@email.com>
# SPDX-License-Identifier: MIT
#

wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
apt-get update && apt-get install -y composer
mkdir /var/www/.nvm /var/www/.npm
touch /var/www/.bashrc
chown -R 33:33 /var/www/.nvm /var/www/.npm /var/www/.bashrc

rm data -rf
rm config/config.php
BRANCH="$1" /usr/local/bin/initnc.sh
43 changes: 0 additions & 43 deletions .github/workflows/detectNewJavaFiles.yml

This file was deleted.

Loading
Loading