ci-demo-2/infrastructure
Renovate Bot 048be30d44
ci/woodpecker/push/frontend Pipeline was successful Details
ci/woodpecker/push/lint_general Pipeline was successful Details
ci/woodpecker/push/documentation Pipeline was successful Details
chore(deps): pin dependencies (#35)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@antora/lunr-extension](https://antora.org) ([source](https://gitlab.com/antora/antora-lunr-extension)) | devDependencies | pin | [`^1.0.0-alpha.8` -> `1.0.0-alpha.8`](https://renovatebot.com/diffs/npm/@antora%2flunr-extension/1.0.0-alpha.8/1.0.0-alpha.8) |
| [@asciidoctor/core](https://github.com/asciidoctor/asciidoctor.js) | devDependencies | pin | [`~2.2` -> `2.2.6`](https://renovatebot.com/diffs/npm/@asciidoctor%2fcore/2.2.6/2.2.6) |
| [@commitlint/config-conventional](https://commitlint.js.org/) ([source](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional)) | devDependencies | pin | [`^18.1.0` -> `18.1.0`](https://renovatebot.com/diffs/npm/@commitlint%2fconfig-conventional/18.1.0/18.1.0) |
| [@fontsource/roboto](https://fontsource.org/fonts/roboto) ([source](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/roboto)) | devDependencies | pin | [`~4.5` -> `4.5.8`](https://renovatebot.com/diffs/npm/@fontsource%2froboto/4.5.8/4.5.8) |
| [@fontsource/roboto-mono](https://fontsource.org/fonts/roboto-mono) ([source](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/roboto-mono)) | devDependencies | pin | [`~4.5` -> `4.5.10`](https://renovatebot.com/diffs/npm/@fontsource%2froboto-mono/4.5.10/4.5.10) |
| [@remix-run/dev](https://remix.run) ([source](https://github.com/remix-run/remix/tree/HEAD/packages/remix-dev)) | devDependencies | pin | [`^2.2.0` -> `2.2.0`](https://renovatebot.com/diffs/npm/@remix-run%2fdev/2.2.0/2.2.0) |
| [@remix-run/eslint-config](https://github.com/remix-run/remix) ([source](https://github.com/remix-run/remix/tree/HEAD/packages/remix-eslint-config)) | devDependencies | pin | [`^2.2.0` -> `2.2.0`](https://renovatebot.com/diffs/npm/@remix-run%2feslint-config/2.2.0/2.2.0) |
| alpine |  | pinDigest |  -> `c5b1261` |
| alpine/crane |  | pinDigest |  -> `9955edb` |
| [asciidoctor-kroki](https://github.com/Mogztter/asciidoctor-kroki) | devDependencies | pin | [`^0.18.0` -> `0.18.1`](https://renovatebot.com/diffs/npm/asciidoctor-kroki/0.18.1/0.18.1) |
| [autoprefixer](https://github.com/postcss/autoprefixer) | devDependencies | pin | [`~9.8.0` -> `9.8.8`](https://renovatebot.com/diffs/npm/autoprefixer/9.8.8/9.8.8) |
| bitnami/git |  | pinDigest |  -> `3932583` |
| [browser-pack-flat](https://github.com/goto-bus-stop/browser-pack-flat) | devDependencies | pin | [`~3.5.0` -> `3.5.0`](https://renovatebot.com/diffs/npm/browser-pack-flat/3.5.0/3.5.0) |
| [browserify](https://github.com/browserify/browserify) | devDependencies | pin | [`~16.5` -> `16.5.2`](https://renovatebot.com/diffs/npm/browserify/16.5.2/16.5.2) |
| cl00e9ment/node.js-builder |  | pinDigest |  -> `c3f6622` |
| codeberg.org/forgejo/forgejo |  | pinDigest |  -> `c2e782f` |
| [cssnano](https://github.com/cssnano/cssnano) | devDependencies | pin | [`~4.1` -> `4.1.11`](https://renovatebot.com/diffs/npm/cssnano/4.1.11/4.1.11) |
| [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | devDependencies | pin | [`^8.38.0` -> `8.52.0`](https://renovatebot.com/diffs/npm/eslint/8.52.0/8.52.0) |
| [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | devDependencies | pin | [`~6.8` -> `6.8.0`](https://renovatebot.com/diffs/npm/eslint/6.8.0/6.8.0) |
| [eslint-config-standard](https://github.com/standard/eslint-config-standard) | devDependencies | pin | [`~14.1` -> `14.1.1`](https://renovatebot.com/diffs/npm/eslint-config-standard/14.1.1/14.1.1) |
| [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) | devDependencies | pin | [`~2.20` -> `2.20.2`](https://renovatebot.com/diffs/npm/eslint-plugin-import/2.20.2/2.20.2) |
| [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) | devDependencies | pin | [`~11.1` -> `11.1.0`](https://renovatebot.com/diffs/npm/eslint-plugin-node/11.1.0/11.1.0) |
| [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) | devDependencies | pin | [`~4.2` -> `4.2.1`](https://renovatebot.com/diffs/npm/eslint-plugin-promise/4.2.1/4.2.1) |
| [eslint-plugin-standard](https://github.com/standard/eslint-plugin-standard) | devDependencies | pin | [`~4.0` -> `4.0.2`](https://renovatebot.com/diffs/npm/eslint-plugin-standard/4.0.2/4.0.2) |
| [fancy-log](https://github.com/gulpjs/fancy-log) | devDependencies | pin | [`~1.3` -> `1.3.3`](https://renovatebot.com/diffs/npm/fancy-log/1.3.3/1.3.3) |
| [fs-extra](https://github.com/jprichardson/node-fs-extra) | devDependencies | pin | [`~8.1` -> `8.1.0`](https://renovatebot.com/diffs/npm/fs-extra/8.1.0/8.1.0) |
| [gcr.io/kaniko-project/executor](https://github.com/GoogleContainerTools/kaniko) |  | pinDigest |  -> `6976d73` |
| ghcr.io/dzikoysk/reposilite |  | pinDigest |  -> `c123c70` |
| ghcr.io/gitleaks/gitleaks |  | pinDigest |  -> `6945c62` |
| ghcr.io/hadolint/hadolint |  | pinDigest |  -> `9cef74a` |
| gradle |  | pinDigest |  -> `c216f35` |
| [gulp](https://gulpjs.com) ([source](https://github.com/gulpjs/gulp)) | devDependencies | pin | [`~4.0` -> `4.0.2`](https://renovatebot.com/diffs/npm/gulp/4.0.2/4.0.2) |
| [gulp-cli](https://gulpjs.com) ([source](https://github.com/gulpjs/gulp-cli)) | devDependencies | pin | [`^2.3.0` -> `2.3.0`](https://renovatebot.com/diffs/npm/gulp-cli/2.3.0/2.3.0) |
| [gulp-concat](https://github.com/contra/gulp-concat) | devDependencies | pin | [`~2.6` -> `2.6.1`](https://renovatebot.com/diffs/npm/gulp-concat/2.6.1/2.6.1) |
| [gulp-connect](https://github.com/avevlad/gulp-connect) | devDependencies | pin | [`~5.7` -> `5.7.0`](https://renovatebot.com/diffs/npm/gulp-connect/5.7.0/5.7.0) |
| [gulp-eslint](https://github.com/adametry/gulp-eslint) | devDependencies | pin | [`~6.0` -> `6.0.0`](https://renovatebot.com/diffs/npm/gulp-eslint/6.0.0/6.0.0) |
| [gulp-imagemin](https://github.com/sindresorhus/gulp-imagemin) | devDependencies | pin | [`~6.2` -> `6.2.0`](https://renovatebot.com/diffs/npm/gulp-imagemin/6.2.0/6.2.0) |
| [gulp-postcss](https://github.com/postcss/gulp-postcss) | devDependencies | pin | [`~8.0` -> `8.0.0`](https://renovatebot.com/diffs/npm/gulp-postcss/8.0.0/8.0.0) |
| [gulp-stylelint](https://github.com/olegskl/gulp-stylelint) | devDependencies | pin | [`~13.0` -> `13.0.0`](https://renovatebot.com/diffs/npm/gulp-stylelint/13.0.0/13.0.0) |
| [gulp-uglify](https://github.com/terinjokes/gulp-uglify) | devDependencies | pin | [`~3.0` -> `3.0.2`](https://renovatebot.com/diffs/npm/gulp-uglify/3.0.2/3.0.2) |
| [gulp-vinyl-zip](https://github.com/joaomoreno/gulp-vinyl-zip) | devDependencies | pin | [`~2.2` -> `2.2.1`](https://renovatebot.com/diffs/npm/gulp-vinyl-zip/2.2.1/2.2.1) |
| [handlebars](https://www.handlebarsjs.com/) ([source](https://github.com/handlebars-lang/handlebars.js)) | devDependencies | pin | [`~4.7` -> `4.7.8`](https://renovatebot.com/diffs/npm/handlebars/4.7.8/4.7.8) |
| [http-server](https://github.com/http-party/http-server) | devDependencies | pin | [`^14.1.1` -> `14.1.1`](https://renovatebot.com/diffs/npm/http-server/14.1.1/14.1.1) |
| joxit/docker-registry-ui |  | pinDigest |  -> `ccb4b40` |
| [js-yaml](https://github.com/nodeca/js-yaml) | devDependencies | pin | [`~3.13` -> `3.13.1`](https://renovatebot.com/diffs/npm/js-yaml/3.13.1/3.13.1) |
| [linkinator](https://github.com/JustinBeckwith/linkinator) | devDependencies | pin | [`^6.0.0` -> `6.0.4`](https://renovatebot.com/diffs/npm/linkinator/6.0.4/6.0.4) |
| maildev/maildev |  | pinDigest |  -> `f742922` |
| [merge-stream](https://github.com/grncdr/merge-stream) | devDependencies | pin | [`~2.0` -> `2.0.0`](https://renovatebot.com/diffs/npm/merge-stream/2.0.0/2.0.0) |
| nginx | final | pinDigest |  -> `bb193a0` |
| [postcss-calc](https://github.com/postcss/postcss-calc) | devDependencies | pin | [`~7.0` -> `7.0.5`](https://renovatebot.com/diffs/npm/postcss-calc/7.0.5/7.0.5) |
| [postcss-custom-properties](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-properties#readme) ([source](https://github.com/csstools/postcss-plugins/tree/HEAD/plugins/postcss-custom-properties)) | devDependencies | pin | [`~9.1` -> `9.1.1`](https://renovatebot.com/diffs/npm/postcss-custom-properties/9.1.1/9.1.1) |
| [postcss-import](https://github.com/postcss/postcss-import) | devDependencies | pin | [`~12.0` -> `12.0.1`](https://renovatebot.com/diffs/npm/postcss-import/12.0.1/12.0.1) |
| [postcss-url](https://github.com/postcss/postcss-url) | devDependencies | pin | [`~8.0` -> `8.0.0`](https://renovatebot.com/diffs/npm/postcss-url/8.0.0/8.0.0) |
| postgres |  | pinDigest |  -> `49c276f` |
| [prettier-eslint](https://github.com/prettier/prettier-eslint) | devDependencies | pin | [`~9.0` -> `9.0.2`](https://renovatebot.com/diffs/npm/prettier-eslint/9.0.2/9.0.2) |
| python |  | pinDigest |  -> `2d5f7c8` |
| [registry](https://github.com/distribution/distribution) |  | pinDigest |  -> `f4e1b87` |
| [require-directory](https://github.com/troygoode/node-require-directory) | devDependencies | pin | [`~2.1` -> `2.1.1`](https://renovatebot.com/diffs/npm/require-directory/2.1.1/2.1.1) |
| [require-from-string](https://github.com/floatdrop/require-from-string) | devDependencies | pin | [`~2.0` -> `2.0.2`](https://renovatebot.com/diffs/npm/require-from-string/2.0.2/2.0.2) |
| sonarqube | final | pinDigest |  -> `6238f13` |
| [stylelint](https://stylelint.io) ([source](https://github.com/stylelint/stylelint)) | devDependencies | pin | [`~13.3` -> `13.3.3`](https://renovatebot.com/diffs/npm/stylelint/13.3.3/13.3.3) |
| [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) | devDependencies | pin | [`~20.0` -> `20.0.0`](https://renovatebot.com/diffs/npm/stylelint-config-standard/20.0.0/20.0.0) |
| [traefik](https://github.com/containous/traefik) |  | pinDigest |  -> `6341b98` |
| [typescript](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/TypeScript)) | devDependencies | pin | [`^5.1.6` -> `5.2.2`](https://renovatebot.com/diffs/npm/typescript/5.2.2/5.2.2) |
| [verdaccio/verdaccio](https://github.com/verdaccio/verdaccio) |  | pinDigest |  -> `c02b4c1` |
| [vinyl-fs](https://github.com/gulpjs/vinyl-fs) | devDependencies | pin | [`~3.0` -> `3.0.3`](https://renovatebot.com/diffs/npm/vinyl-fs/3.0.3/3.0.3) |
| woodpeckerci/plugin-git |  | pinDigest |  -> `7af90de` |
| [woodpeckerci/woodpecker-agent](https://github.com/woodpecker-ci/woodpecker) |  | pinDigest |  -> `26744e5` |
| [woodpeckerci/woodpecker-server](https://github.com/woodpecker-ci/woodpecker) |  | pinDigest |  -> `4717456` |

Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies.

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEwMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Richard Attermeyer <richard.attermeyer@gmail.com>
Reviewed-on: #35
Co-authored-by: Renovate Bot <renovatebot@demo.rattermeyer.de>
Co-committed-by: Renovate Bot <renovatebot@demo.rattermeyer.de>
2024-01-29 13:07:59 +00:00
..
postgresql/initdb.d WIP 2023-12-16 22:22:19 +00:00
sonarqube chore(deps): pin dependencies (#35) 2024-01-29 13:07:59 +00:00
traefik WIP: working with correct letsencrypt 2023-12-16 22:22:19 +00:00
verdaccio WIP 2023-12-16 22:22:19 +00:00
README.adoc WIP 2023-12-16 22:22:19 +00:00
compose.yaml chore(deps): pin dependencies (#35) 2024-01-29 13:07:59 +00:00
docker-compose.yml.bak WIP 2023-12-16 22:22:19 +00:00
update-ip-addr.sh chore: readme.adoc 2023-11-25 18:15:39 +01:00

README.adoc

= Forgejo

You need to find out the official IP address of your computer.
This can be done using the following command: `./update-ip-addr.sh`
It updates also the .env file and in this file (so you can easily copy and paste the links)

Lets say it is `192.168.1.151` then the URLs for accessing the services are:

|===
|Service | URL | User / Pwd

| Traefik Dashboard | http://traefik.demorattermeyer.de[] |
| git | https://git.demo.rattermeyer.de[] |
| woodpecker | https://ci.demo.rattermeyer.de[] |
| mvn ui | https://mvn-ui.demo.rattermeyer.de[] |
| mvn (repo) | http://mvn.rattermeyer.de[] |
| Mail | https://mail.demo.rattermeyer.de[] |
| Docker Registry | https://container.demo.rattermeyer.de[] |
| Docker Registry UI | https://container-ui.demo.rattermeyer.de[] |
| NPM Registry / proxy | https://npm.demo.rattermeyer.de[] |
|===

First start forgejo using:

`docker compose up -d traefik forgejo`

And then register an (admin) user in forgejo.

E.g., fjadmin / admin123 / fjadmin@rattermeyer.de

Setup > Applications > oauth2 apps

woodpecker / https://ci.demo.rattermeyer.de/authorize

note client-id and client-secret and enter this in .env for.

Now you can start everything using `docker compose up -d`.

== Changing IP

If the IP address of your computer changes, you have to update some configuration.

1. `./update-ip-addr.sh`
2. `docker exec -it -u root forgejo /bin/ash` and then `vi /data/gitea/conf/app.ini`` and change the IP address.
3. `docker compose down`
4. `docker volume rm forgejo_woodpecker``
5. `docker compose up -d`

== Check access to woodpecker

Access https://ci.demo.rattermeyer.de and try to login.


== Create and push a repository

In forgejo, you should create a new repository, called ci-demo-2.

You need to disable ssl verification for this remote in your local git directory:

     git config http.sslVerify false

Then add the repository

git remote add origin https://git.demo.rattermeyer.de:8543/fjadmin/ci-demo-2.git

and push it

git push -u --all origin

You need also at least one tag.

git push --tags origin

== Adding Repo to woodpecker

In woodpecker, you need to add the repository.
It should be listed in the repositories list if you try to add it.

You need to "activate" the repository in woodpecker using the button.