mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-03-14 23:00:01 +01:00
Compare commits
20 Commits
bd138dd5aa
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| f35d6e794d | |||
| b7130b835d | |||
| e911eee76b | |||
| 86a18e66f7 | |||
| ec27800d62 | |||
| 30e66ce890 | |||
| f022223da3 | |||
| 94e84d03c2 | |||
| 9915863650 | |||
| 88c41f2bcf | |||
| 9ac830a505 | |||
| e85fe9c98e | |||
| ce2460b33a | |||
| 9007376ad3 | |||
| cc91ef474c | |||
| e3e05a6430 | |||
| 4a422730b1 | |||
| 233d5c4ff8 | |||
| 6907785036 | |||
| 8c911c27a9 |
@@ -2,11 +2,16 @@
|
||||
stages: # List of stages for jobs, and their order of execution
|
||||
- notify1
|
||||
- lint
|
||||
- test
|
||||
- security
|
||||
- dast
|
||||
- build
|
||||
- clean
|
||||
- notify
|
||||
variables:
|
||||
GIT_SSH_COMMAND: "ssh -i /home/gitlab-runner/.ssh/id_rsa -o IdentitiesOnly=yes"
|
||||
CS_IMAGE: r.sectorq.eu/jaydee/builder:amd64
|
||||
|
||||
notify1:
|
||||
stage: notify1 # Should be in a later stage than the job that might fail
|
||||
when: on_success # <-- This is the key keyword
|
||||
@@ -31,6 +36,15 @@ lint:
|
||||
- rm -rf /home/gitlab-runner/builds/1fLwHSKm2/0/jaydee/portainer.tmp
|
||||
rules:
|
||||
- if: '$CI_COMMIT_MESSAGE =~ /lint/'
|
||||
|
||||
|
||||
include:
|
||||
- template: Security/SAST.gitlab-ci.yml
|
||||
- template: Security/Dependency-Scanning.gitlab-ci.yml
|
||||
- template: Security/Secret-Detection.gitlab-ci.yml
|
||||
- template: Security/DAST.gitlab-ci.yml
|
||||
- template: Security/Container-Scanning.gitlab-ci.yml
|
||||
|
||||
build-job: # This job runs in the build stage, which runs first.
|
||||
stage: build
|
||||
image: r.sectorq.eu/jaydee/builder:amd64
|
||||
@@ -99,4 +113,4 @@ notify2:
|
||||
- curl -XPOST http://192.168.77.101:8123/api/webhook/voice-notifications-tC_8YKxMJIAaQRV5riKuC7Zl --data-raw 'message=portainer build job failed'
|
||||
- rm -rf /home/gitlab-runner/builds/1fLwHSKm2/0/jaydee/portainer.tmp
|
||||
rules:
|
||||
- if: '$CI_COMMIT_MESSAGE =~ /build/'
|
||||
- if: '$CI_COMMIT_MESSAGE =~ /build/'
|
||||
|
||||
2
.gitlab/sast-ruleset.toml
Normal file
2
.gitlab/sast-ruleset.toml
Normal file
@@ -0,0 +1,2 @@
|
||||
[semgrep]
|
||||
exclude = ["bandit.B101", "java_deserialization_rule-JacksonUnsafeDeserialization"]
|
||||
0
.gitlab/secret-detection-ruleset.toml
Normal file
0
.gitlab/secret-detection-ruleset.toml
Normal file
4
main.py
4
main.py
@@ -46,7 +46,7 @@ def setup_vault():
|
||||
# Specify the mount point of your KV engine
|
||||
return vclient
|
||||
|
||||
VERSION = "0.1.67"
|
||||
VERSION = "0.1.75"
|
||||
|
||||
|
||||
defaults = {
|
||||
@@ -258,7 +258,7 @@ def prompt_missing_args(args_in, defaults_in, fields, action=None,stacks=None):
|
||||
if args.action == "create_stack":
|
||||
# input(json.dumps(stacks, indent=2))
|
||||
commands = [
|
||||
'authentik', 'bitwarden', 'bookstack', 'dockermon', 'duplicati', 'fail2ban', 'filebrowser', 'gitea', 'gitlab', 'grafana', 'grocy',
|
||||
'api_server', 'authentik', 'bitwarden', 'bookstack', 'dockermon', 'duplicati', 'fail2ban', 'filebrowser', 'gitea', 'gitlab', 'grafana', 'grocy',
|
||||
'hashicorp', 'home-assistant', 'homebox','homepage', 'immich', 'influxdb', 'jupyter', 'kestra', 'kopia', 'linkding', 'linkwarden', 'mailu3',
|
||||
'mealie', 'mediacenter', 'mosquitto', 'motioneye', 'n8n', 'nebula', 'nextcloud', 'nginx',
|
||||
'node-red', 'octoprint', 'ollama', 'onlyoffice', 'paperless-ngx', 'pihole', 'portainer-ce', 'rancher', 'registry',
|
||||
|
||||
Reference in New Issue
Block a user