Skip to content

Commit

Permalink
ci: workaround upstream build issue
Browse files Browse the repository at this point in the history
Currently the master branch of Copybara is broken, and to prevent
failure we just revert to the previous commit. Here's the issue opened:
google/copybara#299

Ticket: QA-678

Signed-off-by: Roberto Giovanardi <[email protected]>
  • Loading branch information
oldgiova committed Oct 14, 2024
1 parent 2075df4 commit 1dfb9cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,9 @@ build:copybara:
script:
- echo "INFO - Building and Pushing ${CONTAINER_TAG}-${CI_PIPELINE_ID} to the registry ${CI_REGISTRY_IMAGE}"
- apk add --no-cache git
- git clone --depth 1 https://github.com/google/copybara.git
- git clone https://github.com/google/copybara.git
- cd copybara
- git reset --head d691934fcae4557ece1218eb7f8b1e51ab0a7055 # preventing build failure: https://github.com/google/copybara/issues/299
- docker buildx build
--cache-to type=registry,ref=${CI_REGISTRY_IMAGE}:${CONTAINER_TAG}_ci_cache,mode=max
--cache-from type=registry,ref=${CI_REGISTRY_IMAGE}:${CONTAINER_TAG}_ci_cache
Expand Down

0 comments on commit 1dfb9cb

Please sign in to comment.