Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finished setting up the OpenShift cluster #128

Merged
merged 4 commits into from
Apr 29, 2024
Merged

Conversation

whykay-01
Copy link
Collaborator

@whykay-01 whykay-01 commented Apr 29, 2024

You can copy the following command from your personal profile in the openshift sandbox

oc login --token=<YOUR_TOKEN_GOES_HERE> --server=<YOUR_SERVER>

Set the project to the default:

oc project <YOUR_OPENSHIFT_USERNAME>-dev

Apply the DB to create in the Openshift:

oc apply -f k8s/postgresql.yaml
oc apply -f .tekton/workspace.yaml

Instantiate the pipeline:

kubectl apply -f .tekton/tasks.yaml
kubectl apply -f .tekton/pipeline.yaml
kubectl get pipelines
oc apply -f .tekton/events

Create the webhook after this and run the following

oc apply -f .tekton/events
oc create route edge shopcarts-cd-pipeline --service=el-cd-listener --port=8080
oc create route edge shopcarts --service=shopcarts --port=8080

@whykay-01 whykay-01 self-assigned this Apr 29, 2024
@vidishaholsambre vidishaholsambre merged commit aaec77e into master Apr 29, 2024
2 checks passed
@vidishaholsambre vidishaholsambre deleted the tekton-setup branch April 29, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants