Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,13 @@ images:
items:
- dockerfile_path: ci/Containerfile
to: rosa-gap-analysis
prowgen:
expose: true
private: true
resources:
'*':
limits:
memory: 1Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: nightly
commands: |
set -euo pipefail
mkdir -p ${ARTIFACT_DIR}/rosa-gap-analysis-reports
REPORT_DIR=${ARTIFACT_DIR}/rosa-gap-analysis-reports ./scripts/gap-all.sh
container:
from: rosa-gap-analysis
cron: 0 6 * * *
zz_generated_metadata:
branch: main
org: openshift-online
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
build_root:
project_image:
dockerfile_path: ci/Containerfile
use_build_cache: true
images:
items:
- dockerfile_path: ci/Containerfile
to: rosa-gap-analysis
resources:
'*':
limits:
memory: 1Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: nightly-4-19
commands: |
set -euo pipefail
mkdir -p ${ARTIFACT_DIR}/rosa-gap-analysis-reports
export REPORT_DIR=${ARTIFACT_DIR}/rosa-gap-analysis-reports
export OPENSHIFT_VERSION=4.19
./scripts/gap-all.sh
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's inside the script? can we register this as a separated step?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The script https://github.com/openshift-online/rosa-gap-analysis/blob/main/scripts/gap-all.sh invokes the gap-analysis steps one by one i.e AWS STS policies checks, GCP WIF checks, OCP Admin gates check and FeatureGates check.

Yeah, this will certainly evolve with time. There will be more checks added and we can tie it more natively with CI as well. As discussed, can take it up in another iteration soon

container:
from: rosa-gap-analysis
cron: 0 6 * * *
- as: nightly-4-20
commands: |
set -euo pipefail
mkdir -p ${ARTIFACT_DIR}/rosa-gap-analysis-reports
export REPORT_DIR=${ARTIFACT_DIR}/rosa-gap-analysis-reports
export OPENSHIFT_VERSION=4.20
./scripts/gap-all.sh
container:
from: rosa-gap-analysis
cron: 30 6 * * *
- as: nightly-4-21
commands: |
set -euo pipefail
mkdir -p ${ARTIFACT_DIR}/rosa-gap-analysis-reports
export REPORT_DIR=${ARTIFACT_DIR}/rosa-gap-analysis-reports
export OPENSHIFT_VERSION=4.21
./scripts/gap-all.sh
container:
from: rosa-gap-analysis
cron: 0 7 * * *
- as: nightly-4-22
commands: |
set -euo pipefail
mkdir -p ${ARTIFACT_DIR}/rosa-gap-analysis-reports
export REPORT_DIR=${ARTIFACT_DIR}/rosa-gap-analysis-reports
export OPENSHIFT_VERSION=4.22
./scripts/gap-all.sh
container:
from: rosa-gap-analysis
cron: 30 7 * * *
- as: nightly-5-0
commands: |
set -euo pipefail
mkdir -p ${ARTIFACT_DIR}/rosa-gap-analysis-reports
export REPORT_DIR=${ARTIFACT_DIR}/rosa-gap-analysis-reports
export OPENSHIFT_VERSION=5.0
./scripts/gap-all.sh
container:
from: rosa-gap-analysis
cron: 0 8 * * *
zz_generated_metadata:
branch: main
org: openshift-online
repo: rosa-gap-analysis
variant: periodics
Loading