Skip to content

Commit

Permalink
rm unnecessary tags and add tags flag to checkphase
Browse files Browse the repository at this point in the history
  • Loading branch information
derpsteb committed Dec 4, 2024
1 parent b038c0c commit c71f727
Show file tree
Hide file tree
Showing 15 changed files with 11 additions and 19 deletions.
2 changes: 0 additions & 2 deletions cli/cmd/recover.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build contrast_unstable_api

package cmd

import (
Expand Down
2 changes: 0 additions & 2 deletions cli/cmd/set.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build contrast_unstable_api

package cmd

import (
Expand Down
2 changes: 0 additions & 2 deletions cli/cmd/verify.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build contrast_unstable_api

package cmd

import (
Expand Down
2 changes: 0 additions & 2 deletions cli/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build contrast_unstable_api

package main

import (
Expand Down
2 changes: 1 addition & 1 deletion e2e/aks-runtime/aks_runtime_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build e2e && contrast_unstable_api
//go:build e2e

package aksruntime

Expand Down
2 changes: 1 addition & 1 deletion e2e/genpolicy/genpolicy_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build e2e && contrast_unstable_api
//go:build e2e

package genpolicy

Expand Down
2 changes: 1 addition & 1 deletion e2e/getdents/getdents_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build e2e && contrast_unstable_api
//go:build e2e

package getdents

Expand Down
2 changes: 1 addition & 1 deletion e2e/internal/contrasttest/contrasttest.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build e2e && contrast_unstable_api
//go:build e2e

package contrasttest

Expand Down
2 changes: 1 addition & 1 deletion e2e/openssl/openssl_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build e2e && contrast_unstable_api
//go:build e2e

package openssl

Expand Down
2 changes: 1 addition & 1 deletion e2e/policy/policy_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build e2e && contrast_unstable_api
//go:build e2e

package policy

Expand Down
2 changes: 1 addition & 1 deletion e2e/regression/regression_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build e2e && contrast_unstable_api
//go:build e2e

package regression

Expand Down
2 changes: 1 addition & 1 deletion e2e/servicemesh/servicemesh_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build e2e && contrast_unstable_api
//go:build e2e

package servicemesh

Expand Down
2 changes: 1 addition & 1 deletion e2e/volumestatefulset/volumestatefulset_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build e2e && contrast_unstable_api
//go:build e2e

package volumestatefulset

Expand Down
2 changes: 1 addition & 1 deletion e2e/workloadsecret/workloadsecret_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Edgeless Systems GmbH
// SPDX-License-Identifier: AGPL-3.0-only

//go:build e2e && contrast_unstable_api
//go:build e2e

package workloadsecret

Expand Down
2 changes: 1 addition & 1 deletion packages/by-name/contrast/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ buildGoModule rec {

checkPhase = ''
runHook preCheck
go test -race ./...
go test -tags=contrast_unstable_api -race ./...
runHook postCheck
'';

Expand Down

0 comments on commit c71f727

Please sign in to comment.