File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ RUN apt-get install -y --no-install-recommends jq
22
22
COPY docker/owlbot/java/bin /owlbot/bin
23
23
COPY docker/owlbot/java/src /owlbot/src
24
24
COPY docker/owlbot/java/templates /owlbot/templates
25
+ COPY post-processor-changes.txt /post-processor-changes.txt
25
26
RUN cd /owlbot/src && \
26
27
python3 -m pip install -r requirements.txt
27
28
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
steps :
15
+ # Write the latest commit message to a file in the workspace.
16
+ - name : ' gcr.io/cloud-builders/git'
17
+ entrypoint : ' /bin/sh'
18
+ args :
19
+ - ' -c'
20
+ - ' git log -1 --format="%s%n%n%b%nSource-Link: https://github.com/googleapis/synthtool/commit/%H" > post-processor-changes.txt'
21
+ # Build the docker image.
15
22
- name : " gcr.io/cloud-builders/docker"
16
23
args : [ "build",
17
24
" -t" , "gcr.io/$PROJECT_ID/owlbot-java:$SHORT_SHA",
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
steps :
15
+ # Write the latest commit message to a file in the workspace.
16
+ - name : ' gcr.io/cloud-builders/git'
17
+ entrypoint : ' /bin/sh'
18
+ args :
19
+ - ' -c'
20
+ - ' git log -1 --format="%s%n%n%b%nSource-Link: https://github.com/googleapis/synthtool/commit/%H" > post-processor-changes.txt'
21
+ # Build the docker image.
15
22
- name : " gcr.io/cloud-builders/docker"
16
23
args : [ "build",
17
24
" -t" , "gcr.io/$PROJECT_ID/owlbot-java:$SHORT_SHA",
You can’t perform that action at this time.
0 commit comments