8 .. include:: ../job-groups.rst
10 Below is a list of Docker job groups:
12 .. literalinclude:: ../../jjb/lf-docker-job-groups.yaml
19 lf-docker-get-container-tag
20 ---------------------------
22 Calls docker-get-git-describe.sh or docker-get-yaml-tag.sh (depending on the
23 'docker-use-params-from' condition) to obtain the tag to build.
28 Calls docker build to build the container.
33 Calls docker-push.sh script to push docker images.
41 Executes a docker build task.
45 - {project-name}-docker-verify-{stream}
46 - gerrit-docker-verify
47 - github-docker-verify
49 :Comment Trigger: recheck|reverify
53 :build-node: The node to run build on.
54 :container-public-registry: Docker registry source with base images.
55 :docker-name: Name of the Docker image.
56 :docker-use-params-from: Used to select the source of the tag information.
57 Options are "git-describe-params" or "yaml-file-params". (yaml-file-params
58 expects the tag to be defined in a local file "container-tag.yaml").
59 :jenkins-ssh-credential: Credential to use for SSH. (Generally should
60 be configured in defaults.yaml)
61 :mvn-settings: Maven settings.xml file containing credentials to use.
65 :branch: Git branch to fetch for the build. (default: master)
66 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
67 :build-timeout: Timeout in minutes before aborting build. (default: 60)
68 :docker-build-args: Additional arguments for the docker build command.
69 :docker-root: Path of the Dockerfile within the repo.
70 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
71 :pre_docker_build_script: Optional build script to execute before the main verify
73 :post_docker_build_script: Optional build script to execute after the main verify
75 :stream: Keyword that can be used to represent a release code-name.
76 Often the same as the branch. (default: master)
77 :submodule-recursive: Whether to checkout submodules recursively.
79 :submodule-timeout: Timeout (in minutes) for checkout operation.
82 :gerrit_verify_triggers: Override Gerrit Triggers.
83 :gerrit_trigger_file_paths: Override file paths which can be used to
84 filter which file modifications will trigger a build.
86 container-tag.yaml example:
96 Executes a docker build task and publishes the resulting images to a specified Docker registry.
100 - {project-name}-docker-merge-{stream}
101 - gerrit-docker-merge
102 - github-docker-merge
104 :Comment Trigger: remerge
106 :Required parameters:
108 :build-node: The node to run build on.
109 :container-public-registry: Docker registry source with base images.
110 :container-push-registry: Docker registry target for the deploy action.
111 :docker-name: Name of the Docker image.
112 :docker-use-params-from: Used to select the source of the tag information.
113 Options are "git-describe-params" or "yaml-file-params". (yaml-file-params
114 expects the tag to be defined in a local file "container-tag.yaml").
115 :jenkins-ssh-credential: Credential to use for SSH. (Generally should
116 be configured in defaults.yaml)
117 :mvn-settings: Maven settings.xml file containing credentials to use.
119 :Optional parameters:
121 :branch: Git branch to fetch for the build. (default: master)
122 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
123 :build-timeout: Timeout in minutes before aborting build. (default: 60)
124 :docker-build-args: Additional arguments for the docker build command.
125 :docker-root: Path of the Dockerfile within the repo.
126 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
127 :pre_docker_build_script: Optional build script to execute before the main merge
129 :post_docker_build_script: Optional build script to execute after the main merge
131 :stream: Keyword that can be used to represent a release code-name.
132 Often the same as the branch. (default: master)
133 :submodule-recursive: Whether to checkout submodules recursively.
135 :submodule-timeout: Timeout (in minutes) for checkout operation.
138 :gerrit_verify_triggers: Override Gerrit Triggers.
139 :gerrit_trigger_file_paths: Override file paths which can be used to
140 filter which file modifications will trigger a build.
142 container-tag.yaml example: