mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-30 19:18:45 -06:00
* deploy: working on linux build via Docker for #217 * reworking deploy links * include register files from coffee and ts * smoke test passes in docker container
26 lines
603 B
Bash
Executable File
26 lines
603 B
Bash
Executable File
set e+x
|
|
|
|
echo "This script should be run from monorepo's root"
|
|
|
|
name=cypress/internal:chrome58
|
|
echo "Pulling CI container $name"
|
|
|
|
docker pull $name
|
|
|
|
echo "Starting Docker image with monorepo volume attached"
|
|
echo "In order to build Cypress Linux binary"
|
|
|
|
# for now just run shell in the Docker container
|
|
# and then the user can go through the deploy
|
|
docker run \
|
|
-e npm_config_loglevel='warn' \
|
|
-v $PWD:/home/person/cypress-monorepo \
|
|
-w /home/person/cypress-monorepo \
|
|
-it $name \
|
|
/bin/bash
|
|
|
|
|
|
# todo: grab / compute the version to build
|
|
# npm run deploy -- --platform linux --version 0.20.0
|
|
|