Compare commits
37 commits
Author | SHA1 | Date | |
---|---|---|---|
ff36ad0361 | |||
219f66626e | |||
4cef6c6db8 | |||
90725b45e2 | |||
42675a6e15 | |||
624f234e9a | |||
46bc879406 | |||
bf316cdf34 | |||
ffcc44af76 | |||
a416480c8e | |||
dda68de2ff | |||
337be3db07 | |||
a11fc5adb0 | |||
0854a250d8 | |||
4336235ce9 | |||
cb5356cc3d | |||
67baeba6f9 | |||
fe6282ebca | |||
576bdddddb | |||
e03158d599 | |||
9862c44df7 | |||
981db9649e | |||
d4f1c0e6f5 | |||
ac19c8313f | |||
8054b055e0 | |||
4f221e46e8 | |||
755a7d84cd | |||
b61939aadb | |||
0a33e0a7bc | |||
c3ef12d25c | |||
a0f9848933 | |||
e92a9fc4a6 | |||
4ed6d9133a | |||
329b0693e6 | |||
2f2cf72422 | |||
3a80394eea | |||
0b3a04450a |
4 changed files with 26 additions and 21 deletions
|
@ -2,8 +2,8 @@ when:
|
|||
- event: manual
|
||||
- event: tag
|
||||
|
||||
#depends_on:
|
||||
#- test
|
||||
depends_on:
|
||||
- test
|
||||
|
||||
steps:
|
||||
npm:
|
||||
|
@ -22,6 +22,9 @@ steps:
|
|||
image: quay.io/podman/stable:latest
|
||||
# Caution: This image is built daily. It might fill up your image store quickly.
|
||||
#pull: true
|
||||
volumes:
|
||||
- containers:/var/lib/containers
|
||||
- pnpm:/root/.local/share/pnpm
|
||||
# Fill in the trusted checkbox in Woodpecker's settings as well
|
||||
privileged: true
|
||||
environment:
|
||||
|
@ -36,20 +39,5 @@ steps:
|
|||
# Build the container image
|
||||
- podman build --volume=/var/lib/containers:/var/lib/containers --tag $registry/$org/$container_name:latest --tag $registry/$org/$container_name:$CI_COMMIT_TAG .
|
||||
# Push the image
|
||||
#- podman push --sign-by-sigstore-private-key ./key.private code.philo.ydns.eu/$org/$container_name:latest
|
||||
- podman push $registry/$org/$container_name:latest
|
||||
- podman push $registry/$org/$container_name:$CI_COMMIT_TAG
|
||||
|
||||
# container_build_release_push:
|
||||
# #image: docker.io/maltegrosse/woodpecker-buildah:0.0.12
|
||||
# image: code.philo.ydns.eu/philorg/woodpecker-buildah
|
||||
# settings:
|
||||
# registry: code.philo.ydns.eu
|
||||
# repository: philorg/test-woodpecker-webapp
|
||||
# tags: ${CI_COMMIT_SHA}
|
||||
# architectures: amd64
|
||||
# context: Containerfile
|
||||
# username:
|
||||
# from_secret: registry_username
|
||||
# password:
|
||||
# from_secret: registry_password
|
||||
|
|
15
.woodpecker/test.yaml
Normal file
15
.woodpecker/test.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
when:
|
||||
- event: manual
|
||||
- event: tag
|
||||
- event: push
|
||||
|
||||
steps:
|
||||
npm:
|
||||
image: code.philo.ydns.eu/philorg/pnpm
|
||||
environment:
|
||||
ORG: philorg
|
||||
REGISTRY_TOKEN:
|
||||
from_secret: registry_token
|
||||
commands:
|
||||
- pnpm install --frozen-lockfile
|
||||
- pnpm run type-check
|
|
@ -1,5 +1,6 @@
|
|||
# test-woodpecker-webapp
|
||||
|
||||
[](https://code.philo.ydns.eu/woodpecker/repos/6)
|
||||
[](https://code.philo.ydns.eu/woodpecker/repos/9)
|
||||
|
||||
This is a sandbox for building packages (npm and container) with Woodpecker CI.
|
||||
|
||||
This is a sansbox for building packages (npm and container) with Woodpecker CI.
|
|
@ -1,12 +1,13 @@
|
|||
{
|
||||
"name": "test-woodpecker-webapp",
|
||||
"version": "0.3.2",
|
||||
"version": "0.5.17",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "run-p type-check \"build-only {@}\" --",
|
||||
"preview": "vite preview",
|
||||
"build-only": "vite build",
|
||||
"type-check": "vue-tsc --build"
|
||||
"type-check": "vue-tsc --build",
|
||||
"postversion": "git push && git push --tags"
|
||||
},
|
||||
"dependencies": {
|
||||
"pinia": "^3.0.1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue