Compare commits

...

11 Commits

Author SHA1 Message Date
Rahul Padigela 1f42f8baa1 remove args that are no longer supported 2018-10-19 16:17:25 -07:00
Rahul Padigela 3e0383aa2f fix yarn command 2018-10-19 15:21:06 -07:00
Rahul Padigela 4f60a5f1ac upgrade schema due to dep upgrade 2018-10-19 15:10:32 -07:00
Rahul Padigela 2f600d09b0 restr for yarn 2018-10-19 15:10:18 -07:00
Rahul Padigela ffac059362 rearrange for git t 2018-10-19 14:33:15 -07:00
Rahul Padigela b4e3c70b4c fix Dockerfile 2018-10-19 14:25:17 -07:00
Rahul Padigela ed59d62791 fix Dockerfile 2018-10-19 14:21:07 -07:00
Rahul Padigela d931098d49 [squash] rearrange 2018-10-19 13:03:30 -07:00
Rahul Padigela feee163711 [squash] install curl 2018-10-19 12:59:38 -07:00
Rahul Padigela a08da2d57c improvement: upgrade module versions to latest 2018-10-19 12:14:37 -07:00
Rahul Padigela 3c315b65e0 improvement: ZENKO-1271 switch to yarn 2018-10-19 12:14:33 -07:00
7 changed files with 2401 additions and 2729 deletions

View File

@ -16,28 +16,28 @@ stages:
- Git:
name: fetch source
repourl: '%(prop:git_reference)s'
shallow: True
retryFetch: True
haltOnFailure: True
shallow: true
retryFetch: true
haltOnFailure: true
- ShellCommand:
name: install dependencies
command: npm install
command: yarn
- ShellCommand:
name: run lint yml
command: npm run --silent lint_yml
command: yarn lint_yml
- ShellCommand:
name: run lint
command: npm run --silent lint -- --max-warnings 0
command: yarn lint
- ShellCommand:
name: run lint_md
command: npm run --silent lint_md
command: yarn lint_md
- ShellCommand:
name: run test
command: npm run --silent test
command: yarn test
- ShellCommand:
name: run ft_test
command: npm run ft_test
command: yarn ft_test
- ShellCommand:
name: run executables tests
command: npm install && npm test
command: yarn && yarn test
workdir: '%(prop:builddir)s/build/lib/executables/pensieveCreds/'

View File

@ -7,11 +7,14 @@ ENV LANG C.UTF-8
COPY buildbot_worker_packages.list arsenal_packages.list /tmp/
RUN apt-get update -q && apt-get -qy install curl apt-transport-https \
&& apt-get install -qy software-properties-common python-software-properties \
&& curl --silent https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
&& echo "deb https://deb.nodesource.com/node_8.x trusty main" > /etc/apt/sources.list.d/nodesource.list \
&& curl -sS http://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& add-apt-repository ppa:ubuntu-toolchain-r/test \
&& apt-get update -q \
&& cat /tmp/buildbot_worker_packages.list | xargs apt-get install -qy \
&& git clone https://github.com/tj/n.git \
&& make -C ./n \
&& n 8 latest \
&& cat /tmp/arsenal_packages.list | xargs apt-get install -qy \
&& pip install pip==9.0.1 \
&& rm -rf /var/lib/apt/lists/* \
@ -21,7 +24,7 @@ RUN apt-get update -q && apt-get -qy install curl apt-transport-https \
# Install usefull nodejs dependencies
#
RUN npm install mocha -g
RUN yarn global add mocha
#
# Add user eve

View File

@ -1,3 +1,3 @@
nodejs
redis-server
g++-4.9
yarn

View File

@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "AWS Policy schema.",
"description": "This schema describes a user policy per AWS policy grammar rules",

2696
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,37 +18,37 @@
"homepage": "https://github.com/scality/Arsenal#readme",
"dependencies": {
"JSONStream": "^1.0.0",
"ajv": "4.10.0",
"async": "~2.1.5",
"bson": "2.0.4",
"debug": "~2.3.3",
"ajv": "6.5.4",
"async": "~2.6.1",
"bson": "4.0.0-rc5",
"debug": "~4.1.0",
"diskusage": "^0.2.2",
"fcntl": "github:scality/node-fcntl",
"ioredis": "2.4.0",
"ipaddr.js": "1.2.0",
"joi": "^10.6",
"level": "~1.6.0",
"ioredis": "4.2.0",
"ipaddr.js": "1.8.1",
"joi": "^14.0.0",
"level": "~4.0.0",
"level-sublevel": "~6.6.1",
"mongodb": "^3.0.1",
"node-forge": "^0.7.1",
"simple-glob": "^0.1",
"socket.io": "~1.7.3",
"socket.io-client": "~1.7.3",
"utf8": "2.1.2",
"simple-glob": "^0.2.0",
"socket.io": "~2.1.1",
"socket.io-client": "~2.1.1",
"utf8": "3.0.0",
"uuid": "^3.0.1",
"werelogs": "scality/werelogs#0ff7ec82",
"xml2js": "~0.4.16"
},
"optionalDependencies": {
"ioctl": "2.0.0"
"ioctl": "2.0.1"
},
"devDependencies": {
"eslint": "2.13.1",
"eslint-plugin-react": "^4.3.0",
"eslint-config-airbnb": "6.2.0",
"eslint": "5.7.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-scality": "scality/Guidelines#71a059ad",
"lolex": "1.5.2",
"mocha": "2.5.3",
"eslint-plugin-react": "^7.11.1",
"lolex": "3.0.0",
"mocha": "5.2.0",
"temp": "0.8.3"
},
"scripts": {

2365
yarn.lock Normal file

File diff suppressed because it is too large Load Diff