[SUCS Devel] [Git][sucssite/sucs-site][beta] 8 commits: Switch to using debian jessie docker image

Imran Hussain imranh at sucs.org
Fri Jun 30 13:16:54 BST 2017


Imran Hussain pushed to branch beta at sucssite / sucs-site


Commits:
c0a4eedb by Imran Hussain at 2017-06-30T13:17:02+01:00
Switch to using debian jessie docker image

- - - - -
2fb3504b by Imran Hussain at 2017-06-30T13:17:03+01:00
That didn't work so lets go back to using the default ruby image and test php against php7

- - - - -
e21e849b by Imran Hussain at 2017-06-30T13:17:03+01:00
npm is part of nodejs

- - - - -
6ae8257c by Imran Hussain at 2017-06-30T13:17:03+01:00
install nodejs from the main site, debian stable packages are screweed up

- - - - -
b3af94da by Imran Hussain at 2017-06-30T13:17:03+01:00
need curl, doh!

- - - - -
02750371 by Imran Hussain at 2017-06-30T13:17:03+01:00
forgot a -y

- - - - -
c749c42b by Imran Hussain at 2017-06-30T13:17:03+01:00
nodejs install that is supposed to install deps doesn't actually do so, install gnupg manually

- - - - -
058a41c2 by Imran Hussain at 2017-06-30T13:17:03+01:00
the script to install nodejs DOESN'T INSTALL NODEJS!

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,6 @@
 # specify what docker image
 # go with the default image for now and mangle it
-#image: ruby:2.1
+#image: debian:jessie
 
 stages:
   - test
@@ -14,7 +14,7 @@ php-syntax-check:
   script:
    - apt-get clean
    - apt-get update
-   - apt-get install -y php5-cli        
+   - apt-get install -y php-cli
    - php -l htdocs/index.php
    - find components -name *.php | xargs -n 1 php -l
    - find plugins -name *.php | xargs -n 1 php -l
@@ -25,8 +25,11 @@ js-syntax-check:
   script:
    - apt-get clean
    - apt-get update
-   - apt-get install -y npm
-   - ln -s /usr/bin/nodejs /usr/bin/node
+#   - apt-get install -y nodejs
+#   - ln -s /usr/bin/nodejs /usr/bin/node
+   - apt-get install -y curl gnupg
+   - curl -sL https://deb.nodesource.com/setup_8.x | bash -
+   - apt-get install -y nodejs
    - npm install -g jshint        
    - find htdocs/js/ -name *.js ! -name jquery* | xargs -n 1 jshint --verbose
 



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/compare/92f40d62319fdc7e651f769d7f33ef92b33b85f4...058a41c28ac81594325ff0a155fa6c51b359d0b0

---
View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/compare/92f40d62319fdc7e651f769d7f33ef92b33b85f4...058a41c28ac81594325ff0a155fa6c51b359d0b0
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20170630/cdfa1008/attachment-0001.html>


More information about the Devel mailing list