|
34 | 34 | with: |
35 | 35 | path: integration_openproject |
36 | 36 | fetch-tags: true |
37 | | - ref: v2.9.2 |
| 37 | + ref: v2.10.0 |
38 | 38 |
|
| 39 | + - name: Checkout |
| 40 | + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 |
| 41 | + with: |
| 42 | + repository: nextcloud/activity |
| 43 | + ref: stable29 |
| 44 | + path: activity |
| 45 | + |
39 | 46 | - name: Setup NodeJS |
40 | 47 | uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 |
41 | 48 | with: |
@@ -139,28 +146,38 @@ jobs: |
139 | 146 | wget https://raw.githubusercontent.com/nextcloud/integration_openproject/${{github.head_ref}}/.github/scripts/self-hosted-app-store.sh |
140 | 147 | bash ./self-hosted-app-store.sh |
141 | 148 |
|
142 | | - - name: Register and publish groupfolders apps |
143 | | - env: |
144 | | - APP_ID: groupfolders |
145 | | - APP_VERSION: 17.0.15 |
146 | | - SIGNATURE: signature1 |
| 149 | + # - name: Register and publish groupfolders apps |
| 150 | + # env: |
| 151 | + # APP_ID: groupfolders |
| 152 | + # APP_VERSION: 17.0.15 |
| 153 | + # SIGNATURE: signature1 |
| 154 | + # run: | |
| 155 | + # bash ./self-hosted-app-store.sh |
| 156 | + |
| 157 | + # - name: Setup Debug Session |
| 158 | + # uses: csexton/debugger-action@master |
| 159 | + |
| 160 | + - name: Enable other apps from official app store |
147 | 161 | run: | |
148 | | - bash ./self-hosted-app-store.sh |
| 162 | + cp -R activity ~/html/nextcloud/apps |
| 163 | + cd ~/html/nextcloud |
| 164 | + php occ app:enable oidc user_oidc groupfolders activity |
149 | 165 |
|
150 | | - - name: Configure Nextcloud for testing |
| 166 | + - name: Enable integration_openproject app from self-hosted app store |
151 | 167 | run: | |
152 | 168 | # making the signature verification always pass for testing |
153 | 169 | # by making the $verified variable true in Installer.php |
154 | 170 | sed -i.bak 's/$verified = .*/$verified = true;/' /home/runner/html/nextcloud/lib/private/Installer.php || { |
155 | 171 | echo "::error::Failed to patch Installer.php with sed" |
156 | 172 | exit 1 |
157 | 173 | } |
| 174 | + # latest data didn't get fetched properly, so we need to clear the appstore cache |
| 175 | + echo "" > ~/html/nextcloud/data/appdata_*/appstore/apps.json |
158 | 176 | cd ~/html/nextcloud |
159 | 177 | php occ config:system:set ratelimit.protection.enabled --value false --type bool |
160 | 178 | php occ config:system:set appstoreurl --value http://localhost:8000/api/v1 |
161 | 179 | php occ config:system:set allow_local_remote_servers --value true |
162 | 180 | php occ app:install integration_openproject |
163 | | - php occ app:install groupfolders |
164 | 181 |
|
165 | 182 | - name: Register and publish next release of the app |
166 | 183 | env: |
|
0 commit comments