Skip to content

Commit d96cf15

Browse files
authored
Removed check as ENV value not available
1 parent f432405 commit d96cf15

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.gitpod.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ github:
2020
tasks:
2121
- openMode: tab-after
2222
name: "Services"
23-
init: if [ "${INSTALL_MAGENTO}" = "YES" ]; then
24-
sudo chown -R gitpod:gitpod /home/gitpod/.config/composer;
25-
cd $GITPOD_REPO_ROOT &&
26-
composer config -g -a http-basic.repo.magento.com ${MAGENTO_COMPOSER_AUTH_USER} ${MAGENTO_COMPOSER_AUTH_PASS} &&
27-
composer create-project --no-interaction --no-progress --repository-url=https://repo.magento.com/ magento/project-community-edition=${MAGENTO_VERSION} magento2 &&
28-
cd magento2 && cp -avr .* $GITPOD_REPO_ROOT;
29-
cd $GITPOD_REPO_ROOT && rm -r -f magento2 && git checkout -- .gitignore;
30-
fi
23+
init: sudo chown -R gitpod:gitpod /home/gitpod/.config/composer;
24+
cd $GITPOD_REPO_ROOT &&
25+
composer config -g -a http-basic.repo.magento.com ${MAGENTO_COMPOSER_AUTH_USER} ${MAGENTO_COMPOSER_AUTH_PASS} &&
26+
composer create-project --no-interaction --no-progress --repository-url=https://repo.magento.com/ magento/project-community-edition=${MAGENTO_VERSION} magento2 &&
27+
cd magento2 && cp -avr .* $GITPOD_REPO_ROOT;
28+
cd $GITPOD_REPO_ROOT && rm -r -f magento2 && git checkout -- .gitignore;
3129
command: sudo sed -i 's#$GITPOD_REPO_ROOT#'$GITPOD_REPO_ROOT'#g' /etc/nginx/nginx.conf &&
3230
sudo sed -i 's#$GITPOD_REPO_ROOT#'$GITPOD_REPO_ROOT'#g' /etc/supervisor/conf.d/sp-php-fpm.conf &&
3331
sudo sed -i 's#$PHP_VERSION#'$PHP_VERSION'#g' /etc/supervisor/conf.d/sp-php-fpm.conf &&

0 commit comments

Comments
 (0)