Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from sfc-jenkins to sfc-eng-jenkins #414

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions ci/container/download_artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [[ -z "$GITHUB_ACTIONS" ]]; then
BRANCH=$(basename $GIT_BRANCH)
# LATEST_COMMIT=$(aws s3 cp --only-show-errors s3://sfc-jenkins/repository/$DRIVER_NAME/$BRANCH/latest_commit -)
echo "aws s3 cp --only-show-errors s3://sfc-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/ $WORKSPACE --recursive"
aws s3 cp --only-show-errors s3://sfc-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/ $WORKSPACE --recursive
# LATEST_COMMIT=$(aws s3 cp --only-show-errors s3://sfc-eng-jenkins/repository/$DRIVER_NAME/$BRANCH/latest_commit -)
echo "aws s3 cp --only-show-errors s3://sfc-eng-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/ $WORKSPACE --recursive"
aws s3 cp --only-show-errors s3://sfc-eng-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/ $WORKSPACE --recursive
elif [[ -e "$WORKSPACE/artifacts/" ]]; then
# Linux Container
echo "[INFO] cp $WORKSPACE/artifacts/* $WORKSPACE"
Expand Down
6 changes: 3 additions & 3 deletions ci/container/upload_artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ if [[ -z "$GITHUB_ACTIONS" ]]; then
BRANCH=$(basename $GIT_BRANCH)
for f in "${ARTIFACTS[@]}"; do
echo $f
echo "[INFO] aws s3 cp --only-show-errors $f s3://sfc-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/"
aws s3 cp --only-show-errors $f s3://sfc-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/
echo "[INFO] aws s3 cp --only-show-errors $f s3://sfc-eng-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/"
aws s3 cp --only-show-errors $f s3://sfc-eng-jenkins/repository/$DRIVER_NAME/$BRANCH/${GIT_COMMIT}/
COMMIT_FILE=$(mktemp)
cat > $COMMIT_FILE <<COMMIT_FILE_CONTENTS
${GIT_COMMIT}
COMMIT_FILE_CONTENTS
aws s3 cp --only-show-errors $COMMIT_FILE s3://sfc-jenkins/repository/$DRIVER_NAME/$BRANCH/latest_commit
aws s3 cp --only-show-errors $COMMIT_FILE s3://sfc-eng-jenkins/repository/$DRIVER_NAME/$BRANCH/latest_commit
rm -f $COMMIT_FILE
done
else
Expand Down