Page MenuHomePhabricator
Paste P13509

workflow.yaml
ActivePublic

Authored by Legoktm on Dec 1 2020, 8:30 PM.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: pack-
labels:
workflows.argoproj.io/archive-strategy: "false"
spec:
entrypoint: pack
volumes:
- name: dind
hostPath:
path: /var/run/docker.sock
templates:
- name: pack
script:
image: legoktm/toolforge-buster0-build:latest
command: [sh]
securityContext:
runAsNonRoot: false
runAsGroup: 0
runAsUser: 0
volumeMounts:
- name: dind
mountPath: /var/run/docker.sock
source: |
pack --version
cd /tmp
git clone https://gerrit.wikimedia.org/r/labs/tools/apt-browser
cd apt-browser
pack build my-cool-tool --builder docker-registry.tools.wmflabs.org/toolforge-buster0-builder:latest