git log step
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-04-15 17:42:09 +02:00
parent 0da2ea2477
commit 0b93d83014
3 changed files with 18 additions and 24 deletions

View File

@@ -23,6 +23,23 @@ local build(dir, package) = {
},
};
[
{
kind: 'pipeline',
type: 'docker',
name: 'git log',
platform: {
os: 'linux',
arch: 'arm64',
},
steps: [
{
name: 'git log',
image: 'cr.wks/debian-stable',
commands: [ 'git diff-tree --no-commit-id --name-only HEAD -r' ]
}
],
},
{
kind: 'pipeline',
type: 'docker',

View File

@@ -8,5 +8,5 @@ RUN apt-get update && apt-get install -y \
RUN echo 'PassThroughPattern: .*' >> /etc/apt-cacher-ng/acng.conf
EXPOSE 3142
EXPOSE 3142
CMD /usr/sbin/apt-cacher-ng -c /etc/apt-cacher-ng pidfile=/var/run/apt-cacher-ng/pid SocketPath=/var/run/apt-cacher-ng/socket foreground=1

View File

@@ -1,23 +0,0 @@
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: img-apt-cacher-ng
spec:
pipelineRef:
name: kaniko-pipeline
params:
- name: git-url
value: http://git-ui.lan/chaos/kubernetes.git
- name: git-revision
value: master
- name: path-to-image-context
value: apps/apt-cacher-ng
- name: path-to-dockerfile
value: apps/apt-cacher-ng/Dockerfile
- name: image-name
value: cr.lan/apt-cacher-ng
workspaces:
- name: git-source
persistentVolumeClaim:
claimName: tektoncd-workspaces
subPath: tekton/apt-cacher-ng