[ARVADOS] updated: 1.3.0-2758-g4bb736418

Git user git at public.arvados.org
Tue Oct 13 17:58:56 UTC 2020


Summary of changes:
 cmd/arvados-server/cmd.go                 | 11 -----------
 go.mod                                    |  5 +----
 go.sum                                    | 19 -------------------
 lib/controller/example/controller.go      |  5 -----
 lib/controller/example/controller_test.go |  2 ++
 5 files changed, 3 insertions(+), 39 deletions(-)

  discards  b3eed8763022766623103f65a2e5a6ef4b665f69 (commit)
  discards  22c4e045032cca82e510409182cf50c005801d32 (commit)
       via  4bb73641830b259ca0edc2c1e577ca96402fc869 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (b3eed8763022766623103f65a2e5a6ef4b665f69)
            \
             N -- N -- N (4bb73641830b259ca0edc2c1e577ca96402fc869)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 4bb73641830b259ca0edc2c1e577ca96402fc869
Author: Tom Clegg <tom at tomclegg.ca>
Date:   Tue Oct 13 13:29:03 2020 -0400

    16534: Use auth token for test requests.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at tomclegg.ca>

diff --git a/lib/controller/example/controller_test.go b/lib/controller/example/controller_test.go
index e67323c43..5d5775bbf 100644
--- a/lib/controller/example/controller_test.go
+++ b/lib/controller/example/controller_test.go
@@ -11,6 +11,7 @@ import (
 	"git.arvados.org/arvados.git/lib/config"
 	"git.arvados.org/arvados.git/sdk/go/arvados"
 	"git.arvados.org/arvados.git/sdk/go/arvadostest"
+	"git.arvados.org/arvados.git/sdk/go/auth"
 	"git.arvados.org/arvados.git/sdk/go/ctxlog"
 	check "gopkg.in/check.v1"
 )
@@ -35,6 +36,7 @@ func (s *ExampleSuite) SetUpTest(c *check.C) {
 	cluster, err := cfg.GetCluster("")
 	c.Assert(err, check.IsNil)
 	s.ctx, s.rollback = arvadostest.TransactionContext(c, arvadostest.DB(c, cluster))
+	s.ctx = auth.NewContext(s.ctx, &auth.Credentials{Tokens: []string{arvadostest.ActiveTokenV2}})
 	s.stub = &arvadostest.APIStub{}
 	s.ctrl = New(cluster, s.stub)
 }

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list