wip
Some checks failed
ci/woodpecker/pr/docs Pipeline failed
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
OCram85 2024-04-26 11:08:31 +02:00
parent fb740de161
commit a8b87c99a7
8 changed files with 76 additions and 8 deletions

69
.woodpecker/docs.yml Normal file
View File

@ -0,0 +1,69 @@
when:
- event: [pull_request, tag, cron]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
variables:
- &build_plugin 'woodpeckerci/plugin-docker-buildx:3.2.1'
# deployment targets
- &publish_repos 'ocram85/arkanum-docs,gitea.ocram85.com/codeserver/arkanum-docs'
# logins for deployment targets
- publish_logins: &publish_logins
# Default DockerHub login
- registry: https://index.docker.io/v1/
username:
from_secret: docker_user
password:
from_secret: docker_passwd
# Additional Quay.IO login
- registry: https://gitea.ocram85.com
username:
from_secret: gitea_user
password:
from_secret: gitea_passwd
steps:
test:
image: *build_plugin
settings:
dry_run: true
registry: gitea.ocram85.com
repo: test
dockerfile: Dockerfile.vitepress
platforms: linux/amd64
auto_tag: true
build_args:
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
- TAG=${CI_COMMIT_TAG}
when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}
publish:
image: *build_plugin
settings:
repo: *publish_repos
dockerfile: Dockerfile.vitepress
platforms: linux/amd64
auto_tag: true
logins: *publish_logins
build_args:
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
- TAG=${CI_COMMIT_TAG}
when:
event: [push, tag, cron]
branch: ${CI_REPO_DEFAULT_BRANCH}
build-next:
image: *build_plugin
settings:
repo: *publish_repos
dockerfile: Dockerfile.vitepress
platforms: linux/amd64
tag: next
logins: *publish_logins
build_args:
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
- TAG=${CI_COMMIT_TAG}
when:
event: [pull_request]

BIN
bun.lockb

Binary file not shown.

View File

@ -2,8 +2,7 @@
## About
## Configuration
## Referenced Source Files
::: code-group
<<< @/../Dockerfile#cli{Dockerfile}

View File

@ -1,6 +1,6 @@
# FiraCode
## Configuration
## Referenced Source Files
::: code-group
<<< @/../Dockerfile#firacode{Dockerfile}

View File

@ -45,7 +45,7 @@ There are also some [Phabricator](https://en.wikipedia.org/wiki/Phabricator) wor
Git bash completion is already enabled in the arkanum image.
## Configuration
## Referenced Source Files
::: code-group
<<< @/../Dockerfile#git{Dockerfile:line-numbers}

View File

@ -20,7 +20,7 @@ The included default setup uses the system wide installed [NerdFont](https://www
![screen5](./prompts/prompt5.png 'git rep with golang project and open workspace changes')
## Configuration
## Referenced Source Files
::: code-group
<<< @/../Dockerfile#starship{Dockerfile:line-numbers}

View File

@ -33,7 +33,7 @@ Adds [One Dark Pro](https://open-vsx.org/extension/zhuangtongfa/material-theme)
Adds [vscode-icons](https://open-vsx.org/extension/vscode-icons-team/vscode-icons) extension as default icon theme.
## Configuration
## Referenced Source Filesq
::: code-group

View File

@ -8,9 +8,9 @@
},
"devDependencies": {
"@types/bun": "latest",
"prettier": "^3.1.1",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"vitepress": "^1.0.0-rc.44"
"vitepress": "^1.1.0"
},
"peerDependencies": {
"typescript": "^5.0.0"