Skip to content

Commit

Permalink
merge upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjackson committed Jan 10, 2024
1 parent 4b2d6fe commit 1b52244
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
17 changes: 16 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
git_commit = $(shell git log -1 --pretty=format:"%H")

test_unit:
go test -v -race ./pkg/config/resources/container
go test -v -race ./...

test_functional:
go run main.go purge
Expand All @@ -21,6 +21,21 @@ test_functional:

go run main.go purge
go run main.go test ./examples/multiple_k3s_clusters

go run main.go purge
go run main.go test ./examples/local_exec

go run main.go purge
go run main.go test ./examples/remote_exec

go run main.go purge
go run main.go test ./examples/certificates

go run main.go purge
go run main.go test ./examples/terraform

go run main.go purge
go run main.go test ./examples/registiries

test_e2e_cmd: install_local
jumppad up --no-browser ./examples/single_k3s_cluster
Expand Down
1 change: 0 additions & 1 deletion examples/container/container.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ variable "envoy_version" {
}

resource "template" "consul_config" {

source = <<-EOF
data_dir = "{{ data_dir }}"
log_level = "DEBUG"
Expand Down
4 changes: 2 additions & 2 deletions examples/container/test/container.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Docker Container
I should apply a blueprint which defines a simple container setup
and test the resources are created correctly

Scenario: Single Container from Local Blueprint
Scenario: Docker Containers from Local Blueprint
Given I have a running blueprint
Then the following resources should be running
| name |
Expand All @@ -17,7 +17,7 @@ Scenario: Single Container from Local Blueprint
And the info "{.NetworkSettings.Ports['8500/tcp'][0].HostPort}" for the running container "resource.container.consul" should contain "85"
And a HTTP call to "http://consul.container.shipyard.run:8500/v1/status/leader" should result in status 200

Scenario: Single Container from Local Blueprint with multiple runs
Scenario: Docker Containers from Local Blueprint with multiple runs
Given the environment variable "CONSUL_VERSION" has a value "<consul>"
And the environment variable "ENVOY_VERSION" has a value "<envoy>"
And I have a running blueprint
Expand Down

0 comments on commit 1b52244

Please sign in to comment.