Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.21 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.21 KB

Konflux Tooling

This contains the tooling needed by PNC when running within a Konflux pipeline. The following 'mini-tools' are provided, all of which are intended to be called from a Tekton pipeline e.g.

    - name: deploy
      image: $(params.JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE)
      securityContext:
        runAsUser: 0
      volumeMounts:
        - mountPath: /mnt/trusted-ca
          name: trusted-ca
          readOnly: true
      env:
        - name: ACCESS_TOKEN
          value: $(params.ACCESS_TOKEN)
      args:
        - deploy
        - --directory=/var/workdir/deployment
        - --mvn-repo=$(params.MVN_REPO)
        - --mvn-username=$(params.MVN_USERNAME)
        - --server-id=$(params.MVN_SERVER_ID)

The current tools are:

  • Preprocessor : used to preprocess build sources to add a build script and Containerfile.
  • Deploy: used (with MavenRepositoryDeployer) to deploy files to a maven repository.
  • CopyArtifacts: used by Ant builds to move built artifacts to the correct location.
  • Notify: used to notify PNC components that a pipeline has finished.

It is deployed as an image to https://quay.io/repository/redhat-user-workloads/konflux-jbs-pnc-tenant/konflux-tooling?tab=tags&tag=latest