Record registry verification and protect release evidence
myfileagent-python-ci/pipeline/head This commit looks good
myfileagent-python-ci/pipeline/head This commit looks good
This commit is contained in:
@@ -5,6 +5,7 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('Checkout reviewed source') {
|
stage('Checkout reviewed source') {
|
||||||
steps {
|
steps {
|
||||||
|
deleteDir()
|
||||||
checkout scm
|
checkout scm
|
||||||
sh '''set -eu
|
sh '''set -eu
|
||||||
# Only source already present in protected main can be released.
|
# Only source already present in protected main can be released.
|
||||||
|
|||||||
@@ -68,3 +68,8 @@
|
|||||||
- Jenkinsfile.release.draft is untested and not enabled. It requires reviewed source on protected main, package publication rights, target registry authentication, scan and deployment validation before operational use.
|
- Jenkinsfile.release.draft is untested and not enabled. It requires reviewed source on protected main, package publication rights, target registry authentication, scan and deployment validation before operational use.
|
||||||
|
|
||||||
- Prepared Jenkinsfile.registry-read-setup to configure root Docker registry authentication using a separate read-only Jenkins credential over pinned SSH. Draft only; not run. Root Docker configuration will hold authentication material and must be protected and removed after assessment.
|
- Prepared Jenkinsfile.registry-read-setup to configure root Docker registry authentication using a separate read-only Jenkins credential over pinned SSH. Draft only; not run. Root Docker configuration will hold authentication material and must be protected and removed after assessment.
|
||||||
|
|
||||||
|
## Registry reader and release guard
|
||||||
|
- Jenkins assignment8-validation #5 authenticated the Droplet root Docker client with assignment8-registry-read; login succeeded. Docker warned that its root configuration stores credentials without encryption; restrict access and remove after assessment. Actual image pull has not yet been proven. Evidence: https://ci.myfileagent.tech/job/assignment8-validation/5/console .
|
||||||
|
- Draft release pipeline parsed and Jenkins build #6 stopped at the protected-main ancestry guard for the unmerged feature commit; image publication and deployment stages were skipped. Evidence: https://ci.myfileagent.tech/job/assignment8-validation/6/console . Added a workspace clean before checkout to prevent old reports being archived in future runs; that revision remains untested.
|
||||||
|
- Build #6 used a reused workspace and its post step archived pre-existing reports; those artifacts are stale and must not be presented as build #6 scan evidence. The draft now deletes the workspace before checkout to prevent recurrence; that correction is not yet verified.
|
||||||
|
|||||||
Reference in New Issue
Block a user