Skip to content

Commit

Permalink
UI deps updates (#190)
Browse files Browse the repository at this point in the history
* UI Deps updates

* Updates krane base image

* Bump redisgraph to 2.6.1

Co-authored-by: marcinc <[email protected]>
  • Loading branch information
marcinc and marcinc authored Sep 30, 2021
1 parent 9be22c5 commit 4662f54
Show file tree
Hide file tree
Showing 17 changed files with 7,155 additions and 8,610 deletions.
8 changes: 3 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: 2.1

orbs:
ruby: circleci/ruby@0.2.1
ruby: circleci/ruby@1.2.0

executors:
skaffold:
Expand All @@ -13,7 +13,7 @@ jobs:
test:
parallelism: 1
docker:
- image: ruby:2.6.5-alpine3.10
- image: ruby:2.7.3-alpine3.13
environment:
BUNDLE_JOBS: 10
BUNDLE_RETRY: 5
Expand All @@ -30,10 +30,8 @@ jobs:
- run:
name: Configure Bundler
command: gem install bundler -v $(cat Gemfile.lock | tail -1 | tr -d " ")
- ruby/load-cache
- ruby/install-deps
- ruby/save-cache
- ruby/run-tests
- ruby/rspec-test
- store_artifacts:
path: coverage

Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.5
2.7.3
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

##############################################################
# Stage: builder
FROM ruby:2.6.5-alpine3.10 AS builder
FROM ruby:2.7.3-alpine3.13 AS builder

WORKDIR /app

Expand All @@ -25,14 +25,16 @@ RUN apk add --update --no-cache git bash curl make gcc libc-dev tzdata g++ npm
COPY . /app

# install gems
RUN bundle install --jobs 20 --retry 5 --deployment --without development test
RUN bundle config set deployment 'true'
RUN bundle config set without 'development test'
RUN bundle install --jobs 20 --retry 5

# build the UI
RUN cd dashboard && npm install --no-optional && npm rebuild node-sass && node_modules/.bin/gulp release
RUN cd dashboard && npm install --no-optional && npm audit fix && npm rebuild node-sass && npm install -g sass-migrator && sass-migrator division **/*.scss && node_modules/.bin/gulp release

##############################################################
# Stage: final
FROM ruby:2.6.5-alpine3.10
FROM ruby:2.7.3-alpine3.13

LABEL org="Appvia Ltd"
LABEL website="appvia.io"
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ DEPENDENCIES
test-unit

BUNDLED WITH
1.17.3
2.1.4
3 changes: 2 additions & 1 deletion bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ set -euo pipefail
IFS=$'\n\t'
set -vx

bundle install --path .bundle
bundle config set path '.bundle'
bundle install

# Do any other automated setup that you need to do here
22 changes: 11 additions & 11 deletions dashboard/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const header = require("gulp-header");
const merge = require("merge-stream");
const plumber = require("gulp-plumber");
const rename = require("gulp-rename");
const sass = require("gulp-sass");
const sass = require('gulp-sass')(require('sass'));
const uglify = require("gulp-uglify");

// Load package.json for banner
Expand Down Expand Up @@ -103,21 +103,21 @@ function modules() {
// Stickyfill
var stickyfillJS = gulp.src('./node_modules/stickyfilljs/dist/stickyfill.min.js')
.pipe(gulp.dest('./compiled/vendor/stickyfilljs'));
// vis-network
// vis-network
var visNetworkJS = gulp.src('./node_modules/vis-network/standalone/umd/*')
.pipe(gulp.dest('./compiled/vendor/vis-network'));
// vue.js
// vue.js
var vueJS = gulp.src('./node_modules/vue/dist/vue.min.js')
.pipe(gulp.dest('./compiled/vendor/vue'));
return merge(
bootstrapJS,
bootstrapSCSS,
bootstrapTreeview,
prismjsJS,
prismjsCSS,
chartJS,
fontAwesome,
jquery,
bootstrapJS,
bootstrapSCSS,
bootstrapTreeview,
prismjsJS,
prismjsCSS,
chartJS,
fontAwesome,
jquery,
jqueryEasing,
stickyfillJS,
visNetworkJS,
Expand Down
Loading

0 comments on commit 4662f54

Please sign in to comment.