|
81 | 81 | - cd /var/www/ |
82 | 82 | - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html |
83 | 83 | - cd /var/www/html && git submodule update --init |
84 | | - - cd /var/www/html/apps/ && git clone -b $DRONE_SOURCE_BRANCH https://github.com/nextcloud/user_saml.git |
| 84 | + # use local clone |
| 85 | + - cp -r /drone/src /var/www/html/apps/user_saml |
85 | 86 | - scl enable rh-php72 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'" |
86 | 87 | - chown -R apache:apache /var/www/html/ |
87 | 88 | - scl enable rh-php72 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" |
@@ -125,7 +126,8 @@ steps: |
125 | 126 | - cd /var/www/ |
126 | 127 | - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html |
127 | 128 | - cd /var/www/html && git submodule update --init |
128 | | - - cd /var/www/html/apps/ && git clone -b $DRONE_SOURCE_BRANCH https://github.com/nextcloud/user_saml.git |
| 129 | + # use local clone |
| 130 | + - cp -r /drone/src /var/www/html/apps/user_saml |
129 | 131 | - scl enable rh-php72 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'" |
130 | 132 | - chown -R apache:apache /var/www/html/ |
131 | 133 | - scl enable rh-php72 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" |
@@ -168,7 +170,8 @@ steps: |
168 | 170 | - cd /var/www/ |
169 | 171 | - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html |
170 | 172 | - cd /var/www/html && git submodule update --init |
171 | | - - cd /var/www/html/apps/ && git clone -b $DRONE_SOURCE_BRANCH https://github.com/nextcloud/user_saml.git |
| 173 | + # use local clone |
| 174 | + - cp -r /drone/src /var/www/html/apps/user_saml |
172 | 175 | - scl enable rh-php70 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'" |
173 | 176 | - chown -R apache:apache /var/www/html/ |
174 | 177 | - scl enable rh-php70 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" |
@@ -211,7 +214,8 @@ steps: |
211 | 214 | - cd /var/www/ |
212 | 215 | - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server html |
213 | 216 | - cd /var/www/html && git submodule update --init |
214 | | - - cd /var/www/html/apps/ && git clone -b $DRONE_SOURCE_BRANCH https://github.com/nextcloud/user_saml.git |
| 217 | + # use local clone |
| 218 | + - cp -r /drone/src /var/www/html/apps/user_saml |
215 | 219 | - scl enable rh-php70 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'" |
216 | 220 | - chown -R apache:apache /var/www/html/ |
217 | 221 | - scl enable rh-php70 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'" |
|
0 commit comments