mirror of
https://github.com/gomods/athens
synced 2026-02-03 08:40:31 +00:00
chore: remove last drone remains (#1839)
* chore: remove drone * fix: cr suggestions * fix: cr suggestions
This commit is contained in:
@@ -20,7 +20,7 @@ import (
|
||||
// and it will ensure that saving to modules at the same time
|
||||
// is done synchronously so that only the first module gets saved.
|
||||
func TestWithAzureBlob(t *testing.T) {
|
||||
containerName := randomContainerName(os.Getenv("DRONE_PULL_REQUEST"))
|
||||
containerName := randomContainerName(os.Getenv("GA_PULL_REQUEST"))
|
||||
cfg := getAzureTestConfig(containerName)
|
||||
if cfg == nil {
|
||||
t.SkipNow()
|
||||
|
||||
@@ -50,7 +50,7 @@ func (s *Storage) clear() error {
|
||||
|
||||
func getStorage(t testing.TB) *Storage {
|
||||
t.Helper()
|
||||
containerName := randomContainerName(os.Getenv("DRONE_PULL_REQUEST"))
|
||||
containerName := randomContainerName(os.Getenv("GA_PULL_REQUEST"))
|
||||
cfg := getTestConfig(containerName)
|
||||
if cfg == nil {
|
||||
t.SkipNow()
|
||||
|
||||
@@ -48,7 +48,7 @@ func (s *Storage) clear() error {
|
||||
|
||||
func getStorage(t testing.TB) *Storage {
|
||||
t.Helper()
|
||||
bucketName := randomBucketName(os.Getenv("DRONE_PULL_REQUEST"))
|
||||
bucketName := randomBucketName(os.Getenv("GA_PULL_REQUEST"))
|
||||
cfg := getTestConfig(bucketName)
|
||||
if cfg == nil {
|
||||
// Don't fail if there's no test config, so that these tests don't
|
||||
|
||||
Reference in New Issue
Block a user