Skip to content

Commit

Permalink
Update test inspec profile URLs (#4429)
Browse files Browse the repository at this point in the history
* Add test inspec profiles used for testing

Signed-off-by: Alex Pop <apop@chef.io>

* Use the test inspec profiles in this repository

Signed-off-by: Alex Pop <apop@chef.io>

* Use sha urls for profiles

Signed-off-by: Alex Pop <apop@chef.io>
  • Loading branch information
alexpop committed Nov 6, 2020
1 parent 0d2fc57 commit 3138afe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (suite *GatewayTestSuite) TestLicenseUsageNodes() {
Name: "my job for aws-api node manager",
Tags: []*common.Kv{},
Type: "exec",
Profiles: []string{"https://github.com/vjeffrey/try-inspec-aws-profile/archive/master.tar.gz"},
Profiles: []string{"https://github.com/chef/automate/raw/0d2fc575a63fbd3d191834906ffb1e9d3a08f615/components/compliance-service/test_data/inspec_profiles/test-aws-profile-2.0.0.tar.gz"},
NodeSelectors: []*jobs.ManagerFilter{&mgrFilter},
}
suite.T().Log("Creating job for aws-api node manager, to execute scan job")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func TestAWSAPIScanJob(t *testing.T) {
Name: "my job for aws-api node manager",
Tags: []*common.Kv{},
Type: "exec",
Profiles: []string{"https://github.com/vjeffrey/try-inspec-aws-profile/archive/master.tar.gz"},
Profiles: []string{"https://github.com/chef/automate/raw/0d2fc575a63fbd3d191834906ffb1e9d3a08f615/components/compliance-service/test_data/inspec_profiles/test-aws-profile-2.0.0.tar.gz"},
NodeSelectors: []*jobs.ManagerFilter{&mgrFilter},
}
t.Log("Creating job for aws-api node manager, to execute scan job")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func TestAzureAPIScanJob(t *testing.T) {
Name: "my job for azure-api node manager",
Tags: []*common.Kv{},
Type: "exec",
Profiles: []string{"https://github.com/vjeffrey/try-azure-profile/archive/master.tar.gz"},
Profiles: []string{"https://github.com/chef/automate/raw/0d2fc575a63fbd3d191834906ffb1e9d3a08f615/components/compliance-service/test_data/inspec_profiles/test-azure-profile-2.0.0.tar.gz"},
NodeSelectors: []*jobs.ManagerFilter{&mgrFilter},
}
t.Log("Creating job for node manager, to execute azure api scan")
Expand Down

0 comments on commit 3138afe

Please sign in to comment.