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 +4 -4
- data/CHANGELOG.md +7 -0
- data/gitlab-ci/badges.yml +4 -0
- data/gitlab-ci/build.yml +7 -0
- data/gitlab-ci/only_when_no_trigger.yml +7 -0
- data/gitlab-ci/sast.yml +54 -0
- data/gitlab-ci/secret-detection.yml +2 -0
- data/gitlab-ci/semver.yml +12 -0
- data/gitlab-ci/tests.yml +16 -0
- data/lib/jfh/gitlab/cli/version.rb +1 -1
- data/package.json +1 -1
- metadata +8 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b700b42b6d83ec48575a0aec8ba0a4b4867c7fa4bab7a44f72886aef46cbd955
|
4
|
+
data.tar.gz: 4c22cf35a1d9f2877a61d4caaa3868ffd266edc024c8d5e3359015b9ff2c4051
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/gitlab-ci/build.yml
ADDED
data/gitlab-ci/sast.yml
ADDED
@@ -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,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
|
data/gitlab-ci/tests.yml
ADDED
@@ -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
|
data/package.json
CHANGED
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.
|
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
|