-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcid-index.yaml
7278 lines (7267 loc) · 210 KB
/
cid-index.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
actions:
- name: ansible-lint
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run ansible-lint
description: |
Lint the ansible playbooks using ansible-lint.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "ansible"
- name: ansible-deploy
category: deploy
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run ansible-deploy
description: |
Deploys the ansible playbook using ansible-playbook.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "ansible"
access:
env:
- value: ANSIBLE_PLAYBOOK
pattern: false
description: |
The ansible playbook to deploy.
required: false
internal: false
- value: ANSIBLE_INVENTORY
pattern: false
description: |
The ansible inventory to use.
Defaults to "inventory".
required: false
internal: false
- name: changelog-generate
category: changelog
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run changelog-generate
description: |
Generates a changelog based on the commit history.
The default regex expression supports parsing semantic commit messages.
The following types are supported: `build`, `ci`, `docs`, `feat`, `fix`, `perf`, `refactor`, `style`, `test`, `chore`.
scope: project
rules:
- type: cel
expression: NCI_COMMIT_REF_TYPE == "tag"
- name: buildah-build
category: build
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run buildah-build
description: |
Builds the oci container image (and manifest if required) using buildah.
The following comments are supported in the Dockerfile, these allow you to set the image repository and platforms to build:
- `# platforms=linux/amd64,linux/s390x,linux/ppc64le`
- `# image=quay.io/username/imagename`
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "container" && (MODULE_BUILD_SYSTEM_SYNTAX == "buildah-script" || MODULE_BUILD_SYSTEM_SYNTAX == "containerfile")
- name: buildah-publish
category: publish
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run buildah-publish
description: |
Publishes the container image or manifest using skopeo and stores the image digest for later use in image signing and attestation.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "container" && (MODULE_BUILD_SYSTEM_SYNTAX == "buildah-script" || MODULE_BUILD_SYSTEM_SYNTAX == "containerfile")
- name: github-release-publish
category: publish
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run github-release-publish
description: |
Publishes a new release on GitHub, including the release notes and artifacts.
scope: project
rules:
- type: cel
expression: hasPrefix(ENV["NCI_REPOSITORY_REMOTE"], "https://github.com/") && NCI_COMMIT_REF_TYPE == "tag"
access:
env:
- value: GITHUB_TOKEN
pattern: false
description: |
The GitHub token to use for creating the release.
required: true
internal: false
- name: github-sarif-upload
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run github-sarif-upload
description: |
Uploads all SARIF reports to GitHub CodeScanning. Supports merge requests.
scope: project
rules:
- type: cel
expression: hasPrefix(ENV["NCI_REPOSITORY_REMOTE"], "https://github.com/") && ENV["GITHUB_TOKEN"] != ""
access:
env:
- value: GITHUB_TOKEN
pattern: false
description: |
The GitHub token to use for uploading the SARIF file.
required: true
internal: false
- name: gitlab-release-publish
category: publish
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run gitlab-release-publish
description: |
Publishes a new release on GitLab, including the release notes and artifacts.
scope: project
rules:
- type: cel
expression: NCI_COMMIT_REF_TYPE == "tag" && hasPrefix(ENV["NCI_REPOSITORY_REMOTE"], "https://gitlab.com/")
access:
env:
- value: GITLAB_TOKEN
pattern: false
description: |
The GitLab token to use for creating the release when using a personal access token.
required: false
internal: false
- value: GITLAB_BOT_TOKEN
pattern: false
description: |
The GitLab token to use for creating the release when using a project bot account.
required: false
internal: false
- name: go-build
category: build
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run go-build
description: |
Builds the go project using go mod, generated binaries are stored for later publication.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "gomod"
- name: go-test
category: test
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run go-test
description: |
Runs all tests in your go project.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "gomod"
- name: go-lint
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run go-lint
description: |
Runs the golangci-lint tool on your go project.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "gomod"
- name: helm-build
category: build
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run helm-build
description: |
Builds the helm chart using helm cli.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "helm"
- name: helm-lint
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run helm-lint
description: |
Runs the helm lint tool on your helm chart.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "helm"
- name: helm-publish-nexus
category: publish
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run helm-publish-nexus
description: |
Publishes the helm chart into a nexus repository server.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "helm" && ENV["HELM_NEXUS_URL"] != ""
access:
env:
- value: HELM_NEXUS_URL
pattern: false
description: |
The url of the nexus server.
required: true
internal: false
- value: HELM_NEXUS_REPOSITORY
pattern: false
description: |
The name of the nexus repository.
required: true
internal: false
- value: HELM_NEXUS_USERNAME
pattern: false
description: |
The username to use for authentication.
required: true
internal: false
- value: HELM_NEXUS_PASSWORD
pattern: false
description: |
The password to use for authentication.
required: true
internal: false
- name: helm-publish-registry
category: publish
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run helm-publish-registry
description: |
Publishes the helm chart into a OCI registry.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "helm" && ENV["HELM_OCI_REPOSITORY"] != ""
access:
env:
- value: HELM_OCI_REPOSITORY
pattern: false
description: |
The url of the OCI registry for the chart publication.
required: true
internal: false
- name: hugo-start
category: dev
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run hugo-start
description: |
Starts the hugo server for local development.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "hugo"
- name: hugo-build
category: build
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run hugo-build
description: |
Builds the hugo project and stores the generated static files for later publication.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "hugo"
- name: java-build
category: build
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run java-build
description: |
Builds the java module using the configured build system.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "gradle"
- type: cel
expression: MODULE_BUILD_SYSTEM == "maven"
- name: java-test
category: test
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run java-test
description: |
Tests the java module using the configured build system.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "gradle"
- type: cel
expression: MODULE_BUILD_SYSTEM == "maven"
- name: java-gradle-wrapper-scan
category: scan
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run java-gradle-wrapper-scan
description: |
Verifies the integrity of the gradle-wrapper.
- queries information from https://services.gradle.org/versions/all
- verifies the distribution hash in the gradle-wrapper.properties file against `checksumUrl`
- verifies the gradle-wrapper.jar hash against `wrapperChecksumUrl`
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "gradle"
- name: java-publish
category: publish
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run java-publish
description: |
This action publishes maven artifacts.
**Publication**
Username and password are not required when publishing to GitHub Packages. (`https://maven.pkg.github.com/<your_username>/<your_repository>`)
**Signing**
To sign the artifacts, `MAVEN_GPG_SIGN_PRIVATEKEY` and `MAVEN_GPG_SIGN_PASSWORD` must be set.
You can generate a private key using the gpg command line tools:
``` bash
gpg --full-generate-key
// When asked for the key type, select `RSA (sign only)`.
// For the key size, select `4096`.
// For the expiration date, select `0` to make the key never expire.
// The Key-ID will appear in the output, it will look something like this `A1B2C3D4E5F6G7H8`.
// Use a strong password to protect the key, store it in the `MAVEN_GPG_SIGN_PASSWORD` secret.
gpg --armor --export-secret-keys A1B2C3D4E5F6G7H8 | base64 -w0
// Now store the secret key in the `MAVEN_GPG_SIGN_PRIVATEKEY`
```
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "gradle" && getMapValue(ENV, "MAVEN_REPO_URL") != ""
- type: cel
expression: MODULE_BUILD_SYSTEM == "maven" && getMapValue(ENV, "MAVEN_REPO_URL") != ""
access:
env:
- value: MAVEN_VERSION
pattern: false
description: |
Overwrites the version of the maven artifact to publish, defaults to the git tag or branch name.
required: false
internal: false
- value: MAVEN_REPO_URL
pattern: false
description: |
The URL of the maven repository to publish to.
required: true
internal: false
- value: MAVEN_REPO_USERNAME
pattern: false
description: |
The username to use for authentication with the maven repository.
required: false
internal: false
- value: MAVEN_REPO_PASSWORD
pattern: false
description: |
The password to use for authentication with the maven repository.
required: false
internal: false
- value: MAVEN_GPG_SIGN_PRIVATEKEY
pattern: false
description: |
The ASCII-armored private key (base64 encoded).
required: false
internal: false
- value: MAVEN_GPG_SIGN_PASSWORD
pattern: false
description: |
The password for the private key.
required: false
internal: false
- value: MAVEN_GPG_SIGN_KEYID
pattern: false
description: |
The GPG key ID, only required when using sub keys.
required: false
internal: false
- value: GITHUB_ACTOR
pattern: false
description: |
The GitHub actor to use for pushing the artifacts to a maven repository on GitHub Packages (https://maven.pkg.github.com/).
required: false
internal: true
- value: GITHUB_TOKEN
pattern: false
description: |
The GitHub token to use for pushing the artifacts to a maven repository on GitHub Packages (https://maven.pkg.github.com/).
required: false
internal: true
- name: mkdocs-start
category: dev
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run mkdocs-start
description: |
Starts the mkdocs server for local development.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "mkdocs" && MODULE_BUILD_SYSTEM_SYNTAX == "default"
- name: mkdocs-build
category: build
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run mkdocs-build
description: |
Builds the mkdocs project and stores the generated static files for later publication.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "mkdocs" && MODULE_BUILD_SYSTEM_SYNTAX == "default"
- name: node-build
category: build
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run node-build
description: |
Builds the node project using npm, generated assets are stored for later publication.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "npm"
- name: node-test
category: test
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run node-test
description: |
Runs all tests in your node project.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "npm"
- name: upx-optimize
category: optimize
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run upx-optimize
description: |
Optimizes the binary size using upx.
Notes:
- This action requires the UPX_ENABLED environment variable to be set to true.
- `upx` requires a lot of compute resources and runs for a long time, only use this action if you have enough resources available (public ci providers have limits).
scope: module
rules:
- type: cel
expression: ENV["UPX_ENABLED"] == "true"
- name: python-build
category: build
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run python-build
description: |
Builds the python project.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "python-requirements.txt"
- type: cel
expression: MODULE_BUILD_SYSTEM == "pipfile"
- type: cel
expression: MODULE_BUILD_SYSTEM == "setup.py"
- name: python-test
category: test
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run python-test
description: |
Runs all tests in your python project.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "python-requirements.txt"
- type: cel
expression: MODULE_BUILD_SYSTEM == "pipfile"
- type: cel
expression: MODULE_BUILD_SYSTEM == "setup.py"
- name: python-lint
category: lint
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run python-lint
description: |
Runs the flake8 tool to lint your python project.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "python-requirements.txt"
- type: cel
expression: MODULE_BUILD_SYSTEM == "pipfile"
- type: cel
expression: MODULE_BUILD_SYSTEM == "setup.py"
- name: renovate-lint
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run renovate-lint
description: |
Lints the renovate configuration file.
scope: module
rules:
- type: cel
expression: MODULE_TYPE == "spec" && MODULE_SPECIFICATION_TYPE == "renovate"
- name: gitguardian-scan
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run ggshield-scan
description: |
Scans the repository for secrets using GitGuardian.
scope: project
rules:
- type: cel
expression: ENV["GITGUARDIAN_API_KEY"] != "" && NCI_COMMIT_REF_TYPE == "branch"
access:
env:
- value: GITGUARDIAN_.*
pattern: true
description: |
The GitGuardian API key and other properties to use for scanning.
required: false
internal: false
- name: gitleaks-scan
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run gitleaks-scan
description: |
Scans the repository for secrets using Gitleaks.
scope: project
- name: gosec-scan
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run gosec-scan
description: |
Scans the repository for security issues using gosec.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "gomod"
- name: semgrep-scan
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run semgrep-scan
description: |
Scans the repository for security issues using semgrep.
scope: project
access:
env:
- value: SEMGREP_.*
pattern: true
description: |
The SemGrep properties to use for scanning.
required: false
internal: false
- name: sonarqube-scan
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run sonarqube-scan
certs:
- type: ca-bundle
dir: /etc/ssl/certs/ca-certificates.crt
description: |
Scans the repository for security issues using SonarQube.
scope: project
rules:
- type: cel
expression: ENV["SONAR_TOKEN"] != "" && NCI_COMMIT_REF_TYPE == "branch"
access:
env:
- value: SONAR_HOST_URL
pattern: false
description: |
The SonarQube host URL.
required: false
internal: false
- value: SONAR_ORGANIZATION
pattern: false
description: |
The SonarQube organization.
required: false
internal: false
- value: SONAR_PROJECTKEY
pattern: false
description: |
The SonarQube project key.
required: false
internal: false
- value: SONAR_DEFAULT_BRANCH
pattern: false
description: |
The SonarQube default branch.
required: false
internal: false
- value: SONAR_TOKEN
pattern: false
description: |
The SonarQube authentication token.
required: false
internal: false
- value: NCI_.*
pattern: true
description: |
The project properties sonar needs to identify the repository, commit, merge request, etc.
required: false
internal: true
- name: qodana-scan
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run qodana-scan
description: |
Scans the repository for security issues using JetBrains Qodana.
scope: module
rules:
- type: cel
expression: ENV["QODANA_TOKEN"] != "" && NCI_COMMIT_REF_TYPE == "branch"
access:
env:
- value: QODANA_TOKEN
pattern: false
description: |
The Qodana authentication token.
required: false
internal: false
- value: NCI_REPOSITORY_.*
pattern: true
description: |
The project properties sonar needs to identify the repository.
required: false
internal: true
- value: NCI_COMMIT_.*
pattern: true
description: |
The commit properties sonar needs to identify the revision.
required: false
internal: true
- name: applicationinspector-scan
category: sast
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run applicationinspector-scan
description: |
Scans the repository for used features using Microsoft Application Inspector.
scope: project
access:
env:
- value: NCI_REPOSITORY_.*
pattern: true
description: |
The project properties to identify the repository.
required: false
internal: true
- value: NCI_COMMIT_.*
pattern: true
description: |
The commit properties to identify the revision.
required: false
internal: true
- name: ossf-scorecard-scan
category: security
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run ossf-scorecard-scan
description: |
Scorecard is an automated tool that assesses a number of important heuristics ("checks") associated with software security and assigns each check a score of 0-10.
You can use these scores to understand specific areas to improve in order to strengthen the security posture of your project.
This action will evaluate your project using the scorecard tool and store the result as sarif report.
scope: project
rules:
- type: cel
expression: NCI_REPOSITORY_HOST_TYPE == "github"
access:
env:
- value: GITHUB_TOKEN
pattern: false
description: |
The GitHub token to use when querying project information from the GitHub API.
required: false
internal: false
- name: cosign-container-sign
category: security
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run cosign-container-sign
description: |
Cosign is a tool that enables container image signing, verification, and storage in an OCI registry.
It supports various signing methods, including keyless signing using a public good certificate authority and transparency log, hardware and KMS signing, and bring-your-own PKI.
With Cosign, you can sign your container images to ensure their authenticity and integrity, and store them in a trusted registry.
The signed images can then be verified by others to ensure that they have not been tampered with.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "container" && getMapValue(ENV, "COSIGN_KEY") != "" && getMapValue(ENV, "COSIGN_PASSWORD") != ""
access:
env:
- value: COSIGN_MODE
pattern: false
description: |
The cosign mode, either "KEYLESS" or "PRIVATEKEY".
required: false
internal: false
- value: COSIGN_KEY
pattern: false
description: |
The cosign key, base64 encoded.
required: false
internal: false
- value: COSIGN_PASSWORD
pattern: false
description: |
The password for the cosign key.
required: false
internal: false
- value: COSIGN_TLOG_DISABLE
pattern: false
description: |
Disable using the public rekor transparency log.
required: false
internal: false
- name: cosign-container-sbom-attach
category: security
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run cosign-container-sbom-attach
description: |
Cosign allows to attach SBOMs to a container image.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "container" && getMapValue(ENV, "COSIGN_KEY") != "" && getMapValue(ENV, "COSIGN_PASSWORD") != ""
access:
env:
- value: COSIGN_MODE
pattern: false
description: |
The cosign mode, either "KEYLESS" or "PRIVATEKEY".
required: false
internal: false
- value: COSIGN_KEY
pattern: false
description: |
The cosign key, base64 encoded.
required: false
internal: false
- value: COSIGN_PASSWORD
pattern: false
description: |
The password for the cosign key.
required: false
internal: false
- value: COSIGN_TLOG_DISABLE
pattern: false
description: |
Disable using the public rekor transparency log.
required: false
internal: false
- name: syft-container-sbom-generate
category: security
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run syft-container-sbom-generate
description: |
Syft is a tool that generates SBOMs for container images.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "container"
- name: syft-artifact-sbom-generate
category: security
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run syft-artifact-sbom-generate
description: |
Syft is a tool that generates SBOMs for software artifacts.
scope: module
- name: techdocs-start
category: dev
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run techdocs-start
description: |
Starts the techdocs development server locally.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "mkdocs" && MODULE_BUILD_SYSTEM_SYNTAX == "mkdocs-techdocs"
- name: techdocs-build
category: build
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run techdocs-build
description: |
Builds the techdocs documentation assets.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "mkdocs" && MODULE_BUILD_SYSTEM_SYNTAX == "mkdocs-techdocs"
- name: techdocs-publish
category: publish
type: container
container:
image: quay.io/cidverse/cid-actions-go:latest
command: central run techdocs-publish
description: |
Publishes the generated documentation to the target location.
scope: module
rules:
- type: cel
expression: MODULE_BUILD_SYSTEM == "mkdocs" && MODULE_BUILD_SYSTEM_SYNTAX == "mkdocs-techdocs"
access:
env:
- value: TECHDOCS_ENTITY
pattern: false
description: |
The entity to publish the documentation for.
required: false
internal: false
- value: TECHDOCS_PUBLISH_TARGET
pattern: false
description: |
The target to publish the documentation to. (awsS3, ...)
required: false
internal: false
- value: TECHDOCS_S3_ENDPOINT
pattern: false
description: |
The S3 endpoint url.
required: false
internal: false
- value: TECHDOCS_S3_REGION
pattern: false
description: |
The S3 bucket region.
required: false
internal: false
- value: TECHDOCS_S3_BUCKET
pattern: false
description: |
The S3 bucket name.
required: false
internal: false
- value: TECHDOCS_S3_ACCESS_KEY
pattern: false
description: |
The S3 Access Key.
required: false
internal: false
- value: TECHDOCS_S3_SECRET_KEY
pattern: false
description: |
The S3 Secret Key.
required: false
internal: false
- value: TECHDOCS_S3_FORCE_PATH_STYLE
pattern: false
description: |
Use s3 path style to address the bucket, required for ie. minio.
required: false
internal: false
- name: kotlin-hello
category: examples
type: container
container:
image: quay.io/cidverse/cid-actions-kotlin:latest
command: cid-actions-kotlin kotlin-hello
description: |
A simple kotlin hello world example.
scope: project
images:
- image: quay.io/cidverse/pipenv:2022.11.30
provides:
- binary: pipenv
version: 2022.11.30
cache:
- id: pipenv-virtualenvs
dir: /app/.local/share/virtualenvs
- id: pipenv-cache
dir: /app/.cache/pipenv
source:
registry_url: quay.io/cidverse/pipenv
- image: quay.io/cidverse/pipenv:2022.12.19
provides:
- binary: pipenv
version: 2022.12.19
cache:
- id: pipenv-virtualenvs
dir: /app/.local/share/virtualenvs
- id: pipenv-cache
dir: /app/.cache/pipenv
source:
registry_url: quay.io/cidverse/pipenv
- image: quay.io/cidverse/pipenv:2023.11.15
provides:
- binary: pipenv
version: 2023.11.15
cache:
- id: pipenv-virtualenvs
dir: /app/.local/share/virtualenvs
- id: pipenv-cache
dir: /app/.cache/pipenv
source:
registry_url: quay.io/cidverse/pipenv
- image: quay.io/cidverse/pipenv:2023.11.17
provides:
- binary: pipenv
version: 2023.11.17
cache:
- id: pipenv-virtualenvs
dir: /app/.local/share/virtualenvs
- id: pipenv-cache
dir: /app/.cache/pipenv
source:
registry_url: quay.io/cidverse/pipenv
- image: quay.io/cidverse/pipenv:2023.3.18
provides:
- binary: pipenv
version: 2023.3.18
cache:
- id: pipenv-virtualenvs
dir: /app/.local/share/virtualenvs
- id: pipenv-cache
dir: /app/.cache/pipenv
source:
registry_url: quay.io/cidverse/pipenv
- image: quay.io/cidverse/pipenv:2023.3.20
provides:
- binary: pipenv
version: 2023.3.20
cache:
- id: pipenv-virtualenvs
dir: /app/.local/share/virtualenvs
- id: pipenv-cache
dir: /app/.cache/pipenv
source:
registry_url: quay.io/cidverse/pipenv