Skip to content
Open

Garm #1416

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
82ce08f
Garm
tobiasKaminsky Apr 4, 2024
6a7d5ed
Garm
tobiasKaminsky Apr 4, 2024
ed63f1b
Garm
tobiasKaminsky Apr 4, 2024
53a05a9
Garm
tobiasKaminsky Apr 4, 2024
a7e8177
Garm
tobiasKaminsky Apr 4, 2024
dee86e2
Garm
tobiasKaminsky Apr 4, 2024
f35e1b3
Garm
tobiasKaminsky Apr 4, 2024
1ecbeec
Garm
tobiasKaminsky Apr 4, 2024
2f8d7cc
config
tobiasKaminsky Apr 5, 2024
ba5d571
config
tobiasKaminsky Apr 5, 2024
4e301bc
docker ps
tobiasKaminsky Apr 5, 2024
d614055
server
tobiasKaminsky Apr 5, 2024
9c363b1
script
tobiasKaminsky Apr 5, 2024
729e371
script
tobiasKaminsky Apr 5, 2024
f37aa5d
script
tobiasKaminsky Apr 5, 2024
d787253
script
tobiasKaminsky Apr 5, 2024
12529a9
script
tobiasKaminsky Apr 5, 2024
78e1f55
script
tobiasKaminsky Apr 5, 2024
36a397b
script
tobiasKaminsky Apr 5, 2024
467ac8f
wip
tobiasKaminsky Apr 19, 2024
54ca1f7
let one test fail
tobiasKaminsky Apr 19, 2024
c002677
use script
tobiasKaminsky Apr 19, 2024
cfa6d0e
use stable27 and master
tobiasKaminsky Apr 26, 2024
0188e7f
wip
tobiasKaminsky Apr 26, 2024
131c8e6
force new install
tobiasKaminsky Apr 26, 2024
54368be
wip
tobiasKaminsky Apr 26, 2024
bf5faeb
wip
tobiasKaminsky Apr 26, 2024
aff0068
wip
tobiasKaminsky Apr 26, 2024
9f5b8f5
wip
tobiasKaminsky Apr 26, 2024
4ea65b5
also test with api 15
tobiasKaminsky Apr 26, 2024
7733548
api 16
tobiasKaminsky Apr 26, 2024
fead7a9
nc16
tobiasKaminsky Apr 26, 2024
4ed7d07
nc16
tobiasKaminsky Apr 26, 2024
c9518ab
wip
tobiasKaminsky Apr 26, 2024
537a45d
wip
tobiasKaminsky Apr 26, 2024
a7dd66c
wip
tobiasKaminsky Apr 29, 2024
3888e27
wip
tobiasKaminsky Apr 29, 2024
9bd96fd
wip
tobiasKaminsky Apr 29, 2024
6a2ba95
wip
tobiasKaminsky Jun 20, 2024
79e0ff8
try ubuntu-latest
tobiasKaminsky Oct 31, 2024
e987ef8
no kvm
tobiasKaminsky Oct 31, 2024
857c612
no kvm
tobiasKaminsky Oct 31, 2024
aae9542
re-enable kvm
tobiasKaminsky Oct 31, 2024
beff5fd
again no kvm
tobiasKaminsky Oct 31, 2024
044e3cb
debug kvm
SystemKeeper Oct 31, 2024
82a97a3
no ping
SystemKeeper Oct 31, 2024
beb5291
sudo
SystemKeeper Oct 31, 2024
1f4c0af
update action
SystemKeeper Oct 31, 2024
5adae75
put together
SystemKeeper Oct 31, 2024
240fe39
wip
tobiasKaminsky Nov 1, 2024
8edb032
env sdk
SystemKeeper Nov 1, 2024
38e8067
no avd
SystemKeeper Nov 1, 2024
0df6fc3
debug run
SystemKeeper Nov 1, 2024
df955a2
gradle
SystemKeeper Nov 1, 2024
68e40d3
jdk and path
SystemKeeper Nov 1, 2024
f431963
env
SystemKeeper Nov 1, 2024
23bd955
env
SystemKeeper Nov 1, 2024
399266f
wip
tobiasKaminsky Nov 1, 2024
5bef202
wip
tobiasKaminsky Nov 1, 2024
eafdcd4
add services again
SystemKeeper Nov 1, 2024
165f167
use API 27
tobiasKaminsky Nov 6, 2024
866e5dc
change order
tobiasKaminsky Nov 6, 2024
3f15f50
test on stable30
tobiasKaminsky Nov 6, 2024
e8a91aa
test on stable30
tobiasKaminsky Nov 6, 2024
edfb8d4
use master server
tobiasKaminsky Feb 5, 2026
86d30c8
baklava
tobiasKaminsky Feb 5, 2026
c3208a8
api 35
tobiasKaminsky Feb 5, 2026
838d7b8
latest emulator
tobiasKaminsky Feb 5, 2026
eea2a4c
30
tobiasKaminsky Feb 5, 2026
c13c542
wip
tobiasKaminsky Feb 5, 2026
2e02703
wip
tobiasKaminsky Feb 5, 2026
fb243c7
wip
tobiasKaminsky Feb 5, 2026
1564387
test
tobiasKaminsky Feb 5, 2026
6f8c8b1
delete old tests
tobiasKaminsky Feb 5, 2026
aaa6557
wip
tobiasKaminsky Feb 24, 2026
65b623a
test api29
tobiasKaminsky Mar 3, 2026
469a302
use only github_token
tobiasKaminsky Mar 5, 2026
1e62185
use only github_token
tobiasKaminsky Mar 5, 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.
77 changes: 0 additions & 77 deletions .github/workflows/analysis.yml

This file was deleted.

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

This file was deleted.

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

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



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 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 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 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 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 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 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 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/
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 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 master https://github.com/nextcloud/recommendations.git /var/www/html/apps/recommendations/
php /var/www/html/occ app:enable -f recommendations

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

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

SERVER_VERSION="stable16"

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 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 https://github.com/nextcloud/text.git /var/www/html/apps/text/
php /var/www/html/occ app:enable text

php /var/www/html/occ app:enable end_to_end_encryption

git clone --depth=1 -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}}"

php /var/www/html/occ app:enable groupfolders
php /var/www/html/occ groupfolders:create groupfolder
php /var/www/html/occ groupfolders:group 1 users

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

php /var/www/html/occ app:enable testing
62 changes: 62 additions & 0 deletions .github/workflows/configNC_stable30.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
11 changes: 11 additions & 0 deletions .github/workflows/configServer16.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

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

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

This file was deleted.

Loading
Loading