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

Garm #1416

Open
wants to merge 65 commits into
base: master
Choose a base branch
from
Open

Garm #1416

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
9978f6d
Garm
tobiasKaminsky Apr 4, 2024
06941cb
Garm
tobiasKaminsky Apr 4, 2024
d5db8d4
Garm
tobiasKaminsky Apr 4, 2024
7496034
Garm
tobiasKaminsky Apr 4, 2024
8d2ce5f
Garm
tobiasKaminsky Apr 4, 2024
275677f
Garm
tobiasKaminsky Apr 4, 2024
7c12286
Garm
tobiasKaminsky Apr 4, 2024
efdb9a9
Garm
tobiasKaminsky Apr 4, 2024
41da1d6
config
tobiasKaminsky Apr 5, 2024
f311234
config
tobiasKaminsky Apr 5, 2024
9ca909c
docker ps
tobiasKaminsky Apr 5, 2024
43f6413
server
tobiasKaminsky Apr 5, 2024
23e8fe0
script
tobiasKaminsky Apr 5, 2024
fe4889e
script
tobiasKaminsky Apr 5, 2024
0a106ef
script
tobiasKaminsky Apr 5, 2024
2e7ba5b
script
tobiasKaminsky Apr 5, 2024
48b38b4
script
tobiasKaminsky Apr 5, 2024
e794bff
script
tobiasKaminsky Apr 5, 2024
a4abc5e
script
tobiasKaminsky Apr 5, 2024
e34aac3
wip
tobiasKaminsky Apr 19, 2024
61df5da
let one test fail
tobiasKaminsky Apr 19, 2024
fa7e067
use script
tobiasKaminsky Apr 19, 2024
cd13f89
use stable27 and master
tobiasKaminsky Apr 26, 2024
223fb74
wip
tobiasKaminsky Apr 26, 2024
ac763c8
force new install
tobiasKaminsky Apr 26, 2024
d38c47d
wip
tobiasKaminsky Apr 26, 2024
bebfe8a
wip
tobiasKaminsky Apr 26, 2024
a1ecf7d
wip
tobiasKaminsky Apr 26, 2024
b9a5e4a
wip
tobiasKaminsky Apr 26, 2024
f3009d8
also test with api 15
tobiasKaminsky Apr 26, 2024
72a896f
api 16
tobiasKaminsky Apr 26, 2024
f378eef
nc16
tobiasKaminsky Apr 26, 2024
dc0cfcf
nc16
tobiasKaminsky Apr 26, 2024
362a530
wip
tobiasKaminsky Apr 26, 2024
ec46c8f
wip
tobiasKaminsky Apr 26, 2024
447ee2f
wip
tobiasKaminsky Apr 29, 2024
161e328
wip
tobiasKaminsky Apr 29, 2024
6595945
wip
tobiasKaminsky Apr 29, 2024
4366f11
wip
tobiasKaminsky Jun 20, 2024
de29d73
try ubuntu-latest
tobiasKaminsky Oct 31, 2024
9742f4a
no kvm
tobiasKaminsky Oct 31, 2024
2c65887
no kvm
tobiasKaminsky Oct 31, 2024
abe7036
re-enable kvm
tobiasKaminsky Oct 31, 2024
54e82e2
again no kvm
tobiasKaminsky Oct 31, 2024
079f1ee
debug kvm
SystemKeeper Oct 31, 2024
8d38410
no ping
SystemKeeper Oct 31, 2024
7333170
sudo
SystemKeeper Oct 31, 2024
e7ec67e
update action
SystemKeeper Oct 31, 2024
4cc5733
put together
SystemKeeper Oct 31, 2024
8e32bec
wip
tobiasKaminsky Nov 1, 2024
0d4394c
env sdk
SystemKeeper Nov 1, 2024
9615c0b
no avd
SystemKeeper Nov 1, 2024
a118373
debug run
SystemKeeper Nov 1, 2024
66e7d0f
gradle
SystemKeeper Nov 1, 2024
627f68a
gradle
SystemKeeper Nov 1, 2024
c7b35fc
jdk and path
SystemKeeper Nov 1, 2024
a594023
env
SystemKeeper Nov 1, 2024
05a905b
env
SystemKeeper Nov 1, 2024
cdf247d
wip
tobiasKaminsky Nov 1, 2024
fab268d
wip
tobiasKaminsky Nov 1, 2024
3ab47cf
add services again
SystemKeeper Nov 1, 2024
9114774
use API 27
tobiasKaminsky Nov 6, 2024
d6d7d87
change order
tobiasKaminsky Nov 6, 2024
dcdbebf
test on stable30
tobiasKaminsky Nov 6, 2024
2ca1fe3
test on stable30
tobiasKaminsky Nov 6, 2024
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
65 changes: 0 additions & 65 deletions .github/workflows/analysis.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/assemble.yml

This file was deleted.

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

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/check.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/codeql.yml

This file was deleted.

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

# Nextcloud Android Library
#
# SPDX-FileCopyrightText: 2024 Your Name <[email protected]>
# 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
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 <[email protected]>
# 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
Loading
Loading