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

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


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


Commits:
5711b517 by Imran Hussain at 2017-06-30T13:16:26+01:00
Switch to using debian jessie docker image

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

- - - - -
9cf975b2 by Imran Hussain at 2017-06-30T13:16:26+01:00
npm is part of nodejs

- - - - -
aa48cb72 by Imran Hussain at 2017-06-30T13:16:26+01:00
install nodejs from the main site, debian stable packages are screweed up

- - - - -
84780e5d by Imran Hussain at 2017-06-30T13:16:26+01:00
need curl, doh!

- - - - -
d8584f05 by Imran Hussain at 2017-06-30T13:16:26+01:00
forgot a -y

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

- - - - -
f522dda5 by Imran Hussain at 2017-06-30T13:16:26+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/96061966ba52280180227a15971a13eb779c8d44...f522dda59a653f4df20c420d7849a76e3611d4af

---
View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/compare/96061966ba52280180227a15971a13eb779c8d44...f522dda59a653f4df20c420d7849a76e3611d4af
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/d42db00e/attachment-0001.html>


More information about the Devel mailing list