diff --git a/docs/reference/cli.md b/docs/reference/cli.md index b29e781d54..52ce407f9f 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -458,7 +458,7 @@ Options: Connects a branch in a Git repo to a either a Jenkins or Tekton CI pipeline in the environment and triggers an initial build. A webhook is also created so that when a new commit is added to the branch, the pipeline is triggered to start the process to rebuild and redeploy the app using the new code. Currently, webhook creation is supported for -repositories hosted on Gitlab, Github, Github Enterprise, Bitbucket, and Gogs. +repositories hosted on Gitlab, Github, Github Enterprise, Bitbucket, Gitea and Gogs. This command can either be used to register a git repository that has previously been cloned to the local filesystem **OR** using the remote repo url. diff --git a/docs/resources/workshop/ai.md b/docs/resources/workshop/ai.md index b93349cb74..cbabcab5be 100644 --- a/docs/resources/workshop/ai.md +++ b/docs/resources/workshop/ai.md @@ -49,7 +49,7 @@ **Note:** We are including username/password in git url for simplicity of this lab. You would **NOT** want to do this in your development environment. ```bash GIT_REPO=ai-model-object-detector - GIT_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gogs --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} + GIT_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gitea --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} echo GIT_URL=${GIT_URL} ``` diff --git a/docs/resources/workshop/appmod.md b/docs/resources/workshop/appmod.md index 19ce87cd85..7abdb3a1dc 100644 --- a/docs/resources/workshop/appmod.md +++ b/docs/resources/workshop/appmod.md @@ -20,8 +20,8 @@ This section will cover: oc new-project db2 oc create -n db2 serviceaccount mysvcacct oc adm policy add-scc-to-user privileged system:serviceaccount:db2:mysvcacct - oc apply -n db2 -f "http://$(oc get route -n tools gogs --template='{{.spec.host}}')/toolkit/appmod-liberty-toolkit/raw/master/db2/db2-dc.yaml" - oc apply -n db2 -f "http://$(oc get route -n tools gogs --template='{{.spec.host}}')/toolkit/appmod-liberty-toolkit/raw/master/db2/db2-service.yaml" + oc apply -n db2 -f "http://$(oc get route -n tools gitea --template='{{.spec.host}}')/toolkit/appmod-liberty-toolkit/raw/master/db2/db2-dc.yaml" + oc apply -n db2 -f "http://$(oc get route -n tools gitea --template='{{.spec.host}}')/toolkit/appmod-liberty-toolkit/raw/master/db2/db2-service.yaml" ``` 1. (Optional) Analyze the application using the following guide [Modernizing runtimes with Liberty](https://ibm-cloud-architecture.github.io/modernization-playbook/applications/liberty/liberty-analyze) @@ -72,7 +72,7 @@ This section will cover: ```shell GIT_REPO=appmod-liberty-toolkit - GIT_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gogs --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} + GIT_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gitea --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} echo GIT_URL=${GIT_URL} ``` @@ -115,7 +115,7 @@ This section will cover: - Application Name: ${TOOLKIT_PROJECT}-qa-websphere-liberty (ie project1-qa-websphere-liberty) - ArgoCD Project: `default` - Sync Policy: `Automatic` (Check prune resources and self heal) - - Repository URL: `http://gogs.tools:3000/toolkit/gitops.git` + - Repository URL: `http://gitea.tools:3000/toolkit/gitops.git` - Revision: `HEAD` - Path: `qa/${TOOLKIT_PROJECT}/appmod-liberty-toolkit` (ie project1/qa/project1/appmod-liberty-toolkit) - Cluster: `in-cluster` diff --git a/docs/resources/workshop/cd.md b/docs/resources/workshop/cd.md index 0b21c74c36..db92e9e49d 100644 --- a/docs/resources/workshop/cd.md +++ b/docs/resources/workshop/cd.md @@ -40,7 +40,7 @@ Promote an Application using CD with GitOps and ArgoCD 1. Setup environment variable `GIT_OPS_URL` for the git url using the value from previous step or as following ```bash - GIT_OPS_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gogs --template='{{.spec.host}}')/toolkit/gitops + GIT_OPS_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gitea --template='{{.spec.host}}')/toolkit/gitops echo GIT_OPS_URL=${GIT_OPS_URL} ``` diff --git a/docs/resources/workshop/ci.md b/docs/resources/workshop/ci.md index 44adbdef54..fe2a64fc8e 100644 --- a/docs/resources/workshop/ci.md +++ b/docs/resources/workshop/ci.md @@ -51,7 +51,7 @@ 1. Setup environment variable `GIT_URL` for the git url using the value from previous step or as following ```bash GIT_REPO=go-gin - GIT_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gogs --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} + GIT_URL=https://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gitea --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} echo GIT_URL=${GIT_URL} ``` diff --git a/docs/resources/workshop/inventory.md b/docs/resources/workshop/inventory.md index 1b7f901eaa..55e68d96ff 100644 --- a/docs/resources/workshop/inventory.md +++ b/docs/resources/workshop/inventory.md @@ -51,7 +51,7 @@ Deploy a 3 tier Microservice using React, Node.js, and Java ```shell GIT_REPO=inventory-management-svc-solution - GIT_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gogs --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} + GIT_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gitea --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} echo GIT_URL=${GIT_URL} ``` @@ -75,7 +75,7 @@ Deploy a 3 tier Microservice using React, Node.js, and Java ```shell GIT_REPO=inventory-management-bff-solution - GIT_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gogs --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} + GIT_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gitea --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} echo GIT_URL=${GIT_URL} ``` @@ -98,7 +98,7 @@ Deploy a 3 tier Microservice using React, Node.js, and Java ```shell GIT_REPO=inventory-management-ui-solution - GIT_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gogs --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} + GIT_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gitea --template='{{.spec.host}}')/${TOOLKIT_USERNAME}/${GIT_REPO} echo GIT_URL=${GIT_URL} ``` @@ -114,7 +114,7 @@ Deploy a 3 tier Microservice using React, Node.js, and Java 1. Setup environment variable `GIT_OPS_URL` for the git url using the value from previous step or as following ```shell - GIT_OPS_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gogs --template='{{.spec.host}}')/toolkit/gitops + GIT_OPS_URL=http://${TOOLKIT_USERNAME}:password@$(oc get route -n tools gitea --template='{{.spec.host}}')/toolkit/gitops echo GIT_OPS_URL=${GIT_OPS_URL} ``` @@ -210,7 +210,7 @@ Deploy a 3 tier Microservice using React, Node.js, and Java - Application Name: ${TOOLKIT_PROJECT}-inventory (ie project1-inventory) - ArgoCD Project: `default` - Sync Policy: `Automatic` (Check prune resources and self heal) - - Repository URL: `http://gogs.tools:3000/toolkit/gitops.git` + - Repository URL: `http://gitea.tools:3000/toolkit/gitops.git` - Revision: `HEAD` - Path: `qa/${TOOLKIT_PROJECT}` (ie qa/project1) - Cluster: `in-cluster`