Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gitlab/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Only run this job if:
# 1. The pipeline was started by an API trigger (`CI_PIPELINE_SOURCE == "trigger"`)
# 2. The required variables from GitHub Actions are present.
- if: '$CI_PIPELINE_SOURCE == "trigger" && $GITHUB_PR_SHA && $GH_STATUS_TOKEN && $GITHUB_REPO && $GITHUB_PR_REF'
- if: '$CI_PIPELINE_SOURCE == "trigger" && $GITHUB_PR_SHA && $GH_STATUS_TOKEN && $GITHUB_REPO && $GITHUB_PR_REF && $GITHUB_REPO_URL'
before_script:
# Make sure curl and git are available
- apk add --no-cache curl git
Expand All @@ -33,7 +33,7 @@
--use \
--platform linux/${ARCH}
script:
- git clone -b "$GITHUB_PR_REF" "$GITHUB_PR_HEAD_REPO_URL" .
- git clone -b "$GITHUB_PR_REF" "$GITHUB_REPO_URL" .
# Make sure we test with the latest base image
- docker pull "${IMAGE_BASE}:latest-${ARCH}" || true
- |
Expand Down