generator-reshow 0.17.49 → 0.17.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87,6 +87,6 @@ module.exports = class extends YoGenerator {
87
87
  cp("support", null, this.payload);
88
88
  cp("bin", null, this.payload);
89
89
  cp("docker", null, this.payload);
90
- cp("test", null, this.payload);
90
+ cp("tests", null, this.payload);
91
91
  }
92
92
  };
@@ -10,6 +10,6 @@ docker run --rm -v $DIR/../:/app/test \
10
10
  -v /var/run/docker.sock:/var/run/docker.sock \
11
11
  -w /app/test \
12
12
  $TERRATEST \
13
- go test -v ./test
13
+ go test -v ./tests
14
14
 
15
15
 
@@ -4,6 +4,7 @@ DIR="$(
4
4
  cd "$(dirname "$0")"
5
5
  pwd -P
6
6
  )"
7
+
7
8
  localImage=$(${DIR}/support/localImage.sh)
8
9
  remoteImage=$(${DIR}/support/remoteImage.sh)
9
10
  archiveFile=$DIR/archive.tar
@@ -18,14 +19,13 @@ tag() {
18
19
  tag=$1
19
20
  if [ -z "$tag" ]; then
20
21
  if [ -z "$VERSION" ]; then
21
- tag=latest
22
+ tag=${remoteImage}:latest
22
23
  else
23
- tag=$VERSION
24
+ tag=${remoteImage}:$VERSION
24
25
  fi
25
26
  fi
26
27
  echo "* <!-- Start to tag: ${tag}"
27
- echo $tag
28
- docker tag ${localImage} ${remoteImage}:$tag
28
+ docker tag ${localImage} $tag
29
29
  list
30
30
  echo "* Finish tag -->"
31
31
  }
@@ -36,7 +36,7 @@ pre-test:
36
36
  stage: test
37
37
  image: $CI_TERRATEST
38
38
  script:
39
- - go test -v ./test
39
+ - go test -v ./tests
40
40
 
41
41
  build-docker-image:
42
42
  extends: .parallel
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.17.49",
2
+ "version": "0.17.50",
3
3
  "name": "generator-reshow",
4
4
  "repository": {
5
5
  "type": "git",