Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
25246ce
refactor(ci): modularize pipeline utilities into lib/ structure
gustavolira Dec 8, 2025
7a82b01
fix(ci): address all SonarQube code quality issues in lib modules
gustavolira Dec 8, 2025
c6ee6c2
refactor(ci): address zdrapela review comments
gustavolira Dec 10, 2025
c6c4d3a
fix(ci): skip Tekton installation for K8s deployments (AKS/EKS/GKE)
gustavolira Dec 11, 2025
5c52075
fix(ci): add spot node tolerations for Backstage pods in AKS
gustavolira Dec 11, 2025
8371117
fix(ci): comment out undefined EKS verify functions
gustavolira Dec 11, 2025
8b8566f
fix(ci): wait for OpenShift Pipelines CRDs before applying Tekton YAMLs
gustavolira Dec 12, 2025
695286b
refactor(ci): implement k8s_wait::crd function for CRD availability c…
gustavolira Dec 15, 2025
ccca171
fix(ci): ensure Backstage CRD availability checks are consistent
gustavolira Dec 15, 2025
84dc17d
fix(ci): ensure CRD availability checks return proper status
gustavolira Dec 15, 2025
d44db71
fix(ci): enhance error handling in OpenShift authentication and deplo…
gustavolira Dec 15, 2025
75474a0
fix(ci): correct deployment name in OpenShift Pipelines checks
gustavolira Dec 16, 2025
f107a7c
fix(ci): increase timeout for Tekton webhook endpoint checks
gustavolira Dec 17, 2025
031a6b6
fix(ci): add missing lib/common.sh imports in job files
gustavolira Jan 2, 2026
960b85f
refactor(ci): add constants for repeated string literals in utils.sh
gustavolira Jan 2, 2026
274637d
fix(ci): update OpenShift Pipelines checks to use OPERATOR_NAMESPACE
gustavolira Jan 2, 2026
0a5ff1a
fix(ci): improve configmap retrieval logic in utils.sh
gustavolira Jan 2, 2026
16393ed
fix(ci): clean up whitespace and improve readability in utils.sh
gustavolira Jan 2, 2026
e90b853
fix(ci): enhance diagnostic logging in k8s-wait.sh on deployment timeout
gustavolira Jan 5, 2026
1c869b3
fix(ci): improve plugin merging logic in utils.sh
gustavolira Jan 5, 2026
a54fd5e
fix(ci): refine plugin merging logic in utils.sh
gustavolira Jan 6, 2026
1cf1fbd
refactor(ci): simplify orchestrator plugins enabling logic in utils.sh
gustavolira Jan 6, 2026
b771cb6
fix(ci): add wait mechanism for PostgreSQL readiness in rbac_deployme…
gustavolira Jan 6, 2026
67ad32a
fix(ci): add error handling and wait mechanism for Backstage resource…
gustavolira Jan 7, 2026
2c091b4
fix(ci): add verification and wait mechanism for PostgresCluster reso…
gustavolira Jan 7, 2026
019c8fa
fix(ci): enhance wait mechanism for database resource creation in ope…
gustavolira Jan 7, 2026
6138e50
fix(ci): streamline wait logic in operator deployment for database re…
gustavolira Jan 7, 2026
13a7a4e
fix(ci): enhance orchestrator plugins enabling process in utils.sh
gustavolira Jan 8, 2026
db96276
fix(ci): improve error handling and logging in operator deployment fo…
gustavolira Jan 8, 2026
4afc466
fix(ci): refine plugin merging logic in enable_orchestrator_plugins_o…
gustavolira Jan 8, 2026
a3f02fc
fix(ci): update logging for orchestrator plugins enabling process in …
gustavolira Jan 8, 2026
8d59b19
fix(ci): eliminate log:: function bug in timeout subshells
gustavolira Jan 12, 2026
40c62f5
fix(ci): update Backstage CR to v1alpha5 API with deployment patch
gustavolira Jan 12, 2026
24eb603
fix(ci): correct misleading comment in enable_orchestrator_plugins_op
gustavolira Jan 13, 2026
469d243
fix(ci): remove conflicting volume patch from v1alpha5 Backstage CRs
gustavolira Jan 13, 2026
656c7b5
chore: comment out SonarQube dynamic plugin configuration
gustavolira Jan 21, 2026
7c6651c
refactor(ci): eliminate code duplication and add reusable helpers
gustavolira Jan 28, 2026
e7932b0
revert: restore diff-values_showcase-sanity-plugins.yaml to original
gustavolira Jan 28, 2026
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
49 changes: 49 additions & 0 deletions .ibm/pipelines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,52 @@ retrieve ephemeral environment credentials.
- `KEYCLOAK_AUTH_CLIENT_SECRET`
- `KEYCLOAK_AUTH_LOGIN_REALM`
- `KEYCLOAK_AUTH_REALM`

---

## Development Guidelines

### Code Quality

The `.ibm` directory contains linting and formatting tools for pipeline scripts.

Install dependencies:

```bash
cd .ibm
yarn install
```

Available commands:

- `yarn shellcheck` - Lint shell scripts (must pass with zero warnings)
- `yarn prettier:check` - Check file formatting
- `yarn prettier:fix` - Auto-format files

Before submitting a PR:

```bash
cd .ibm
yarn prettier:fix
yarn shellcheck
```

### Modular Architecture

Pipeline utilities are organized into modules in `.ibm/pipelines/lib/`:

- `log.sh` - Logging functions
- `common.sh` - Common utilities (oc_login, sed_inplace, etc.)
- `k8s-wait.sh` - Kubernetes wait/polling operations
- `operators.sh` - Operator installations

Usage example:

```bash
# Using modular functions
k8s_wait::deployment "namespace" "deployment"
common::oc_login
operator::install_pipelines
```

See `lib/README.md` for module details.
Loading
Loading