Skip to content

update references from gogs to gitea #499

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/workshop/ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}

```
Expand Down
8 changes: 4 additions & 4 deletions docs/resources/workshop/appmod.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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}
```

Expand Down Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/workshop/cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}

```
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/workshop/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}

```
Expand Down
10 changes: 5 additions & 5 deletions docs/resources/workshop/inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
```

Expand All @@ -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}
```

Expand All @@ -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}
```

Expand All @@ -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}
```

Expand Down Expand Up @@ -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`
Expand Down