File tree 12 files changed +31
-67
lines changed
12 files changed +31
-67
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Colors
4
+ BLUE=' \E[1;34m'
5
+ CYAN=' \E[1;36m'
6
+ GREEN=' \E[1;32m'
7
+ RED=' \E[1;31m'
8
+ RESET=' \E[0m'
9
+ YELLOW=' \E[1;33m'
10
+
11
+ export BLUE CYAN GREEN RED RESET YELLOW
12
+
13
+ # Docker Compose
14
+ COMPOSE_PROJECT_NAME=" npmdev"
15
+ COMPOSE_FILE=" docker/docker-compose.dev.yml"
16
+
17
+ export COMPOSE_FILE COMPOSE_PROJECT_NAME
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- CYAN=' \E[1;36m'
4
- YELLOW=' \E[1;33m'
5
- BLUE=' \E[1;34m'
6
- GREEN=' \E[1;32m'
7
- RESET=' \E[0m'
3
+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
4
+ . " $DIR /.common.sh"
8
5
9
6
echo -e " ${BLUE} ❯ ${CYAN} Building docker multiarch: ${YELLOW}${* }${RESET} "
10
7
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
4
-
5
- CYAN=' \E[1;36m'
6
- BLUE=' \E[1;34m'
7
- RED=' \E[1;31m'
8
- RESET=' \E[0m'
9
-
10
- COMPOSE_PROJECT_NAME=" npmdev"
11
- COMPOSE_FILE=" docker/docker-compose.dev.yml"
12
- export COMPOSE_FILE COMPOSE_PROJECT_NAME
4
+ . " $DIR /.common.sh"
13
5
14
6
# Ensure docker-compose exists
15
7
# Make sure docker exists
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
4
-
5
- CYAN=' \E[1;36m'
6
- BLUE=' \E[1;34m'
7
- RED=' \E[1;31m'
8
- GREEN=' \E[1;32m'
9
- RESET=' \E[0m'
4
+ . " $DIR /.common.sh"
10
5
11
6
# Ensure docker-compose exists
12
7
if hash docker 2> /dev/null; then
Original file line number Diff line number Diff line change 2
2
3
3
# Note: This script is designed to be run inside CI builds
4
4
5
- CYAN=' \E[1;36m'
6
- YELLOW=' \E[1;33m'
7
- BLUE=' \E[1;34m'
8
- GREEN=' \E[1;32m'
9
- RESET=' \E[0m'
5
+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
6
+ . " $DIR /.common.sh"
10
7
11
8
echo -e " ${BLUE} ❯ ${CYAN} Uploading docs in: ${YELLOW} $1 ${RESET} "
12
9
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
4
-
5
- CYAN=' \E[1;36m'
6
- BLUE=' \E[1;34m'
7
- RED=' \E[1;31m'
8
- GREEN=' \E[1;32m'
9
- RESET=' \E[0m'
4
+ . " $DIR /.common.sh"
10
5
11
6
DOCKER_IMAGE=jc21/alpine-nginx-full:node
12
7
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
4
-
5
- CYAN=' \E[1;36m'
6
- BLUE=' \E[1;34m'
7
- YELLOW=' \E[1;33m'
8
- RED=' \E[1;31m'
9
- RESET=' \E[0m'
10
-
11
- COMPOSE_PROJECT_NAME=" npmdev"
12
- COMPOSE_FILE=" docker/docker-compose.dev.yml"
13
- export COMPOSE_FILE COMPOSE_PROJECT_NAME
4
+ . " $DIR /.common.sh"
14
5
15
6
# Ensure docker-compose exists
16
7
if hash docker-compose 2> /dev/null; then
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
4
-
5
- CYAN=' \E[1;36m'
6
- BLUE=' \E[1;34m'
7
- RED=' \E[1;31m'
8
- RESET=' \E[0m'
9
-
10
- COMPOSE_PROJECT_NAME=" npmdev"
11
- COMPOSE_FILE=" docker/docker-compose.dev.yml"
12
- export COMPOSE_FILE COMPOSE_PROJECT_NAME
4
+ . " $DIR /.common.sh"
13
5
14
6
# Ensure docker-compose exists
15
7
# Make sure docker exists
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
3
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
4
-
5
- CYAN=' \E[1;36m'
6
- BLUE=' \E[1;34m'
7
- RED=' \E[1;31m'
8
- RESET=' \E[0m'
9
-
10
- COMPOSE_PROJECT_NAME=" npmdev"
11
- COMPOSE_FILE=" docker/docker-compose.dev.yml"
12
- export COMPOSE_FILE COMPOSE_PROJECT_NAME
4
+ . " $DIR /.common.sh"
13
5
14
6
# Ensure docker-compose exists
15
7
if hash docker-compose 2> /dev/null; then
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- CYAN=' \E[1;36m'
4
- YELLOW=' \E[1;33m'
5
- BLUE=' \E[1;34m'
6
- GREEN=' \E[1;32m'
7
- RED=' \E[1;31m'
8
- RESET=' \E[0m'
3
+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
4
+ . " $DIR /.common.sh"
9
5
10
6
if [ " $1 " == " " ]; then
11
7
echo " Waits for a docker container to be healthy."
Original file line number Diff line number Diff line change 1
- FROM cypress/included:4.0.2
1
+ FROM cypress/included:4.6.0
2
2
3
3
COPY --chown=1000 ./test /test
4
4
Original file line number Diff line number Diff line change 7
7
"@jc21/cypress-swagger-validation" : " ^0.0.5" ,
8
8
"@jc21/restler" : " ^3.4.0" ,
9
9
"chalk" : " ^3.0.0" ,
10
- "cypress" : " ^4.0.2 " ,
10
+ "cypress" : " ^4.6.0 " ,
11
11
"cypress-plugin-retries" : " ^1.5.2" ,
12
12
"eslint" : " ^6.7.2" ,
13
13
"eslint-plugin-align-assignments" : " ^1.1.2" ,
You can’t perform that action at this time.
0 commit comments