This message was deleted.
# epinio
a
This message was deleted.
m
Configuration of the GitJob:
Copy code
apiVersion: <http://gitjob.cattle.io/v1|gitjob.cattle.io/v1>
kind: GitJob
metadata:
  # The name of the GitJob, doesn't need to match the project.
  name: gcdemo-gitpush
  namespace: epinio
spec:
  syncInterval: 15
  git:
    # The git repo and branch to track.
    repo: <https://github.com/paales/graphcommerce-magento-graphcms>
    branch: main
  jobSpec:
    template:
      spec:
        # This should match what we created in the last step
        serviceAccountName: epinio-push
        restartPolicy: 'Never'
        containers:
          # This version should match your epinio deployment
          - image: '<http://ghcr.io/epinio/epinio-server:v1.8.1|ghcr.io/epinio/epinio-server:v1.8.1>'
            name: epinio-push
            volumeMounts:
              - name: settings
                mountPath: '/settings/'
                readOnly: true
            env:
              - name: EPINIO_CONFIG
                value: '/settings/settings.yaml'
            command:
              - /epinio
            args:
              - push
              # This is the name of the app to push
              - gcdemo
            workingDir: /workspace/source
        volumes:
          - name: settings
            secret:
              secretName: epinio-creds