This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Download the installer of the version you want to install from https://openshift-release.apps.ci.l2s4.p1.openshiftapps.com/ | |
| 2. Extract and rename the installer to include the version number (e.g., openshift-install-4.8.4) | |
| 3. If using a Mac, un-quarantine the installer so it can be executed: | |
| ``` | |
| xattr -d com.apple.quarantine /path/to/file | |
| ``` | |
| 4. Login to <https://console-openshift-console.apps.ci.l2s4.p1.openshiftapps.com/> | |
| 5. Select "Copy login command" from the user menu | |
| 6. Paste the login command into your terminal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| #BEFORE TASK | |
| apiVersion: tekton.dev/v1beta1 | |
| kind: Task | |
| metadata: | |
| name: before | |
| spec: | |
| steps: | |
| - image: quay.io/avik6028/busybox:latest | |
| name: before |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Bash script that helps to get Web Terminal working on the localhost:9000 | |
| # | |
| set -e | |
| function parseArgs() { | |
| if [ $# -eq 0 ]; then | |
| help |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: shipwright.io/v1beta1 | |
| kind: Build | |
| metadata: | |
| creationTimestamp: '2024-08-27T12:27:20Z' | |
| generation: 1 | |
| managedFields: | |
| - apiVersion: shipwright.io/v1beta1 | |
| fieldsType: FieldsV1 | |
| fieldsV1: | |
| 'f:spec': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes -subj "/CN=tekton-results-api-service.openshift-pipelines.svc.cluster.local" -addext "subjectAltName = DNS:tekton-results-api-service.openshift-pipelines.svc.cluster.local" | |
| 2. oc create secret tls -n openshift-pipelines tekton-results-tls --cert=cert.pem --key=key.pem | |
| 3. oc create secret generic tekton-results-postgres --namespace=openshift-pipelines --from-literal=POSTGRES_USER=result --from-literal=POSTGRES_PASSWORD=$(openssl rand -base64 20) | |
| 4. cat pvc.yaml | |
| apiVersion: v1 | |
| kind: PersistentVolumeClaim | |
| metadata: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: tekton.dev/v1beta1 | |
| kind: ClusterTask | |
| metadata: | |
| name: func-buildpacks | |
| labels: | |
| app.kubernetes.io/version: "0.1" | |
| annotations: | |
| tekton.dev/categories: Image Build | |
| tekton.dev/pipelines.minVersion: "0.17.0" | |
| tekton.dev/tags: image-build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: tekton.dev/v1beta1 | |
| kind: ClusterTask | |
| metadata: | |
| name: func-buildpacks | |
| labels: | |
| app.kubernetes.io/version: "0.1" | |
| annotations: | |
| tekton.dev/categories: Image Build | |
| tekton.dev/pipelines.minVersion: "0.17.0" | |
| tekton.dev/tags: image-build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: cluster-monitoring-config | |
| namespace: openshift-monitoring | |
| data: | |
| config.yaml: | | |
| enableUserWorkload: true | |
| --- | |
| apiVersion: v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: cluster-monitoring-config | |
| namespace: openshift-monitoring | |
| data: | |
| config.yaml: | | |
| enableUserWorkload: true | |
| --- | |
| apiVersion: v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: cluster-monitoring-config | |
| namespace: openshift-monitoring | |
| data: | |
| config.yaml: | | |
| enableUserWorkload: true | |
| --- | |
| apiVersion: v1 |
NewerOlder