Skip to content

Commit 6438762

Browse files
kameshsampathaliok
andauthored
Release 1.11
* reorg and verify - until chap 2 * serving update completed * staging branch update * Staging * Eventing updates completed. WIP: QA * fixes: #240 * Adding eventinghello to apps * bump versions * (fixes) updates and fixes serving and install * add attrs to staging site * (fixes) Eventing update for v0.17.0 * (fixes) camel-k * (fixes) advanced eventing updates * (refactor) setup in its own module * (core) using ingress controller for service domain * updates for ingress url * cbr updates * level offsets * (fix) level warnings * reorg setup * use hyperkit on Darwin * move branch to site attributes * use branch with tutorial sources checkout * (fix) update kn serving and eventing version Fixes: #243 * Some fixes for setup + serving * use namespace inline with other chapters * Eventing related fixes * Eventing related fixes * Knative Kafka related fixes * Some other fixes * release prep * update site doc to release 1.x Co-authored-by: Ali Ok <aliok@redhat.com>
1 parent 2963605 commit 6438762

File tree

190 files changed

+9775
-274
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+9775
-274
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Knative Tutorial
33
on:
44
push:
55
branches:
6-
- release/v0.14.x
6+
- release/1.x
77
env:
88
SITE_DIR: 'gh-pages'
99
jobs:

.github/workflows/staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Knative Tutorial Staging
33
on:
44
push:
55
branches:
6-
- master
6+
- staging
77
env:
88
SITE_DIR: 'gh-pages'
99
jobs:

.tool-versions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nodejs 12.18.3
2+
yarn 1.22.5

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM docker.io/antora/antora as builder
2+
3+
ADD . /antora/
4+
5+
RUN antora generate --stacktrace site.yml
6+
7+
FROM registry.access.redhat.com/rhscl/httpd-24-rhel7
8+
9+
COPY --from=builder /antora/gh-pages/ /var/www/html/

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
1-
# Knative Tutorial - Introduction to Knative
2-
![Knative Tutorial](https://github.com/redhat-developer-demos/knative-tutorial/workflows/Knative%20Tutorial/badge.svg) [![Knative Serving v0.14](https://img.shields.io/badge/Knative%20Serving-v0.14-blue)](https://knative.dev/docs/serving/)
3-
[![Knative Eventing v0.14](https://img.shields.io/badge/Knative%20Eventing-v0.14-blue)](https://knative.dev/docs/eventing/)
4-
[![Strimzi Kafka](https://img.shields.io/badge/Strimzi%20Kafka-v0.16.2-blue)](https://strimzi.io)
5-
[![Apache Camel-K](https://img.shields.io/badge/Apache%20Camel--K-v1.0.1-blue)](https://camel.apache.org/camel-k/latest/)
1+
# Knative Tutorial - Introduction to Knative
62

7-
## Documentation
3+
![Knative Tutorial](https://github.com/redhat-developer-demos/knative-tutorial/workflows/Knative%20Tutorial/badge.svg) [![Knative Serving v0.17](https://img.shields.io/badge/Knative%20Serving-v0.17-blue)](https://knative.dev/docs/serving/)
4+
[![Knative Eventing v0.17](https://img.shields.io/badge/Knative%20Eventing-v0.17-blue)](https://knative.dev/docs/eventing/)
5+
[![Strimzi Kafka](https://img.shields.io/badge/Strimzi%20Kafka-v0.20.0-blue)](https://strimzi.io)
6+
[![Apache Camel-K](https://img.shields.io/badge/Apache%20Camel--K-v1.2.0-blue)](https://camel.apache.org/camel-k/latest/)
7+
[![OpenShift Serverless](https://img.shields.io/badge/OpenShift%20Serverless-v1.11-blue)](https://www.openshift.com/learn/topics/serverless)
88

9-
Start your serverless journey today with https://redhat-developer-demos.github.io/knative-tutorial
9+
## Documentation
1010

11-
## What is Serverless
11+
Start your serverless journey today with <https://redhat-developer-demos.github.io/knative-tutorial>
12+
13+
## What is Serverless
1214

1315
Serverless epitomize the very benefits of what cloud platforms promise: offload the management of infrastructure while taking advantage of a consumption model for the actual utilization of services. While there are a number of server frameworks out there, [Knative](https://knative.dev) is the first serverless platform specifically designed for Kubernetes and OpenShift.
1416

1517
This tutorial will act as step-by-step guide in helping you to understand Knative starting with setup, understanding fundamentals concepts such as service, configuration, revision etc., and finally deploying some use cases which could help deploying serverless applications.
1618

1719
This content is brought to you by [Red Hat Developer Program](http://developers.redhat.com) - Register today!
1820

19-
## Contributing
21+
## Devlopment Site
22+
23+
If you like to try the latest development updates,check the [staging site](https://redhat-developer-docs.github.io/knative-tutorial-staging).
24+
25+
## Contributing
2026

21-
Please refer to the [how to contribute?](./CONTRIBUTING.md) on how you can contribute to the tutorial
27+
Please refer to the [how to contribute?](./CONTRIBUTING.md) on how you can contribute to the tutorial

advanced/camel-k/eip/fruits-processor.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: sources.eventing.knative.dev/v1alpha1
1+
apiVersion: sources.knative.dev/v1alpha1
22
kind: CamelSource
33
metadata:
44
name: fruits-processor
@@ -58,6 +58,6 @@ spec:
5858
- to: "log:high?showAll=true&multiline=true"
5959
sink:
6060
ref:
61-
apiVersion: eventing.knative.dev/v1alpha1
61+
apiVersion: eventing.knative.dev/v1
6262
kind: Broker
6363
name: default

advanced/camel-k/eip/fruits-producer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- set-header:
55
name: CamelHttpMethod
66
constant: GET
7-
- to: "http:fruityvice.com/api/fruit/all?bridgeEndpoint=true"
7+
- to: "http:fruityvice-proxy:8080/api/fruit/all?bridgeEndpoint=true"
88
- split:
99
jsonpath: "$.[*]"
1010
- marshal:

advanced/camel-k/eip/sugary-fruits.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: eventing.knative.dev/v1alpha1
1+
apiVersion: eventing.knative.dev/v1
22
kind: Trigger
33
metadata:
44
name: sugary-fruits

apps/eventinghello/.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*
2+
!target/*-runner
3+
!target/*-runner.jar
4+
!target/lib/*

apps/eventinghello/.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Eclipse
2+
.project
3+
.classpath
4+
.settings/
5+
bin/
6+
7+
# IntelliJ
8+
.idea
9+
*.ipr
10+
*.iml
11+
*.iws
12+
13+
# NetBeans
14+
nb-configuration.xml
15+
16+
# Visual Studio Code
17+
.vscode
18+
19+
# OSX
20+
.DS_Store
21+
22+
# Vim
23+
*.swp
24+
*.swo
25+
26+
# patch
27+
*.orig
28+
*.rej
29+
30+
# Maven
31+
target/
32+
pom.xml.tag
33+
pom.xml.releaseBackup
34+
pom.xml.versionsBackup
35+
release.properties

0 commit comments

Comments
 (0)