This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user