jfh-gitlab-cli 1.0.0.pre.rc.6 → 1.0.0.pre.rc.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cd8daf0cef93d03e0b2d142a1f95f5d007418360b299baabf1a98d2c2a6a89d
4
- data.tar.gz: d2698c1fb4c8f7aca5508bba2f4659adf8b8e50bf8635996a79ef67c2a6449d6
3
+ metadata.gz: b700b42b6d83ec48575a0aec8ba0a4b4867c7fa4bab7a44f72886aef46cbd955
4
+ data.tar.gz: 4c22cf35a1d9f2877a61d4caaa3868ffd266edc024c8d5e3359015b9ff2c4051
5
5
  SHA512:
6
- metadata.gz: 8a197a3b0c2f1331bef28b5e87d864235faab98ed0b02a8aaa3e2c30d7362f4875c3f34f49816dfc4c255b26b1de85090797af7b170098dd1a6ffcdbcca74916
7
- data.tar.gz: 7669c82c052159e8a36c3a48763682e77347f83c905a0fcd32ae15e8bdb0b1cc2afab08518f2d717788d451942c9c101b7042790cdb2a95eb635c6305d213b91
6
+ metadata.gz: aba3b552af1856888d8a200c97ce397f67247782f52a7abad76c237da4a71f731800bc5cf69e8b5c0cfe4f7ba8a35f38e2dd337eddb2fa7e0356a61bc2e18a28
7
+ data.tar.gz: ab051cd66b56ff7ebd9af7b9d4d345236c1309c60d5470e3e9fafe2d37be989685814f944d7973ebd486b888eb7d59a39458d0450a450133662bb6a0c654b168
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.0.0-rc.7](https://gitlab.com/jfheinrich-eu/gitlab-cli/compare/1.0.0-rc.6...1.0.0-rc.7) (2024-04-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * refactor gitlab-ci because of trigger pipeline ([95b4b1a](https://gitlab.com/jfheinrich-eu/gitlab-cli/commit/95b4b1a4b2f3f8079575c63d0d35015bc7d3ef67))
7
+
1
8
  ## [1.0.0-rc.6](https://gitlab.com/jfheinrich-eu/gitlab-cli/compare/1.0.0-rc.5...1.0.0-rc.6) (2024-04-27)
2
9
 
3
10
 
@@ -0,0 +1,4 @@
1
+ include:
2
+ - project: jfheinrich-eu/ci-template
3
+ ref: main
4
+ file: "Badges/badges.yml"
@@ -0,0 +1,7 @@
1
+ # @Description Build the gem package and the checksum for this package
2
+ build:
3
+ extends: .default_before_script
4
+ stage: build
5
+ script:
6
+ - bundle exec rake build
7
+ - bundle exec rake build:checksum
@@ -0,0 +1,7 @@
1
+ include:
2
+ - local: "gitlab-ci/sast.yml"
3
+ - local: "gitlab-ci/tests.yml"
4
+ - local: "gitlab-ci/build.yml"
5
+ - local: "gitlab-ci/semver.yml"
6
+ - local: "gitlab-ci/secret-detection.yml"
7
+ - local: "gitlab-ci/badges.yml"
@@ -0,0 +1,54 @@
1
+ include:
2
+ - template: Security/SAST.gitlab-ci.yml
3
+
4
+ # @Description SAST jobs
5
+ sast:
6
+ stage: test
7
+
8
+ nodejs-scan-sast:
9
+ stage: test
10
+ allow_failure: true
11
+ after_script:
12
+ - if [[ -f gl-sast-report.json ]]; then cp gl-sast-report.json gl-sast-nodejs-scan-report.json; fi
13
+ artifacts:
14
+ paths:
15
+ - gl-sast-nodejs-scan-report.json
16
+ when: always
17
+
18
+ brakeman-sast:
19
+ stage: test
20
+ allow_failure: true
21
+ after_script:
22
+ - if [[ -f gl-sast-report.json ]]; then cp gl-sast-report.json gl-sast-brakeman-report.json; fi
23
+ artifacts:
24
+ paths:
25
+ - gl-sast-brakeman-report.json
26
+ when: always
27
+
28
+ nodejs-scan-sast-convert:
29
+ stage: convert
30
+ allow_failure: true
31
+ image:
32
+ name: ${DOCKER_SEC_IMAGE}
33
+ entrypoint: [""]
34
+ dependencies:
35
+ - nodejs-scan-sast
36
+ script:
37
+ - if [[ -f gl-sast-nodejs-scan-report.json ]]; then ss2ju sast gl-sast-nodejs-scan-report.json gl-sast-nodejs-scan-report.xml; fi
38
+ artifacts:
39
+ reports:
40
+ junit: gl-sast-nodejs-scan-report.xml
41
+
42
+ brakeman-sast-convert:
43
+ stage: convert
44
+ allow_failure: true
45
+ image:
46
+ name: ${DOCKER_SEC_IMAGE}
47
+ entrypoint: [""]
48
+ dependencies:
49
+ - brakeman-sast
50
+ script:
51
+ - if [[ -f gl-sast-brakeman-report.json ]]; then ss2ju sast gl-sast-brakeman-report.json gl-sast-brakeman-report.xml; fi
52
+ artifacts:
53
+ reports:
54
+ junit: gl-sast-brakeman-report.xml
@@ -0,0 +1,2 @@
1
+ include:
2
+ - template: Jobs/Secret-Detection.gitlab-ci.yml
@@ -0,0 +1,12 @@
1
+ # @Description Semantic-Release job
2
+ semver:
3
+ extends: .default_before_script
4
+ stage: release
5
+ rules:
6
+ # yamllint disable-line rule:line-length
7
+ - if: $CI_PIPELINE_SOURCE != "schedule" && $CI_PIPELINE_SOURCE != "web" && ($CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "develop")
8
+ when: always
9
+ script:
10
+ - GITLAB_TOKEN=${CI_RUNNER_TOKEN} npx semantic-release
11
+ tags:
12
+ - docker
@@ -0,0 +1,16 @@
1
+ # @Description Runs the tests with coverage and creates coverage/coverage.xml report
2
+ # @NoArtifactsToSource
3
+ tests:
4
+ extends: .default_before_script
5
+ stage: test
6
+ script:
7
+ - cp "$TEST_DOTENV" .env
8
+ - NO_COLOR=1 bundle exec rake test
9
+ after_script:
10
+ - rm -f .env
11
+ coverage: /^COVERAGE:\s*(\d+\.\d+)%\s+--\s+.*$/
12
+ artifacts:
13
+ reports:
14
+ coverage_report:
15
+ coverage_format: cobertura
16
+ path: coverage/coverage.xml
@@ -4,7 +4,7 @@ module Jfh
4
4
  module Gitlab
5
5
  module Cli
6
6
  # Version string, maintained by {semantic-release}[https://github.com/semantic-release/semantic-release]
7
- VERSION = "1.0.0-rc.6"
7
+ VERSION = "1.0.0-rc.7"
8
8
  end
9
9
  end
10
10
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitlab-cli",
3
- "version": "1.0.0-rc.6",
3
+ "version": "1.0.0-rc.7",
4
4
  "directories": {
5
5
  "lib": "lib",
6
6
  "test": "test"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jfh-gitlab-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.rc.6
4
+ version: 1.0.0.pre.rc.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joerg Heinrich
@@ -483,7 +483,14 @@ files:
483
483
  - Rakefile
484
484
  - exe/gitlab-cli
485
485
  - functions.sh
486
+ - gitlab-ci/badges.yml
487
+ - gitlab-ci/build.yml
486
488
  - gitlab-ci/deploy-docs.yml
489
+ - gitlab-ci/only_when_no_trigger.yml
490
+ - gitlab-ci/sast.yml
491
+ - gitlab-ci/secret-detection.yml
492
+ - gitlab-ci/semver.yml
493
+ - gitlab-ci/tests.yml
487
494
  - lib/jfh/gitlab/cli.rb
488
495
  - lib/jfh/gitlab/cli/version.rb
489
496
  - lib/jfh/gitlab/projects/projects.rb