Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Commit

Permalink
install shell
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-hendricks committed Jul 10, 2020
1 parent c885923 commit c44eaf9
Show file tree
Hide file tree
Showing 6 changed files with 873 additions and 47 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#name: Integration
#
#on:
# push:
# branches: [ master ]
# pull_request:
# branches: [ dev ]
#
#jobs:
#
# build:
# name: Build
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
#
# - name: Build the Docker image
# run: docker-compose build
#
# - name: Start the application
# run: docker-compose up -d
#
# - name: start the integration tests
# run: docker-compose -f integration-tests.yml up
name: Integration

on:
push:
branches: [ master ]
pull_request:
branches: [ dev ]

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Build the Docker image
run: docker-compose build

- name: Start the application
run: docker-compose up -d

- name: start the integration tests
run: docker-compose -f integration-tests.yml up
16 changes: 0 additions & 16 deletions client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,6 @@ FROM node:12-slim

WORKDIR /client

RUN apt-get update && \
apt-get install -y libgtk2.0-0 \
libgtk-3-0 \
libnotify-dev \
libgconf-2-4 \
libnss3 \
libxss1 \
libasound2 \
libxtst6 \
xauth \
xvfb \
chromium

RUN npm install -g @vue/cli && \
npm install -g @vue/cli-service-global && \
yarn add @vue/cli-service-global

RUN npm install cypress && \
npm install -g cypress
9 changes: 9 additions & 0 deletions client/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

UNAME=$(uname)
if [[ "${UNAME}" == CYGWIN* || "${UNAME}" == MINGW* || "${UNAME}" == MSYS* ]]; then
# If using Git Bash on Windows, it will attempt to transform paths to windows Paths. Setting MSYS_NO_PATHCONV stops this process
export MSYS_NO_PATHCONV=1
fi

docker run --rm -v .:/client -w /client node:12-slim bash -c "npm install"
Loading

0 comments on commit c44eaf9

Please sign in to comment.