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

split-release: publish temp files to artifactory #12435

Merged
merged 1 commit into from
Jan 17, 2022
Merged
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
10 changes: 0 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,16 +216,6 @@ jobs:
eval "$(./dev-env/bin/dade-assist)"
mkdir -p $(Build.StagingDirectory)/split-release
./ci/assembly-split-release-artifacts.sh $(release_tag) $(Build.StagingDirectory)/release-artifacts $(Build.StagingDirectory)/split-release
- bash: |
set -eou pipefail

source $(bash-lib)
cd $(Build.StagingDirectory)/split-release
gcs "$GCRED" -m cp -r github gs://daml-data/split-releases/$(release_tag)/
gcs "$GCRED" -m cp -r split-release gs://daml-data/split-releases/$(release_tag)/
name: upload_to_gcs
env:
GCRED: $(GOOGLE_APPLICATION_CREDENTIALS_CONTENT)
- bash: |
set -euo pipefail
./ci/publish-artifactory.sh $(Build.StagingDirectory) $(release_tag) split
Expand Down
8 changes: 8 additions & 0 deletions ci/publish-artifactory.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,12 @@ if [[ "$#" -lt 3 || $3 != "split" ]]; then
EE_INSTALLER=daml-sdk-$RELEASE_TAG-windows-ee.exe
push sdk-ee $EE_INSTALLER
push sdk-ee $EE_INSTALLER.asc
else
# For the split release process, we publish intermediate artifacts to the
# assembly repo, under the daml folder.
SPLIT_DIR=$STAGING_DIR/split-release
cd $SPLIT_DIR
for file in $(find . -type f); do
push assembly/daml $file
done
fi