This file contains 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
FROM registry.access.redhat.com/ubi9-minimal:9.4 | |
LABEL org.opencontainers.image.authors="[email protected]" | |
USER 0 | |
RUN useradd dotnet -m -d /home/dotnet -s /sbin/nologin \ | |
&& mkdir -p /app \ | |
&& chown -R dotnet /app \ | |
&& microdnf update -y \ | |
&& microdnf install -y dotnet-sdk-8.0 \ |
This file contains 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
<p> | |
Do you need to familiarize yourself with cloud-native development, Kubernetes automation, and GitOps methodology? | |
In this lab, we'll walk you through a complete development journey example of a 2-tier application made with Python and Go, built and deployed on Red Hat OpenShift. | |
The full lab introduction can be found <a href="https://redhat-scholars.github.io/inner-outer-guides">here</a>. | |
You'll learn how to: | |
</p> | |
<ul> | |
<li>Create container images with Red Hat OpenShift Pipelines and use webhooks to trigger automated builds.</li> | |
<li>Work with Red Hat OpenShift Dev Spaces for an integrated development experience in the browser.</li> | |
<li>Deploy and promote the application into several environments using Red Hat OpenShift GitOps.</li> |
This file contains 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
PATH=$PATH:/home/user/bin | |
mkdir ~/bin | |
curl -L https://github.com/blues-man/kustomize-workaround/raw/main/kustomize -o ~/bin/kustomize | |
chmod +x ~/bin/kustomize | |
sh |
This file contains 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
schemaVersion: 2.1.0 | |
metadata: | |
generateName: ${{values.artifact_id}} | |
icon: https://design.jboss.org/quarkus/logo/final/SVG/quarkus_icon_rgb_default.svg | |
tags: [ 'Java', 'Quarkus'] | |
projectType: Quarkus | |
language: Java | |
attributes: | |
controller.devfile.io/storage-type: ephemeral | |
components: |
This file contains 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 | |
# Project | |
oc new-project workshop | |
# Parksmap | |
oc policy add-role-to-user view -z default | |
oc new-app quay.io/openshiftroadshow/parksmap:latest --name=parksmap -l 'app=workshop,component=parksmap,role=frontend,app.kubernetes.io/part-of=workshop' | |
oc create route edge parksmap --service=parksmap | |
# Nationalparks | |
oc new-app java:openjdk-11-ubi8~https://github.com/openshift-roadshow/nationalparks.git --name nationalparks -l 'app=workshop,component=nationalparks,role=backend,app.kubernetes.io/part-of=workshop,app.kubernetes.io/name=java' --allow-missing-images=true | |
oc expose svc nationalparks |
This file contains 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
# Project | |
oc new-project workshop | |
# Permissions for Service Account and Fabric8 Kubernetes client | |
oc policy add-role-to-user view -z default | |
# Parksmap | |
oc new-app quay.io/openshiftroadshow/parksmap:latest --name=parksmap -l 'app=workshop,component=parksmap,role=frontend,app.kubernetes.io/part-of=workshop' | |
oc create route edge parksmap --service=parksmap |
This file contains 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
#!/usr/bin/python | |
# Katacoda to Instruqt converter | |
# v. 0.0.3 | |
# Support for notes in first challenge, fix NodePort | |
# | |
# v. 0.0.2 | |
# Support for bulk migrate with git submodule |
This file contains 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 | |
# Project | |
oc new-project workshop | |
# Parksmap | |
oc policy add-role-to-user view -z default | |
oc new-app quay.io/openshiftroadshow/parksmap:latest --name=parksmap -l 'app=workshop,component=parksmap,role=frontend,app.kubernetes.io/part-of=workshop' | |
oc create route edge parksmap --service=parksmap | |
# Nationalparks | |
oc new-app java:openjdk-11-ubi8~https://github.com/openshift-roadshow/nationalparks.git --name nationalparks -l 'app=workshop,component=nationalparks,role=backend,app.kubernetes.io/part-of=workshop,app.kubernetes.io/name=java' --allow-missing-images=true | |
oc expose svc nationalparks |
This file contains 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 | |
# Project | |
oc new-project workshop | |
# Parksmap | |
oc policy add-role-to-user view -z default | |
oc new-app quay.io/openshiftroadshow/parksmap:latest --name=parksmap -l 'app=workshop,component=parksmap,role=frontend,app.kubernetes.io/part-of=workshop' | |
oc create route edge parksmap --service=parksmap | |
# Nationalparks | |
oc new-app java:openjdk-11-ubi8~https://github.com/openshift-roadshow/nationalparks.git --name nationalparks -l 'app=workshop,component=nationalparks,role=backend,app.kubernetes.io/part-of=workshop,app.kubernetes.io/name=java' | |
oc expose svc nationalparks |
This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmUATBmAui8ap9YqwjbXoEl/1QuNUW30+sZzkdcfycDw1gjBkGuKnYJGtozT4uxUHvBGEjcEwZumU2wKpVyz7FbXlCTGVvo7clIi+Il6heTNupNCWxywLnFR8vKUCQ9tCdiU4cGN2mqKEOSg2Pf55BicZzrKKyD3OPbZ8urzH0ICj/Aht6Z9yTM17MadjJGoLFO11RM8ADj2mLcb1jqNVWInO1y4A5X8nRQTf6IKiX/fHKRFJrlb1cEstZn/vMB8QQthHV9e1joCMVm5B2jV1+8WvFmM+SpWYF8ZoruAwqHJPrdYOjeFbRiZfGiunmsPbo9W55ZddWbaYoyaCn1q/d bluesman@elwood |
NewerOlder