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

Added flag for publishing to the container. #2749

Merged
merged 46 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
46 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
977cce5
Merge branch 'main' of https://github.com/Azure/azure-storage-azcopy …
dphulkar-msft Jul 12, 2024
86b4c3a
Added flag for releasing to public container
dphulkar-msft Jul 12, 2024
09f6acc
Merge branch 'main' of https://github.com/Azure/azure-storage-azcopy …
dphulkar-msft Jul 17, 2024
e4fd635
Merge branch 'main' of https://github.com/Azure/azure-storage-azcopy …
dphulkar-msft Jul 18, 2024
62581f3
changes test name
dphulkar-msft Jul 19, 2024
3b0c755
changes test name
dphulkar-msft Jul 19, 2024
3697e4b
Merge branch 'main' of https://github.com/Azure/azure-storage-azcopy …
dphulkar-msft Jul 19, 2024
345db35
changes test name
dphulkar-msft Jul 19, 2024
d41c7eb
changes test name
dphulkar-msft Jul 19, 2024
fc2b59b
remove code signature file as it is not required
dphulkar-msft Jul 19, 2024
44c3244
rolled back test name
dphulkar-msft Jul 22, 2024
f598685
rolled back test name
dphulkar-msft Jul 22, 2024
cd07e55
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jul 22, 2024
2c46717
Update zt_amanaged_disks_test.go
dphulkar-msft Jul 23, 2024
a896885
Merge branch 'main' into az-releasePipeline
vibhansa-msft Jul 24, 2024
bc7c8ef
updated dependencies
dphulkar-msft Jul 24, 2024
5705c88
Merge branch 'az-releasePipeline' of https://github.com/Azure/azure-s…
dphulkar-msft Jul 24, 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
7 changes: 4 additions & 3 deletions e2etest/zt_amanaged_disks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ package e2etest

import (
"flag"
"github.com/Azure/azure-storage-azcopy/v10/common"
"runtime"
"testing"
"time"

"github.com/Azure/azure-storage-azcopy/v10/common"
)

// Purpose: Tests for the special cases that relate to moving managed disks (default local VHD to page blob; special handling for
Expand Down Expand Up @@ -118,7 +119,7 @@ func TestManagedDisks_SnapshotOAuth(t *testing.T) {
}

// Service issue causes occasional flickers in feature functionality; enough that testing is problematic. Temporarily disabled until issue is resolved.
func TestManagedDisks_OAuthRequired(t *testing.T) {
func TestAaa(t *testing.T) {
if runtime.GOOS != "linux" {
t.Skip("Limit runs to Linux so no simultaneous runs occur")
return
Expand All @@ -137,7 +138,7 @@ func TestManagedDisks_OAuthRequired(t *testing.T) {
&hooks{
beforeRunJob: func(h hookHelper) {
// try giving the service some time to think
time.Sleep(time.Second * 30)
time.Sleep(time.Second * 5)
},
},
testFiles{
Expand Down
14 changes: 7 additions & 7 deletions release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ parameters:
type: string
default: 'azcopy-'

- name: test_mode
displayName: 'Test Mode'
- name: publish_to_container
displayName: 'Publish To Container'
type: boolean
default: false

Expand Down Expand Up @@ -1542,8 +1542,8 @@ stages:
value: 'azcopyprivatedrops'
- name: Release_Account_Name
value: 'azcopyvnextrelease'
- name: Test_Mode
value: ${{ parameters.test_mode }}
- name: Publish_To_Container
value: ${{ parameters.publish_to_container }}
- name: work_dir
value: '$(System.DefaultWorkingDirectory)/azure-storage-azcopy'

Expand Down Expand Up @@ -1619,10 +1619,10 @@ stages:

today=$(date +"%Y%m%d")

if [ $(Test_Mode) = "True" ]; then
container_url="https://$(Test_Release_Account_Name).blob.core.windows.net/releases/release-$azcopy_version-$today"
else
if [ $(Publish_To_Container) = "True" ]; then
container_url="https://$(Release_Account_Name).blob.core.windows.net/releases/release-$azcopy_version-$today"
else
container_url="https://$(Test_Release_Account_Name).blob.core.windows.net/releases/release-$azcopy_version-$today"
fi
echo "Artifacts will be uploaded to: $container_url"

Expand Down
Loading