Compare commits

..

5 Commits

Author SHA1 Message Date
1c7085359a Update dependency markdownlint-cli to ^0.32.0
Some checks failed
renovate/artifacts Artifact file update failure
ci/woodpecker/pr/renovate Pipeline was successful
ci/woodpecker/push/renovate Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful
2022-12-09 11:25:49 +00:00
0091fa0dce Update dependency hugo-installer to v4 (#27)
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/renovate Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [hugo-installer](https://github.com/dominique-mueller/hugo-installer) | devDependencies | major | [`^3.1.0` -> `^4.0.0`](https://renovatebot.com/diffs/npm/hugo-installer/3.1.0/4.0.1) |

⚠️ Release Notes retrieval for this PR were skipped because no github.com credentials were available.
If you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/examples/self-hosting.md#githubcom-token-for-release-notes).

---

### 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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMi4yIiwidXBkYXRlZEluVmVyIjoiMzQuMjIuMiJ9-->

Reviewed-on: #27
Co-authored-by: Drone-Bot <noreply@ocram85.com>
Co-committed-by: Drone-Bot <noreply@ocram85.com>
2022-12-09 12:25:18 +01:00
073850a232 fix fileMatch regex (#35)
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/renovate Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
#### 📖 Summary

- fix renovate rexex fileMatch for woodpecker files.

#### 📑 Test Plan

> 💡 Select your test plan for the code changes.

- [x] Tested via CI pipeline
- [ ] Custom test
- [ ] No test plan

##### Details / Justification

<!-- Add your test details or justification for missing tests here. -->

#### 📚 Additional Notes

<!-- A place for additional detail notes. -->

Co-authored-by: OCram85 <marco.blessing@googlemail.com>
Reviewed-on: #35
2022-12-09 12:08:31 +01:00
90d886fb3b Update 'renovate.json' (#30)
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/testy Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/renovate Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
#### 📖 Summary

<!-- Provide a summary of your changes. Describe the why and not how. -->

#### 📑 Test Plan

> 💡 Select your test plan for the code changes.

- [ ] Tested via CI pipeline
- [ ] Custom test
- [ ] No test plan

##### Details / Justification

<!-- Add your test details or justification for missing tests here. -->

#### 📚 Additional Notes

<!-- A place for additional detail notes. -->

Reviewed-on: #30
2022-12-08 19:55:40 +01:00
4f2c65b69f debug woodpecker renovate (#29)
All checks were successful
ci/woodpecker/push/renovate Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
#### 📖 Summary

- remove leading . in pipeline files.
- remove build arg for renovate support.

#### 📑 Test Plan

> 💡 Select your test plan for the code changes.

- [x] Tested via CI pipeline
- [ ] Custom test
- [ ] No test plan

##### Details / Justification

<!-- Add your test details or justification for missing tests here. -->

#### 📚 Additional Notes

<!-- A place for additional detail notes. -->

Co-authored-by: OCram85 <marco.blessing@googlemail.com>
Reviewed-on: #29
2022-12-07 20:26:35 +01:00
7 changed files with 14 additions and 22 deletions

View File

@ -47,7 +47,6 @@ pipeline:
ocram85/blog:latest ocram85/blog:latest
- | - |
trivy image \ trivy image \
--exit-code 1 \
--severity HIGH,CRITICAL \ --severity HIGH,CRITICAL \
--no-progress \ --no-progress \
ocram85/blog:latest ocram85/blog:latest

View File

@ -3,15 +3,11 @@ depends_on:
pipeline: pipeline:
buildNext: buildNext:
image: plugins/docker image: woodpeckerci/plugin-docker-buildx
settings: settings:
#dry_run: true
repo: ocram85/blog repo: ocram85/blog
dockerfile: Dockerfile dockerfile: Dockerfile
tags: next tags: next
build_args:
- NODE_BASE=lts-buster-slim
- NGINX_BASE=1.23.1-alpine
username: username:
from_secret: hub_user from_secret: hub_user
password: password:
@ -20,16 +16,12 @@ pipeline:
event: pull_request event: pull_request
buildNextGitea: buildNextGitea:
image: plugins/docker image: woodpeckerci/plugin-docker-buildx
settings: settings:
#dry_run: true
registry: gitea.ocram85.com registry: gitea.ocram85.com
repo: gitea.ocram85.com/ocram85/blog repo: gitea.ocram85.com/ocram85/blog
dockerfile: Dockerfile dockerfile: Dockerfile
tags: next tags: next
build_args:
- NODE_BASE=lts-buster-slim
- NGINX_BASE=1.23.1-alpine
username: username:
from_secret: gitea_user from_secret: gitea_user
password: password:
@ -47,7 +39,6 @@ pipeline:
ocram85/blog:next ocram85/blog:next
- | - |
trivy image \ trivy image \
--exit-code 1 \
--severity HIGH,CRITICAL \ --severity HIGH,CRITICAL \
--no-progress \ --no-progress \
ocram85/blog:next ocram85/blog:next

View File

@ -1,12 +1,12 @@
pipeline: pipeline:
DockerBaseImage: DockerBaseImage:
image: renovate/renovate:34.22-slim image: renovate/renovate:34.40-slim
commands: commands:
- "renovate" - "renovate"
secrets: secrets:
- RENOVATE_TOKEN - RENOVATE_TOKEN
environment: environment:
#LOG_LEVEL: debug LOG_LEVEL: debug
RENOVATE_PLATFORM: "gitea" RENOVATE_PLATFORM: "gitea"
RENOVATE_ENDPOINT: "https://gitea.ocram85.com" RENOVATE_ENDPOINT: "https://gitea.ocram85.com"
RENOVATE_REPOSITORIES: "${CI_REPO}" RENOVATE_REPOSITORIES: "${CI_REPO}"

View File

@ -1,8 +1,4 @@
# Build ARGS for base image versions FROM node:lts-buster-slim as builder
ARG NODE_BASE=lts-buster-slim
ARG NGINX_BASE=1.21.6-alpine
FROM node:${NODE_BASE} as builder
COPY . /src COPY . /src
#RUN ls -la #RUN ls -la
WORKDIR /src WORKDIR /src
@ -10,7 +6,7 @@ WORKDIR /src
RUN npm install \ RUN npm install \
&& npm run build && npm run build
FROM nginx:${NGINX_BASE} as prod FROM nginx:1.23.1-alpine as prod
LABEL maintainer="marco.blessing@googlemail.com" LABEL maintainer="marco.blessing@googlemail.com"
HEALTHCHECK --interval=15s --timeout=5s \ HEALTHCHECK --interval=15s --timeout=5s \
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1 CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1

View File

@ -26,7 +26,7 @@
"homepage": "https://github.com/OCram85/Blog#readme", "homepage": "https://github.com/OCram85/Blog#readme",
"devDependencies": { "devDependencies": {
"exec-bin": "^1.0.0", "exec-bin": "^1.0.0",
"hugo-installer": "^3.1.0", "hugo-installer": "^4.0.0",
"markdownlint-cli": "^0.32.0", "markdownlint-cli": "^0.32.0",
"rimraf": "^3.0.2" "rimraf": "^3.0.2"
}, },

View File

@ -1,4 +1,9 @@
{ {
"onboardingConfig": {
"extends": [
"config:base"
]
},
"dependencyDashboard": true, "dependencyDashboard": true,
"docker": { "docker": {
"enabled": true "enabled": true
@ -7,6 +12,7 @@
"enabled": true "enabled": true
}, },
"woodpecker": { "woodpecker": {
"enabled": true "enabled": true,
"fileMatch": ["^.woodpecker\/.*.yml$"]
} }
} }