Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

metadata test no longer fetches from upstream, only uses edit #979

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions integration/init_app/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ type TestMetadata struct {
// debugging
SkipCleanup bool `yaml:"skip_cleanup"`
SkipEdit bool `yaml:"skip_edit"`
SkipInit bool `yaml:"skip_init"`
}

func TestInitReplicatedApp(t *testing.T) {
Expand Down Expand Up @@ -99,6 +100,10 @@ var _ = Describe("ship init replicated.app/...", func() {
}, 20)

It("Should output files matching those expected when communicating with the graphql api", func() {
if testMetadata.SkipInit {
Skip("this test case is set to skip init tests")
return
}

upstream := "staging.replicated.app/some-cool-ci-tool"

Expand Down
1 change: 1 addition & 0 deletions integration/init_app/license-info/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ replacements:
"signature.*" : "signature: replaced signature"
skip_cleanup: false
skip_edit: false
skip_init: true