Skip to content

Commit

Permalink
rename sign_release.py to release.py (open-telemetry#2385)
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Dec 19, 2022
1 parent 041c585 commit db09c8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fossa:
except:
- schedules

.sign-release:
.deploy-release:
image: '${DOCKER_CICD_REPO}/ci-container:python-3.9'
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
Expand All @@ -83,7 +83,7 @@ fossa:
echo "$path not found!"
exit 1
fi
python3 internal/buildscripts/packaging/release/sign_release.py --force --stage=${STAGE} --path=$path ${OPTIONS:-}
python3 internal/buildscripts/packaging/release/release.py --force --stage=${STAGE} --path=$path ${OPTIONS:-}
done
.go-cache:
Expand Down Expand Up @@ -550,7 +550,7 @@ build-push-windows2022-image:
release-debs:
extends:
- .trigger-filter
- .sign-release
- .deploy-release
stage: release
resource_group: artifactory-deb
dependencies:
Expand All @@ -565,7 +565,7 @@ release-debs:
release-rpms:
extends:
- .trigger-filter
- .sign-release
- .deploy-release
stage: release
parallel:
matrix:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@ def main():
sys.exit(1)

if asset.component == "deb":
# Release deb to artifactory and sign metadata
# Release deb to artifactory
release_deb_to_artifactory(asset, args)
elif asset.component == "rpm":
# Sign rpm, release to artifactory, and sign metadata
release_rpm_to_artifactory(asset, args)
elif asset.component == "msi":
# Sign MSI and release to S3
release_msi_to_s3(asset, args)

# Release installer scripts to S3
Expand Down

0 comments on commit db09c8a

Please sign in to comment.