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

Azcopy Release pipeline #2728

Merged
merged 29 commits into from
Jul 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
2638db4
Release pipeline for linux, mariner, mac and windows
dphulkar-msft Jun 20, 2024
5c9f872
Release pipeline for linux, mariner, mac and windows
dphulkar-msft Jun 20, 2024
4019d86
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jun 20, 2024
5640109
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jun 20, 2024
56f6943
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jun 20, 2024
53164a1
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jun 20, 2024
46349ab
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jun 20, 2024
dbb6033
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jun 20, 2024
66a8625
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jun 20, 2024
9bb26c7
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jun 20, 2024
c495b58
Merge branch 'main' of https://github.com/Azure/azure-storage-azcopy …
dphulkar-msft Jun 25, 2024
a8dab8a
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jun 25, 2024
5389790
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jun 25, 2024
a3487cd
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jun 25, 2024
7dbfe1e
incorporated review comments
dphulkar-msft Jul 3, 2024
5e13b19
incorporated review comments
dphulkar-msft Jul 3, 2024
e4ba9bb
incorporated review comments
dphulkar-msft Jul 3, 2024
3eae591
incorporated review comments
dphulkar-msft Jul 3, 2024
8a8ed94
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jul 5, 2024
e95e43d
resolved conflicts
dphulkar-msft Jul 5, 2024
5ef790b
testes
dphulkar-msft Jul 8, 2024
754361f
tested
dphulkar-msft Jul 8, 2024
b5f191c
incorporated review comments
dphulkar-msft Jul 9, 2024
cc33038
incorporated review comments
dphulkar-msft Jul 10, 2024
27adcaf
incorporated review comments
dphulkar-msft Jul 10, 2024
c13755b
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jul 10, 2024
aa5f69b
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jul 10, 2024
8c776a1
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jul 10, 2024
4942ec8
Merge branch 'main' of https://github.com/Azure/azure-storage-azcopy …
dphulkar-msft Jul 11, 2024
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
Prev Previous commit
Next Next commit
incorporated review comments
  • Loading branch information
dphulkar-msft committed Jul 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit e4ba9bb0e3388bdc1f91423060d83707172d1084
42 changes: 21 additions & 21 deletions release-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1762,7 +1762,7 @@ stages:

- script: |
mv azCopy-linux-signed/*tar.gz .
#pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) package upload azCopy-linux-signed
pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) package upload azCopy-linux-signed
displayName: 'Upload files'
workingDirectory: $(Build.ArtifactStagingDirectory)

@@ -1774,31 +1774,31 @@ stages:
workingDirectory: $(Build.ArtifactStagingDirectory)/

- script: |
#azcopyAmdDeb=`pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload azcopy*.x86_64.deb`
#echo "Azcopy AMD DEB ID: $azcopyAmdDeb"
azcopyAmdDeb=`pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload azcopy*.x86_64.deb`
echo "Azcopy AMD DEB ID: $azcopyAmdDeb"

azcopyAmdRpmFile=$(ls azcopy-* | grep -vE 'cm2\.x86_64\.rpm|arm64\.deb|x86_64\.deb|arm64\.rpm')
# azcopyAmdRpm=$(pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload $azcopyAmdRpmFile)
# echo "Azcopy AMD RPM ID: $azcopyAmdRpm"
azcopyAmdRpm=$(pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload $azcopyAmdRpmFile)
echo "Azcopy AMD RPM ID: $azcopyAmdRpm"

# azcopyArmDeb=`pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload azcopy*.arm64.deb`
# echo "Azcopy ARM DEB ID: $azcopyArmDeb"
azcopyArmDeb=`pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload azcopy*.arm64.deb`
echo "Azcopy ARM DEB ID: $azcopyArmDeb"

azcopyArmRpmFile=$(ls azcopy* | grep -vE 'cm2\.arm64\.rpm|arm64\.deb|x86_64\.deb|x86_64\.rpm')
# azcopyArmRpm=$(pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload $azcopyArmRpmFile)
# echo "Azcopy ARM RPM $azcopyArmRpmFile"
# echo "Azcopy ARM RPM ID: $azcopyArmRpm"
azcopyArmRpm=$(pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload $azcopyArmRpmFile)
echo "Azcopy ARM RPM $azcopyArmRpmFile"
echo "Azcopy ARM RPM ID: $azcopyArmRpm"

# Find the Mariner RPM file and upload
marinerAmdRpmFile=$(ls azcopy-* | grep 'cm2\.x86_64\.rpm')
# marinerAmdRpm=$(pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload $marinerAmdRpmFile)
# echo "Azcopy mariner AMD RPM $marinerAmdRpmFile"
# echo "Azcopy mariner AMD RPM ID: $marinerAmdRpm"
marinerAmdRpm=$(pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload $marinerAmdRpmFile)
echo "Azcopy mariner AMD RPM $marinerAmdRpmFile"
echo "Azcopy mariner AMD RPM ID: $marinerAmdRpm"

marinerAarchRpmFile=$(ls azcopy-* | grep 'cm2\.arm64\.rpm')
# marinerAarchRpm=$(pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload $marinerAarchRpmFile)
# echo "Azcopy mariner ARM RPM: $marinerAarchRpmFile"
# echo "Azcopy mariner ARM RPM ID: $marinerAarchRpm"
marinerAarchRpm=$(pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) --id-only package upload $marinerAarchRpmFile)
echo "Azcopy mariner ARM RPM: $marinerAarchRpmFile"
echo "Azcopy mariner ARM RPM ID: $marinerAarchRpm"

is_preview="false"
echo "##vso[task.setvariable variable=is_preview]$is_preview"
@@ -1807,7 +1807,7 @@ stages:
echo "##vso[task.setvariable variable=is_preview]$is_preview"
fi

while IFS=, read -r distro archType repoName releaseName; do
while IFS=, read -r distro archetype repoName releaseName; do

# If the package is preview, publish to mariner preview package
if [[ $distro == *"Mariner-2.0"* ]]; then
@@ -1818,14 +1818,14 @@ stages:

echo "Uploading packages for $distro"
echo "Repo Name: $repoName"
#pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) repo package update --add-packages ${!archType} $repoName $releaseName
pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) repo package update --add-packages ${!archetype} $repoName $releaseName
done < <(tail -n +3 ../packages.csv)
displayName: 'Add uploaded packages to repository'
workingDirectory: $(Build.ArtifactStagingDirectory)/azCopy-linux-signed/

- script: |
while IFS=, read -r distro archType repoName releaseName; do
if [[ $ArchType == *"Arm"* ]]; then
while IFS=, read -r distro archetype repoName releaseName; do
if [[ $archetype == *"Arm"* ]]; then
echo "Skipping for ARM type on $distro"
else
if [[ $distro == *"Mariner-2.0"* ]]; then
@@ -1834,7 +1834,7 @@ stages:
fi
fi
echo "Repo Name: $repoName"
#pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) repo publish $repoName
pmc --msal-cert-path $(pmcCertificate.secureFilePath) --config $(settings.secureFilePath) repo publish $repoName
fi
done < <(tail -n +3 ../packages.csv)
displayName: 'Publish the repository'
Loading