-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove cache-compiled-release command
- Loading branch information
Showing
27 changed files
with
22 additions
and
2,105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
internal/acceptance/workflows/caching_compiled_releases.feature
This file was deleted.
Oops, something went wrong.
Submodule hello-tile
updated
17 files
+2 −0 | .gitattributes | |
+26 −0 | .github/tasks/bake.sh | |
+3 −19 | .github/workflows/release.yml | |
+25 −0 | .github/workflows/test.yml | |
+3 −0 | .gitignore | |
+14 −1 | README.md | |
+11 −8 | base.yml | |
+17 −0 | go.mod | |
+457 −0 | go.sum | |
+33 −33 | instance_groups/hello-server.yml | |
+1 −2 | jobs/bpm.yml | |
+1 −2 | jobs/hello-server.yml | |
+5 −0 | properties/hello.yml | |
+22 −0 | test/manifest/base_config.yml | |
+121 −0 | test/manifest/manifest_test.go | |
+3 −0 | variables/hello.yml | |
+1 −1 | version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,57 +27,6 @@ func initializeAWS(ctx scenarioContext) { | |
ctx.Step(regexp.MustCompile(`^I remove all the objects in the bucket "([^"]+)"$`), iRemoveAllTheObjectsInBucket) | ||
} | ||
|
||
// InitializeCacheCompiledReleases requires environment configuration to interact with a Tanzu Ops Manager. | ||
// | ||
// # Environment | ||
// | ||
// - AWS_ACCESS_KEY_ID: credentials with access to an empty S3 bucket where the release will be cached | ||
// - AWS_SECRET_ACCESS_KEY: credentials with access to empty an S3 bucket where the release will be cached | ||
// - BOSH_ALL_PROXY: this environment variable is required by the BOSH client used in Kiln. To see how to construct it see [BOSH CLI Tunneling]: https://bosh.io/docs/cli-tunnel/ | ||
// - OM_TARGET: should be set to a url like https://pcf.example.com | ||
// - OM_USERNAME: should be set to the Ops Manager username | ||
// - OM_PASSWORD: should be set to the Ops Manager password | ||
// - OM_PRIVATE_KEY: should be set with a private key in PEM format that can be used to ssh to the ops manager | ||
// | ||
// ## Debugging | ||
// | ||
// The AWS credentials are the default environment variables for the AWS CLI. | ||
// Note you can change the bucket used for testing by changing the value in the feature file. | ||
// So you can check if they will work by invoking the following command: | ||
// | ||
// aws s3 ls s3://hello-tile-releases | ||
// | ||
// The OM_TARGET, OM_USERNAME, and OM_PASSWORD behave as they would with the OM CLI. | ||
// You can ensure they are correct by running any om command. For example: | ||
// | ||
// om staged-products | ||
// | ||
// Note, where the scenario uses the om CLI, the command inherits the parent's environment. | ||
// So if needed you can set OM_SKIP_SSL_VALIDATION and other om environment variables. | ||
// | ||
// OM_PRIVATE_KEY is not a standard om environment variable; it is used by kiln not OM. | ||
// To ensure it works you can execute: | ||
// | ||
// echo "${OM_PRIVATE_KEY}" > /tmp/om.key | ||
// chmod 0400 /tmp/om.key | ||
// ssh -i /tmp/om.key "[email protected]" | ||
func InitializeCacheCompiledReleases(ctx *godog.ScenarioContext) { | ||
initializeCacheCompiledReleases(ctx) | ||
} | ||
|
||
func initializeCacheCompiledReleases(ctx scenarioContext) { | ||
ctx.Before(func(ctx context.Context, sc *godog.Scenario) (context.Context, error) { | ||
_, _, err := loadS3Credentials() | ||
if err != nil { | ||
return ctx, err | ||
} | ||
return loadEnvironment(ctx) | ||
}) | ||
ctx.Step(regexp.MustCompile(`^I add a compiled s3 release-source "([^"]*)" to the Kilnfile$`), iAddACompiledSReleaseSourceToTheKilnfile) | ||
ctx.Step(regexp.MustCompile(`^I set the stemcell version in the lock to match the one used for the tile$`), iSetTheStemcellVersionInTheLockToMatchTheOneUsedForTheTile) | ||
ctx.Step(regexp.MustCompile(`^I upload, configure, and apply the tile$`), iUploadConfigureAndApplyTheTile) | ||
} | ||
|
||
func InitializeEnv(ctx *godog.ScenarioContext) { initializeEnv(ctx) } | ||
func initializeEnv(ctx scenarioContext) { | ||
ctx.Step(regexp.MustCompile(`^the environment variable "([^"]+)" is set$`), theEnvironmentVariableIsSet) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
129 changes: 0 additions & 129 deletions
129
internal/acceptance/workflows/scenario/ops_manager_environment.go
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
internal/acceptance/workflows/scenario/ops_manager_environment_test.go
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.