cici-tools 0.17.1__tar.gz → 0.18.1__tar.gz
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.
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.gitlab-ci.yml +1 -1
- {cici_tools-0.17.1/cici_tools.egg-info → cici_tools-0.18.1}/PKG-INFO +1 -1
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/_version.py +3 -3
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/providers/gitlab/serializers.py +11 -1
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/providers/gitlab/yaml_style.py +25 -8
- {cici_tools-0.17.1 → cici_tools-0.18.1/cici_tools.egg-info}/PKG-INFO +1 -1
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici_tools.egg-info/SOURCES.txt +1 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/pyproject.toml +1 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/requirements.txt +1 -1
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/helm/helm-cm-push.yml +3 -4
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/helm/helm-docs.yml +2 -3
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/helm/helm-lint.yml +2 -1
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-development-trivy.yml +2 -3
- {cici_tools-0.17.1/tests/fixtures/gitlab/targets-dir → cici_tools-0.18.1/tests/fixtures/gitlab/job-variables}/opentofu-module-build.yml +4 -10
- {cici_tools-0.17.1/tests/fixtures/gitlab/targets-dir → cici_tools-0.18.1/tests/fixtures/gitlab/job-variables}/opentofu-production-trivy.yml +2 -3
- {cici_tools-0.17.1/tests/fixtures/gitlab/targets-dir → cici_tools-0.18.1/tests/fixtures/gitlab/job-variables}/opentofu-staging-trivy.yml +2 -3
- {cici_tools-0.17.1/tests/fixtures/gitlab/targets-dir → cici_tools-0.18.1/tests/fixtures/gitlab/job-variables}/opentofu-trivy.yml +2 -3
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-docker-multiarch-amd64.yml +11 -13
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-docker-multiarch-arm32v6.yml +11 -13
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-docker-multiarch-arm32v7.yml +11 -13
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-docker-multiarch-arm64v8.yml +11 -13
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-docker-multiarch-i386.yml +11 -13
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-docker-multiarch-manifest.yml +6 -5
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-docker-multiarch.yml +11 -13
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-docker.yml +9 -10
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-trivy.yml +12 -10
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-development-trivy.yml +2 -3
- {cici_tools-0.17.1/tests/fixtures/gitlab/job-variables → cici_tools-0.18.1/tests/fixtures/gitlab/targets-dir}/opentofu-module-build.yml +4 -10
- {cici_tools-0.17.1/tests/fixtures/gitlab/job-variables → cici_tools-0.18.1/tests/fixtures/gitlab/targets-dir}/opentofu-production-trivy.yml +2 -3
- {cici_tools-0.17.1/tests/fixtures/gitlab/job-variables → cici_tools-0.18.1/tests/fixtures/gitlab/targets-dir}/opentofu-staging-trivy.yml +2 -3
- {cici_tools-0.17.1/tests/fixtures/gitlab/job-variables → cici_tools-0.18.1/tests/fixtures/gitlab/targets-dir}/opentofu-trivy.yml +2 -3
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/test_precommit_hook_injection.py +2 -2
- cici_tools-0.18.1/tests/test_yaml_style.py +147 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.cici/README.md.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.cici/config.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.dockerignore +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.gitignore +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.licenserc.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.pre-commit-config.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.pre-commit-hooks.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.prettierignore +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.prettierrc.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/.secrets.baseline +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/Dockerfile +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/LICENSE +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/MANIFEST.in +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/NOTICE +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/README.md +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/__init__.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/__main__.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/cli/__init__.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/cli/bundle.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/cli/readme.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/cli/schema.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/cli/update.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/config/__init__.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/config/project/__init__.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/config/project/models.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/config/project/serializers.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/config/user.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/constants.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/exceptions.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/main.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/paths.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/providers/__init__.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/providers/gitlab/__init__.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/providers/gitlab/constants.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/providers/gitlab/models.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/providers/gitlab/normalizers.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/providers/gitlab/utils.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/py.typed +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/schema/LICENSE.gitlab +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/schema/__init__.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/schema/gitlab-ci.json +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/templates/README.md.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/templates/__init__.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/templates/brief.md.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/templates/description.md.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/templates/group-list.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/templates/groups.md.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/templates/target-list.md.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/templates/target-table.md.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/templates/targets.md.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/templates/variable-list.md.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/templates/variables.md.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici/utils.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici-bundle.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici-readme.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici-update.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici_tools.egg-info/dependency_links.txt +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici_tools.egg-info/entry_points.txt +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici_tools.egg-info/requires.txt +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/cici_tools.egg-info/top_level.txt +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/docs/bundle.md +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/docs/config-file.md +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/docs/getting-started.md +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/docs/gitlab-includes.md +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/docs/index.md +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/docs/install.md +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/docs/readme.md +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/docs/style.css +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/docs/update.md +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/makefile +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/mkdocs.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/scripts/gen-api-doc.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/setup.cfg +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/extends/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/extends/simple-job.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/helm/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/.cici/config.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-development-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-development-auto-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-development-destroy.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-development-plan.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-development-validate.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-fmt.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-module-release.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-production-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-production-auto-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-production-destroy.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-production-plan.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-production-validate.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-staging-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-staging-auto-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-staging-destroy.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-staging-plan.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-staging-validate.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/job-variables/opentofu-validate.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/library-validator/.cici/README.md.j2 +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/library-validator/.cici/config.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/library-validator/README.md +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/list-anchors/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/list-anchors/install.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/nested-extends/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/nested-extends/simple-job.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/reports/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/reports/reports-container-scanning.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/reports/reports-coverage.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/reports/reports-junit.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/reports/reports-terraform.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/.cici/config.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-hadolint.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/simple/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/simple/simple-job.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/stages/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/stages/simple-job.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/config.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-development-apply.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-development-auto-apply.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-development-destroy.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-development-plan.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-development-validate.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-fmt.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-module-build.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-module-release.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-production-apply.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-production-auto-apply.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-production-destroy.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-production-plan.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-production-trivy.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-production-validate.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-staging-apply.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-staging-auto-apply.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-staging-destroy.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-staging-plan.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-staging-trivy.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-staging-validate.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-trivy.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/opentofu-validate.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/.cici/targets/tofu-development-trivy.yaml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-development-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-development-auto-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-development-destroy.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-development-plan.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-development-validate.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-fmt.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-module-release.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-production-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-production-auto-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-production-destroy.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-production-plan.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-production-validate.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-staging-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-staging-auto-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-staging-destroy.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-staging-plan.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-staging-validate.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/targets-dir/opentofu-validate.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/terraform/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/terraform/terraform-fmt.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/terraform/terraform-production-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/terraform/terraform-production-plan.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/terraform/terraform-staging-apply.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/terraform/terraform-staging-destroy.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/variables/.cici/.gitlab-ci.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/variables/simple-job.yml +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/test_build.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/test_cli.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/test_expand_job_extends.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/test_import.py +0 -0
- {cici_tools-0.17.1 → cici_tools-0.18.1}/tests/test_resolve_targets.py +0 -0
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.
|
|
32
|
-
__version_tuple__ = version_tuple = (0,
|
|
31
|
+
__version__ = version = '0.18.1'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 18, 1)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'g340c844f3'
|
|
@@ -327,13 +327,23 @@ def dump(
|
|
|
327
327
|
data = unpack_jobs(data)
|
|
328
328
|
data = style_scalars(data)
|
|
329
329
|
|
|
330
|
+
# DEBUG
|
|
331
|
+
# job = data.get("opentofu-trivy") or {}
|
|
332
|
+
# script = job.get("script") or []
|
|
333
|
+
# if script:
|
|
334
|
+
# print("\n[DUMP DEBUG] opentofu-trivy script[0] type:", type(script[0]))
|
|
335
|
+
# print("[DUMP DEBUG] script[0] repr:", repr(str(script[0])))
|
|
336
|
+
# print("[DUMP DEBUG] contains \\n\\n?:", "\n\n" in str(script[0]))
|
|
337
|
+
# print("[DUMP DEBUG] contains \\n?:", "\n" in str(script[0]))
|
|
338
|
+
# END DEBUG
|
|
339
|
+
|
|
330
340
|
# user round trip mode to preserve ruamel scalar styles (FoldedScalarString etc)
|
|
331
341
|
yaml = ruamel.yaml.YAML(typ="rt")
|
|
332
342
|
yaml.default_flow_style = False
|
|
333
343
|
yaml.explicit_start = False
|
|
334
344
|
yaml.preserve_quotes = True # respect the quotes set in style_scalars()
|
|
335
345
|
yaml.indent(mapping=2, sequence=4, offset=2)
|
|
336
|
-
yaml.width =
|
|
346
|
+
yaml.width = 120 # prevent unwanted line wrapping
|
|
337
347
|
# makes sure ruamel.yml to always emit double quoted strings """"
|
|
338
348
|
yaml.representer.add_representer(DoubleQuotedScalarString, always_double_quoted)
|
|
339
349
|
|
|
@@ -46,17 +46,34 @@ def make_scalar_string(line: str, quote: bool = False):
|
|
|
46
46
|
|
|
47
47
|
# fix extra - >- between lines accidentally created with echo commands
|
|
48
48
|
if unindented.startswith("echo "):
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
stripped = unindented.strip()
|
|
50
|
+
|
|
51
|
+
if len(stripped) < 100 and not any(
|
|
52
|
+
sym in stripped for sym in ("&&", ";", "\\", "|")
|
|
52
53
|
):
|
|
53
|
-
return
|
|
54
|
+
return stripped
|
|
54
55
|
|
|
55
|
-
|
|
56
|
+
folded_scalar = FoldedScalarString(stripped)
|
|
57
|
+
|
|
58
|
+
# If its piping "echo... | docker login ...", fold at the pipe for correct display
|
|
59
|
+
if " | " in stripped:
|
|
60
|
+
pipe_position = stripped.index(" | ")
|
|
61
|
+
folded_scalar.fold_pos = [pipe_position] # type: ignore[attr-defined]
|
|
62
|
+
|
|
63
|
+
return folded_scalar
|
|
56
64
|
|
|
57
|
-
#
|
|
65
|
+
# Folding long lines logic (like a script that is super long so that it does not do anything weird in the folding process)
|
|
58
66
|
if unindented.startswith(("docker ", "helm ", "tar ", "curl ")):
|
|
59
|
-
|
|
67
|
+
command_string = unindented.strip()
|
|
68
|
+
|
|
69
|
+
folded_scalar = FoldedScalarString(command_string)
|
|
70
|
+
|
|
71
|
+
if " | " in command_string:
|
|
72
|
+
pipe_position = command_string.index(" | ")
|
|
73
|
+
# mypy does not like fold_pos however it solves an issue that breaks the .gitlab-ci.yaml
|
|
74
|
+
folded_scalar.fold_pos = [pipe_position] # type: ignore[attr-defined]
|
|
75
|
+
|
|
76
|
+
return folded_scalar
|
|
60
77
|
|
|
61
78
|
# Multi-command sequences get folded
|
|
62
79
|
if any(sym in unindented for sym in ("&&", ";", "\\")):
|
|
@@ -339,7 +356,7 @@ def style_scalars(
|
|
|
339
356
|
"on_success",
|
|
340
357
|
"on_failure",
|
|
341
358
|
"manual",
|
|
342
|
-
"cobertura", #
|
|
359
|
+
"cobertura", # coverage format
|
|
343
360
|
"sigstore",
|
|
344
361
|
}
|
|
345
362
|
if stripped in UNQUOTED_KEYWORDS:
|
|
@@ -85,6 +85,7 @@ tests/test_expand_job_extends.py
|
|
|
85
85
|
tests/test_import.py
|
|
86
86
|
tests/test_precommit_hook_injection.py
|
|
87
87
|
tests/test_resolve_targets.py
|
|
88
|
+
tests/test_yaml_style.py
|
|
88
89
|
tests/fixtures/gitlab/extends/simple-job.yml
|
|
89
90
|
tests/fixtures/gitlab/extends/.cici/.gitlab-ci.yml
|
|
90
91
|
tests/fixtures/gitlab/helm/helm-cm-push.yml
|
|
@@ -30,7 +30,8 @@ helm-cm-push:
|
|
|
30
30
|
before_script:
|
|
31
31
|
- apk add --no-cache curl
|
|
32
32
|
- >-
|
|
33
|
-
curl -sS -o - https://get.helm.sh/helm-v3.8.0-linux-amd64.tar.gz
|
|
33
|
+
curl -sS -o - https://get.helm.sh/helm-v3.8.0-linux-amd64.tar.gz
|
|
34
|
+
| tar --strip-components 1 -xzf - linux-amd64/helm
|
|
34
35
|
- install helm /usr/local/bin/
|
|
35
36
|
- rm -f helm
|
|
36
37
|
- >-
|
|
@@ -40,8 +41,6 @@ helm-cm-push:
|
|
|
40
41
|
- >-
|
|
41
42
|
helm plugin install https://github.com/chartmuseum/helm-push
|
|
42
43
|
- >-
|
|
43
|
-
helm cm-push --version "$HELM_CHART_VERSION" --app-version "$HELM_CHART_VERSION" "$HELM_CHART_PATH"
|
|
44
|
-
|
|
45
|
-
"$HELM_REPOSITORY_URL"
|
|
44
|
+
helm cm-push --version "$HELM_CHART_VERSION" --app-version "$HELM_CHART_VERSION" "$HELM_CHART_PATH" "$HELM_REPOSITORY_URL"
|
|
46
45
|
rules:
|
|
47
46
|
- if: $CI_COMMIT_TAG
|
|
@@ -27,9 +27,8 @@ helm-docs:
|
|
|
27
27
|
before_script:
|
|
28
28
|
- apk add --no-cache curl
|
|
29
29
|
- >-
|
|
30
|
-
curl -sSL -o - https://github.com/norwoodj/helm-docs/releases/download/v1.7.0/helm-docs_1.7.0_Linux_x86_64.tar.gz
|
|
31
|
-
|
|
32
|
-
xzf - helm-docs
|
|
30
|
+
curl -sSL -o - https://github.com/norwoodj/helm-docs/releases/download/v1.7.0/helm-docs_1.7.0_Linux_x86_64.tar.gz
|
|
31
|
+
| tar xzf - helm-docs
|
|
33
32
|
- install helm-docs /usr/local/bin/
|
|
34
33
|
- rm -f helm-docs
|
|
35
34
|
- helm-docs --version
|
|
@@ -27,7 +27,8 @@ helm-lint:
|
|
|
27
27
|
before_script:
|
|
28
28
|
- apk add --no-cache curl
|
|
29
29
|
- >-
|
|
30
|
-
curl -sS -o - https://get.helm.sh/helm-v3.8.0-linux-amd64.tar.gz
|
|
30
|
+
curl -sS -o - https://get.helm.sh/helm-v3.8.0-linux-amd64.tar.gz
|
|
31
|
+
| tar --strip-components 1 -xzf - linux-amd64/helm
|
|
31
32
|
- install helm /usr/local/bin/
|
|
32
33
|
- rm -f helm
|
|
33
34
|
- >-
|
|
@@ -47,9 +47,8 @@ opentofu-development-trivy:
|
|
|
47
47
|
- cd "${OPENTOFU_ROOT}"
|
|
48
48
|
script:
|
|
49
49
|
- >-
|
|
50
|
-
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
51
|
-
|
|
52
|
-
/usr/local/bin/ -xzf - trivy
|
|
50
|
+
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
51
|
+
| tar -C /usr/local/bin/ -xzf - trivy
|
|
53
52
|
- trivy config "${OPENTOFU_ROOT}/plan.json"
|
|
54
53
|
cache:
|
|
55
54
|
key: $OPENTOFU_STATE_NAME
|
|
@@ -41,17 +41,11 @@ opentofu-module-build:
|
|
|
41
41
|
script:
|
|
42
42
|
- OPENTOFU_MODULE_NAME=$(echo "${OPENTOFU_MODULE_NAME}" | tr " _" -)
|
|
43
43
|
- >-
|
|
44
|
-
tar -vczf /tmp/${OPENTOFU_MODULE_NAME}-${OPENTOFU_MODULE_SYSTEM}-${OPENTOFU_MODULE_VERSION}.tgz -C
|
|
45
|
-
|
|
46
|
-
${OPENTOFU_MODULE_DIR} --exclude=./.git .
|
|
44
|
+
tar -vczf /tmp/${OPENTOFU_MODULE_NAME}-${OPENTOFU_MODULE_SYSTEM}-${OPENTOFU_MODULE_VERSION}.tgz -C ${OPENTOFU_MODULE_DIR}
|
|
45
|
+
--exclude=./.git .
|
|
47
46
|
- >-
|
|
48
|
-
curl --fail-with-body --location --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file
|
|
49
|
-
|
|
50
|
-
/tmp/${OPENTOFU_MODULE_NAME}-${OPENTOFU_MODULE_SYSTEM}-${OPENTOFU_MODULE_VERSION}.tgz
|
|
51
|
-
|
|
52
|
-
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/terraform/modules/${OPENTOFU_MODULE_NAME}/${OPENTOFU_MODULE_SYSTEM}/
|
|
53
|
-
|
|
54
|
-
${OPENTOFU_MODULE_VERSION}/file
|
|
47
|
+
curl --fail-with-body --location --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file /tmp/${OPENTOFU_MODULE_NAME}-${OPENTOFU_MODULE_SYSTEM}-${OPENTOFU_MODULE_VERSION}.tgz
|
|
48
|
+
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/terraform/modules/${OPENTOFU_MODULE_NAME}/${OPENTOFU_MODULE_SYSTEM}/${OPENTOFU_MODULE_VERSION}/file
|
|
55
49
|
cache: {}
|
|
56
50
|
dependencies: []
|
|
57
51
|
rules:
|
|
@@ -47,9 +47,8 @@ opentofu-production-trivy:
|
|
|
47
47
|
- cd "${OPENTOFU_ROOT}"
|
|
48
48
|
script:
|
|
49
49
|
- >-
|
|
50
|
-
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
51
|
-
|
|
52
|
-
/usr/local/bin/ -xzf - trivy
|
|
50
|
+
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
51
|
+
| tar -C /usr/local/bin/ -xzf - trivy
|
|
53
52
|
- trivy config "${OPENTOFU_ROOT}/plan.json"
|
|
54
53
|
cache:
|
|
55
54
|
key: $OPENTOFU_STATE_NAME
|
|
@@ -47,9 +47,8 @@ opentofu-staging-trivy:
|
|
|
47
47
|
- cd "${OPENTOFU_ROOT}"
|
|
48
48
|
script:
|
|
49
49
|
- >-
|
|
50
|
-
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
51
|
-
|
|
52
|
-
/usr/local/bin/ -xzf - trivy
|
|
50
|
+
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
51
|
+
| tar -C /usr/local/bin/ -xzf - trivy
|
|
53
52
|
- trivy config "${OPENTOFU_ROOT}/plan.json"
|
|
54
53
|
cache:
|
|
55
54
|
key: $OPENTOFU_STATE_NAME
|
|
@@ -46,9 +46,8 @@ opentofu-trivy:
|
|
|
46
46
|
- cd "${OPENTOFU_ROOT}"
|
|
47
47
|
script:
|
|
48
48
|
- >-
|
|
49
|
-
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
50
|
-
|
|
51
|
-
/usr/local/bin/ -xzf - trivy
|
|
49
|
+
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
50
|
+
| tar -C /usr/local/bin/ -xzf - trivy
|
|
52
51
|
- trivy config .
|
|
53
52
|
cache:
|
|
54
53
|
key: $OPENTOFU_STATE_NAME
|
|
@@ -91,13 +91,14 @@ container-docker-multiarch-amd64:
|
|
|
91
91
|
- >-
|
|
92
92
|
docker --version
|
|
93
93
|
- >-
|
|
94
|
-
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
94
|
+
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
95
|
+
| docker login "$CONTAINER_REGISTRY" -u "$CONTAINER_REGISTRY_USER" --password-stdin
|
|
95
96
|
- >-
|
|
96
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
97
|
-
|
|
98
|
-
--password-stdin
|
|
97
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
98
|
+
| docker login "$CI_DEPENDENCY_PROXY_SERVER" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
99
99
|
- >-
|
|
100
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
100
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
101
|
+
| docker login "$CI_SERVER_HOST" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
101
102
|
- apk add --no-cache cosign
|
|
102
103
|
- _CONTAINER_OPTS="$CONTAINER_BUILD_OPTS"
|
|
103
104
|
- _CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_IMAGE}-${CONTAINER_COMMIT_SHORT_SHA}-${CONTAINER_DOCKER_ARCH}"
|
|
@@ -106,14 +107,11 @@ container-docker-multiarch-amd64:
|
|
|
106
107
|
_CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_NAME}:latest-${CONTAINER_DOCKER_ARCH}"
|
|
107
108
|
fi
|
|
108
109
|
- >-
|
|
109
|
-
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
116
|
-
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}' "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
110
|
+
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg "CONTAINER_DOCKER_MACHINE_ARCH=$CONTAINER_DOCKER_MACHINE_ARCH"
|
|
111
|
+
--build-arg "CONTAINER_VERSION=$CONTAINER_VERSION" --file "${CONTAINER_DOCKERFILE}" --platform "$CONTAINER_DOCKER_PLATFORM"
|
|
112
|
+
--progress plain --push --tag "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
113
|
+
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}'
|
|
114
|
+
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
117
115
|
- cosign sign --yes "$COSIGN_IMAGE_DIGEST"
|
|
118
116
|
- mkdir -p dist/container/arch
|
|
119
117
|
- touch "dist/container/arch/${CONTAINER_DOCKER_ARCH}"
|
|
@@ -91,13 +91,14 @@ container-docker-multiarch-arm32v6:
|
|
|
91
91
|
- >-
|
|
92
92
|
docker --version
|
|
93
93
|
- >-
|
|
94
|
-
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
94
|
+
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
95
|
+
| docker login "$CONTAINER_REGISTRY" -u "$CONTAINER_REGISTRY_USER" --password-stdin
|
|
95
96
|
- >-
|
|
96
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
97
|
-
|
|
98
|
-
--password-stdin
|
|
97
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
98
|
+
| docker login "$CI_DEPENDENCY_PROXY_SERVER" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
99
99
|
- >-
|
|
100
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
100
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
101
|
+
| docker login "$CI_SERVER_HOST" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
101
102
|
- apk add --no-cache cosign
|
|
102
103
|
- _CONTAINER_OPTS="$CONTAINER_BUILD_OPTS"
|
|
103
104
|
- _CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_IMAGE}-${CONTAINER_COMMIT_SHORT_SHA}-${CONTAINER_DOCKER_ARCH}"
|
|
@@ -106,14 +107,11 @@ container-docker-multiarch-arm32v6:
|
|
|
106
107
|
_CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_NAME}:latest-${CONTAINER_DOCKER_ARCH}"
|
|
107
108
|
fi
|
|
108
109
|
- >-
|
|
109
|
-
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
116
|
-
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}' "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
110
|
+
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg "CONTAINER_DOCKER_MACHINE_ARCH=$CONTAINER_DOCKER_MACHINE_ARCH"
|
|
111
|
+
--build-arg "CONTAINER_VERSION=$CONTAINER_VERSION" --file "${CONTAINER_DOCKERFILE}" --platform "$CONTAINER_DOCKER_PLATFORM"
|
|
112
|
+
--progress plain --push --tag "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
113
|
+
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}'
|
|
114
|
+
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
117
115
|
- cosign sign --yes "$COSIGN_IMAGE_DIGEST"
|
|
118
116
|
- mkdir -p dist/container/arch
|
|
119
117
|
- touch "dist/container/arch/${CONTAINER_DOCKER_ARCH}"
|
|
@@ -91,13 +91,14 @@ container-docker-multiarch-arm32v7:
|
|
|
91
91
|
- >-
|
|
92
92
|
docker --version
|
|
93
93
|
- >-
|
|
94
|
-
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
94
|
+
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
95
|
+
| docker login "$CONTAINER_REGISTRY" -u "$CONTAINER_REGISTRY_USER" --password-stdin
|
|
95
96
|
- >-
|
|
96
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
97
|
-
|
|
98
|
-
--password-stdin
|
|
97
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
98
|
+
| docker login "$CI_DEPENDENCY_PROXY_SERVER" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
99
99
|
- >-
|
|
100
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
100
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
101
|
+
| docker login "$CI_SERVER_HOST" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
101
102
|
- apk add --no-cache cosign
|
|
102
103
|
- _CONTAINER_OPTS="$CONTAINER_BUILD_OPTS"
|
|
103
104
|
- _CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_IMAGE}-${CONTAINER_COMMIT_SHORT_SHA}-${CONTAINER_DOCKER_ARCH}"
|
|
@@ -106,14 +107,11 @@ container-docker-multiarch-arm32v7:
|
|
|
106
107
|
_CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_NAME}:latest-${CONTAINER_DOCKER_ARCH}"
|
|
107
108
|
fi
|
|
108
109
|
- >-
|
|
109
|
-
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
116
|
-
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}' "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
110
|
+
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg "CONTAINER_DOCKER_MACHINE_ARCH=$CONTAINER_DOCKER_MACHINE_ARCH"
|
|
111
|
+
--build-arg "CONTAINER_VERSION=$CONTAINER_VERSION" --file "${CONTAINER_DOCKERFILE}" --platform "$CONTAINER_DOCKER_PLATFORM"
|
|
112
|
+
--progress plain --push --tag "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
113
|
+
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}'
|
|
114
|
+
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
117
115
|
- cosign sign --yes "$COSIGN_IMAGE_DIGEST"
|
|
118
116
|
- mkdir -p dist/container/arch
|
|
119
117
|
- touch "dist/container/arch/${CONTAINER_DOCKER_ARCH}"
|
|
@@ -91,13 +91,14 @@ container-docker-multiarch-arm64v8:
|
|
|
91
91
|
- >-
|
|
92
92
|
docker --version
|
|
93
93
|
- >-
|
|
94
|
-
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
94
|
+
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
95
|
+
| docker login "$CONTAINER_REGISTRY" -u "$CONTAINER_REGISTRY_USER" --password-stdin
|
|
95
96
|
- >-
|
|
96
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
97
|
-
|
|
98
|
-
--password-stdin
|
|
97
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
98
|
+
| docker login "$CI_DEPENDENCY_PROXY_SERVER" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
99
99
|
- >-
|
|
100
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
100
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
101
|
+
| docker login "$CI_SERVER_HOST" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
101
102
|
- apk add --no-cache cosign
|
|
102
103
|
- _CONTAINER_OPTS="$CONTAINER_BUILD_OPTS"
|
|
103
104
|
- _CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_IMAGE}-${CONTAINER_COMMIT_SHORT_SHA}-${CONTAINER_DOCKER_ARCH}"
|
|
@@ -106,14 +107,11 @@ container-docker-multiarch-arm64v8:
|
|
|
106
107
|
_CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_NAME}:latest-${CONTAINER_DOCKER_ARCH}"
|
|
107
108
|
fi
|
|
108
109
|
- >-
|
|
109
|
-
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
116
|
-
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}' "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
110
|
+
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg "CONTAINER_DOCKER_MACHINE_ARCH=$CONTAINER_DOCKER_MACHINE_ARCH"
|
|
111
|
+
--build-arg "CONTAINER_VERSION=$CONTAINER_VERSION" --file "${CONTAINER_DOCKERFILE}" --platform "$CONTAINER_DOCKER_PLATFORM"
|
|
112
|
+
--progress plain --push --tag "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
113
|
+
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}'
|
|
114
|
+
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
117
115
|
- cosign sign --yes "$COSIGN_IMAGE_DIGEST"
|
|
118
116
|
- mkdir -p dist/container/arch
|
|
119
117
|
- touch "dist/container/arch/${CONTAINER_DOCKER_ARCH}"
|
|
@@ -91,13 +91,14 @@ container-docker-multiarch-i386:
|
|
|
91
91
|
- >-
|
|
92
92
|
docker --version
|
|
93
93
|
- >-
|
|
94
|
-
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
94
|
+
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
95
|
+
| docker login "$CONTAINER_REGISTRY" -u "$CONTAINER_REGISTRY_USER" --password-stdin
|
|
95
96
|
- >-
|
|
96
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
97
|
-
|
|
98
|
-
--password-stdin
|
|
97
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
98
|
+
| docker login "$CI_DEPENDENCY_PROXY_SERVER" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
99
99
|
- >-
|
|
100
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
100
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
101
|
+
| docker login "$CI_SERVER_HOST" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
101
102
|
- apk add --no-cache cosign
|
|
102
103
|
- _CONTAINER_OPTS="$CONTAINER_BUILD_OPTS"
|
|
103
104
|
- _CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_IMAGE}-${CONTAINER_COMMIT_SHORT_SHA}-${CONTAINER_DOCKER_ARCH}"
|
|
@@ -106,14 +107,11 @@ container-docker-multiarch-i386:
|
|
|
106
107
|
_CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_NAME}:latest-${CONTAINER_DOCKER_ARCH}"
|
|
107
108
|
fi
|
|
108
109
|
- >-
|
|
109
|
-
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
116
|
-
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}' "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
110
|
+
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg "CONTAINER_DOCKER_MACHINE_ARCH=$CONTAINER_DOCKER_MACHINE_ARCH"
|
|
111
|
+
--build-arg "CONTAINER_VERSION=$CONTAINER_VERSION" --file "${CONTAINER_DOCKERFILE}" --platform "$CONTAINER_DOCKER_PLATFORM"
|
|
112
|
+
--progress plain --push --tag "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
113
|
+
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}'
|
|
114
|
+
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
117
115
|
- cosign sign --yes "$COSIGN_IMAGE_DIGEST"
|
|
118
116
|
- mkdir -p dist/container/arch
|
|
119
117
|
- touch "dist/container/arch/${CONTAINER_DOCKER_ARCH}"
|
|
@@ -88,13 +88,14 @@ container-docker-multiarch-manifest:
|
|
|
88
88
|
- >-
|
|
89
89
|
docker --version
|
|
90
90
|
- >-
|
|
91
|
-
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
91
|
+
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
92
|
+
| docker login "$CONTAINER_REGISTRY" -u "$CONTAINER_REGISTRY_USER" --password-stdin
|
|
92
93
|
- >-
|
|
93
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
94
|
-
|
|
95
|
-
--password-stdin
|
|
94
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
95
|
+
| docker login "$CI_DEPENDENCY_PROXY_SERVER" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
96
96
|
- >-
|
|
97
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
97
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
98
|
+
| docker login "$CI_SERVER_HOST" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
98
99
|
- apk add --no-cache cosign
|
|
99
100
|
- amend_list=""
|
|
100
101
|
- |-
|
|
@@ -88,13 +88,14 @@ container-docker-multiarch:
|
|
|
88
88
|
- >-
|
|
89
89
|
docker --version
|
|
90
90
|
- >-
|
|
91
|
-
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
91
|
+
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
92
|
+
| docker login "$CONTAINER_REGISTRY" -u "$CONTAINER_REGISTRY_USER" --password-stdin
|
|
92
93
|
- >-
|
|
93
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
94
|
-
|
|
95
|
-
--password-stdin
|
|
94
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
95
|
+
| docker login "$CI_DEPENDENCY_PROXY_SERVER" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
96
96
|
- >-
|
|
97
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
97
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
98
|
+
| docker login "$CI_SERVER_HOST" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
98
99
|
- apk add --no-cache cosign
|
|
99
100
|
- _CONTAINER_OPTS="$CONTAINER_BUILD_OPTS"
|
|
100
101
|
- _CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_IMAGE}-${CONTAINER_COMMIT_SHORT_SHA}-${CONTAINER_DOCKER_ARCH}"
|
|
@@ -103,14 +104,11 @@ container-docker-multiarch:
|
|
|
103
104
|
_CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_NAME}:latest-${CONTAINER_DOCKER_ARCH}"
|
|
104
105
|
fi
|
|
105
106
|
- >-
|
|
106
|
-
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg
|
|
107
|
-
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
113
|
-
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}' "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
107
|
+
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg "CONTAINER_DOCKER_MACHINE_ARCH=$CONTAINER_DOCKER_MACHINE_ARCH"
|
|
108
|
+
--build-arg "CONTAINER_VERSION=$CONTAINER_VERSION" --file "${CONTAINER_DOCKERFILE}" --platform "$CONTAINER_DOCKER_PLATFORM"
|
|
109
|
+
--progress plain --push --tag "${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
110
|
+
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}'
|
|
111
|
+
"${CONTAINER_IMAGE}-${CONTAINER_DOCKER_ARCH}")"
|
|
114
112
|
- cosign sign --yes "$COSIGN_IMAGE_DIGEST"
|
|
115
113
|
- mkdir -p dist/container/arch
|
|
116
114
|
- touch "dist/container/arch/${CONTAINER_DOCKER_ARCH}"
|
{cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-docker.yml
RENAMED
|
@@ -88,13 +88,14 @@ container-docker:
|
|
|
88
88
|
- >-
|
|
89
89
|
docker --version
|
|
90
90
|
- >-
|
|
91
|
-
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
91
|
+
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
92
|
+
| docker login "$CONTAINER_REGISTRY" -u "$CONTAINER_REGISTRY_USER" --password-stdin
|
|
92
93
|
- >-
|
|
93
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
94
|
-
|
|
95
|
-
--password-stdin
|
|
94
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
95
|
+
| docker login "$CI_DEPENDENCY_PROXY_SERVER" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
96
96
|
- >-
|
|
97
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
97
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
98
|
+
| docker login "$CI_SERVER_HOST" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
98
99
|
- apk add --no-cache cosign
|
|
99
100
|
- _CONTAINER_OPTS="$CONTAINER_BUILD_OPTS"
|
|
100
101
|
- _CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_IMAGE}-${CONTAINER_COMMIT_SHORT_SHA}"
|
|
@@ -103,11 +104,9 @@ container-docker:
|
|
|
103
104
|
_CONTAINER_OPTS="$_CONTAINER_OPTS --tag ${CONTAINER_NAME}:latest"
|
|
104
105
|
fi
|
|
105
106
|
- >-
|
|
106
|
-
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg "CONTAINER_PROXY=$CONTAINER_PROXY"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"${CONTAINER_IMAGE}" $_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
107
|
+
docker buildx build --build-arg "CONTAINER_NAME=$CONTAINER_NAME" --build-arg "CONTAINER_PROXY=$CONTAINER_PROXY" --build-arg
|
|
108
|
+
"CONTAINER_VERSION=$CONTAINER_VERSION" --file "${CONTAINER_DOCKERFILE}" --progress plain --push --tag "${CONTAINER_IMAGE}"
|
|
109
|
+
$_CONTAINER_OPTS "${CONTAINER_CONTEXT}"
|
|
111
110
|
- COSIGN_IMAGE_DIGEST="$(docker inspect --format='{{index .RepoDigests 0}}' "$CONTAINER_IMAGE")"
|
|
112
111
|
- cosign sign --yes "$COSIGN_IMAGE_DIGEST"
|
|
113
112
|
id_tokens:
|
{cici_tools-0.17.1 → cici_tools-0.18.1}/tests/fixtures/gitlab/service-key/container-trivy.yml
RENAMED
|
@@ -88,24 +88,26 @@ container-trivy:
|
|
|
88
88
|
- >-
|
|
89
89
|
docker --version
|
|
90
90
|
- >-
|
|
91
|
-
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
91
|
+
echo "$CONTAINER_REGISTRY_PASSWORD"
|
|
92
|
+
| docker login "$CONTAINER_REGISTRY" -u "$CONTAINER_REGISTRY_USER" --password-stdin
|
|
92
93
|
- >-
|
|
93
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
94
|
-
|
|
95
|
-
--password-stdin
|
|
94
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
95
|
+
| docker login "$CI_DEPENDENCY_PROXY_SERVER" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
96
96
|
- >-
|
|
97
|
-
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
97
|
+
echo "$CI_DEPENDENCY_PROXY_PASSWORD"
|
|
98
|
+
| docker login "$CI_SERVER_HOST" -u "$CI_DEPENDENCY_PROXY_USER" --password-stdin
|
|
98
99
|
- apk add --no-cache curl
|
|
99
100
|
- >-
|
|
100
|
-
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
101
|
-
|
|
102
|
-
-C /usr/local/bin/
|
|
101
|
+
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
102
|
+
| tar -xzf - -C /usr/local/bin/
|
|
103
103
|
- >-
|
|
104
104
|
docker pull "${CONTAINER_IMAGE}"
|
|
105
105
|
- trivy image "${CONTAINER_IMAGE}" --format json --no-progress -o "${CI_JOB_NAME_SLUG}.json"
|
|
106
106
|
- trivy convert "${CI_JOB_NAME_SLUG}.json"
|
|
107
|
-
- trivy convert "${CI_JOB_NAME_SLUG}.json" --format template --template "@/usr/local/bin/contrib/gitlab.tpl" -o
|
|
108
|
-
|
|
107
|
+
- trivy convert "${CI_JOB_NAME_SLUG}.json" --format template --template "@/usr/local/bin/contrib/gitlab.tpl" -o
|
|
108
|
+
"${CI_JOB_NAME_SLUG}-gitlab.json"
|
|
109
|
+
- trivy convert "${CI_JOB_NAME_SLUG}.json" --format template --template "@/usr/local/bin/contrib/html.tpl" -o
|
|
110
|
+
"${CI_JOB_NAME_SLUG}.html"
|
|
109
111
|
artifacts:
|
|
110
112
|
paths:
|
|
111
113
|
- ${CI_JOB_NAME_SLUG}.json
|
|
@@ -47,9 +47,8 @@ opentofu-development-trivy:
|
|
|
47
47
|
- cd "${OPENTOFU_ROOT}"
|
|
48
48
|
script:
|
|
49
49
|
- >-
|
|
50
|
-
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
51
|
-
|
|
52
|
-
/usr/local/bin/ -xzf - trivy
|
|
50
|
+
curl -sSL https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz
|
|
51
|
+
| tar -C /usr/local/bin/ -xzf - trivy
|
|
53
52
|
- trivy config "${OPENTOFU_ROOT}/plan.json"
|
|
54
53
|
cache:
|
|
55
54
|
key: $OPENTOFU_STATE_NAME
|