From 6d40293ee35fc3906a73f0c087e77498e73edfb9 Mon Sep 17 00:00:00 2001 From: Nathanael DEMACON Date: Fri, 24 Mar 2023 16:19:17 +0100 Subject: [PATCH] feat(container): add build-args to deploy workflow --- ...st-all-usage-container-deploy-usage.golden | 1 + docs/commands/container.md | 1 + .../container/v1beta1/custom_deploy.go | 7 + .../container/v1beta1/custom_deploy_test.go | 42 +- ...y-app-name-deduced-from-path.cassette.yaml | 1190 +++-------------- ...t-deploy-app-name-deduced-from-path.golden | 4 +- .../test-deploy-build-args.cassette.yaml | 1040 ++++++++++++++ .../testdata/test-deploy-build-args.golden | 6 + .../testdata/test-deploy-simple.cassette.yaml | 464 +++++-- .../testdata/test-deploy-simple.golden | 4 +- 10 files changed, 1626 insertions(+), 1133 deletions(-) create mode 100644 internal/namespaces/container/v1beta1/testdata/test-deploy-build-args.cassette.yaml create mode 100644 internal/namespaces/container/v1beta1/testdata/test-deploy-build-args.golden diff --git a/cmd/scw/testdata/test-all-usage-container-deploy-usage.golden b/cmd/scw/testdata/test-all-usage-container-deploy-usage.golden index 73ba0060ff..29d0afba2f 100644 --- a/cmd/scw/testdata/test-all-usage-container-deploy-usage.golden +++ b/cmd/scw/testdata/test-all-usage-container-deploy-usage.golden @@ -10,6 +10,7 @@ ARGS: [dockerfile=Dockerfile] Path to the Dockerfile [build-source=.] Path to the build context [cache=true] Use cache when building the image + [build-args.{key}] Build-time variables [port=8080] Port to expose [namespace-id] Container Namespace ID to deploy to [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all) diff --git a/docs/commands/container.md b/docs/commands/container.md index a1adcb117b..1d3912369b 100644 --- a/docs/commands/container.md +++ b/docs/commands/container.md @@ -351,6 +351,7 @@ scw container deploy [arg=value ...] | dockerfile | Default: `Dockerfile` | Path to the Dockerfile | | build-source | Default: `.` | Path to the build context | | cache | Default: `true` | Use cache when building the image | +| build-args.{key} | | Build-time variables | | port | Default: `8080` | Port to expose | | namespace-id | | Container Namespace ID to deploy to | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw`, `all` | Region to target. If none is passed will use default region from the config | diff --git a/internal/namespaces/container/v1beta1/custom_deploy.go b/internal/namespaces/container/v1beta1/custom_deploy.go index 411034951c..eea5eb8a01 100644 --- a/internal/namespaces/container/v1beta1/custom_deploy.go +++ b/internal/namespaces/container/v1beta1/custom_deploy.go @@ -32,6 +32,7 @@ type containerDeployRequest struct { Dockerfile string BuildSource string Cache bool + BuildArgs map[string]*string NamespaceID *string Port uint32 @@ -65,6 +66,11 @@ func containerDeployCommand() *core.Command { Short: "Use cache when building the image", Default: core.DefaultValueSetter("true"), }, + { + Name: "build-args.{key}", + Short: "Build-time variables", + Required: false, + }, { Name: "port", Short: "Port to expose", @@ -232,6 +238,7 @@ func DeployStepBuildImage(t *tasks.Task, data *DeployStepPackImageResponse) (*De Dockerfile: data.Args.Dockerfile, Tags: []string{tag}, NoCache: !data.Args.Cache, + BuildArgs: data.Args.BuildArgs, }) if err != nil { return nil, fmt.Errorf("could not build image: %w", errors.Unwrap(err)) diff --git a/internal/namespaces/container/v1beta1/custom_deploy_test.go b/internal/namespaces/container/v1beta1/custom_deploy_test.go index 8190b8fe84..3946e716f4 100644 --- a/internal/namespaces/container/v1beta1/custom_deploy_test.go +++ b/internal/namespaces/container/v1beta1/custom_deploy_test.go @@ -30,6 +30,14 @@ var ( FROM nginx:alpine RUN apk add --no-cache curl git bash COPY ./index.html /usr/share/nginx/html/index.html +EXPOSE 80 + `) + nginxDockerfileWithBuildArgs = strings.TrimSpace(` +FROM nginx:alpine +RUN apk add --no-cache curl git bash +COPY ./index.html /usr/share/nginx/html/index.html +ARG TEST +RUN test -n "$TEST" EXPOSE 80 `) ) @@ -112,6 +120,38 @@ func Test_Deploy(t *testing.T) { ), DisableParallel: true, })) + + t.Run("Build args", core.Test(&core.TestConfig{ + Commands: commands, + BeforeFunc: core.BeforeFuncCombine( + func(ctx *core.BeforeFuncCtx) error { + // Create index.html + err := os.WriteFile(filepath.Join(path, "index.html"), []byte(indexHTML), 0600) + if err != nil { + return err + } + return nil + }, + func(ctx *core.BeforeFuncCtx) error { + // Create Dockerfile + err := os.WriteFile(filepath.Join(path, "Dockerfile"), []byte(nginxDockerfileWithBuildArgs), 0600) + if err != nil { + return err + } + return nil + }, + ), + Cmd: fmt.Sprintf("scw container deploy name=%s build-source=%s port=80 build-args.TEST=thisisatest", appName, path), + Check: core.TestCheckCombine( + core.TestCheckGolden(), + core.TestCheckExitCode(0), + ), + AfterFunc: core.AfterFuncCombine( + testDeleteContainersNamespaceAfter(appName), + testDeleteRegistryAfter(appName), + ), + DisableParallel: true, + })) } func testDeleteContainersNamespaceAfter(appName string) func(*core.AfterFuncCtx) error { @@ -137,7 +177,7 @@ func testDeleteContainersNamespaceAfter(appName string) func(*core.AfterFuncCtx) return fmt.Errorf("namespace not found") } - return core.ExecAfterCmd(fmt.Sprintf("scw container namespace delete %s", namespaceID))(ctx) + return core.ExecAfterCmd(fmt.Sprintf("scw container namespace delete %s --wait", namespaceID))(ctx) } } diff --git a/internal/namespaces/container/v1beta1/testdata/test-deploy-app-name-deduced-from-path.cassette.yaml b/internal/namespaces/container/v1beta1/testdata/test-deploy-app-name-deduced-from-path.cassette.yaml index dc63b5774c..6535fe2df5 100644 --- a/internal/namespaces/container/v1beta1/testdata/test-deploy-app-name-deduced-from-path.cassette.yaml +++ b/internal/namespaces/container/v1beta1/testdata/test-deploy-app-name-deduced-from-path.cassette.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:16 GMT + - Fri, 24 Mar 2023 11:10:23 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -29,7 +29,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5b62915f-4734-4ebc-aa9d-52b3f2ab971f + - 67286514-7cbd-44b2-ab52-d4f65fc26d50 status: 200 OK code: 200 duration: "" @@ -44,7 +44,7 @@ interactions: url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces method: POST response: - body: '{"id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "name":"app-cli-test-deploy-poney", + body: '{"id":"eff7e525-5c91-49d2-8057-750f66f22664", "name":"app-cli-test-deploy-poney", "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"pending", "registry_namespace_id":"", "error_message":null, "registry_endpoint":"", "description":"", "secret_environment_variables":[], @@ -57,7 +57,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:16 GMT + - Fri, 24 Mar 2023 11:10:24 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -67,7 +67,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 75284dca-fbc2-4a5d-ab68-b16e17224b05 + - b5e93672-cffb-4eb7-b205-94a94c334c10 status: 200 OK code: 200 duration: "" @@ -80,55 +80,21 @@ interactions: url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?name=app-cli-test-deploy-poney&order_by=created_at_asc method: GET response: - body: '{"namespaces":[], "total_count":0}' - headers: - Content-Length: - - "34" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:21:16 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - efb5fd1f-7808-4143-8cdc-a6f0793707e4 - status: 200 OK - code: 200 - duration: "" -- request: - body: '{"name":"app-cli-test-deploy-poney","description":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","is_public":false}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces - method: POST - response: - body: '{"id":"f0aaa97a-7838-4fdf-8580-5fdf611a6f19", "name":"app-cli-test-deploy-poney", + body: '{"namespaces":[{"id":"2e6145cb-6ef3-449b-bf34-fc344ecb01c8", "name":"app-cli-test-deploy-poney", "description":"", "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"ready", "status_message":"", "endpoint":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney", "is_public":false, - "size":0, "created_at":"2023-03-23T13:21:16.489642991Z", "updated_at":"2023-03-23T13:21:16.489642991Z", - "image_count":0, "region":"fr-par"}' + "size":20430837, "created_at":"2023-03-24T10:51:26.817845Z", "updated_at":"2023-03-24T10:51:43.502519Z", + "image_count":1, "region":"fr-par"}], "total_count":1}' headers: Content-Length: - - "468" + - "503" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:16 GMT + - Fri, 24 Mar 2023 11:10:24 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -138,7 +104,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 98884692-4cb4-49af-be7c-f9cdba356f20 + - 1aeb5074-9d74-48f0-9e77-de8bb732e22b status: 200 OK code: 200 duration: "" @@ -160,7 +126,7 @@ interactions: Content-Type: - text/plain; charset=utf-8 Date: - - Thu, 23 Mar 2023 13:21:16 GMT + - Fri, 24 Mar 2023 11:10:24 GMT Docker-Experimental: - "false" Ostype: @@ -173,10 +139,10 @@ interactions: code: 200 duration: "" - request: - body: "Dockerfile\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\00100600\00000765\00000024\000000000163\014407051113\0011253\0 + body: "Dockerfile\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\00100600\00000765\00000024\000000000163\014407302437\0011263\0 0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0ustar\000\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\00000000\00000000\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0FROM nginx:alpine\nRUN apk add --no-cache curl git bash\nCOPY ./index.html /usr/share/nginx/html/index.html\nEXPOSE - 80\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\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\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" @@ -204,7 +170,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:16 GMT + - Fri, 24 Mar 2023 11:10:24 GMT Docker-Experimental: - "false" Ostype: @@ -225,16 +191,16 @@ interactions: url: http://%2Fvar%2Frun%2Fdocker.sock/v1.41/images/rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney/push?tag=latest method: POST response: - body: "{\"status\":\"The push refers to repository [rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney]\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"26c27aac52a3\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"dac7b9db7b5b\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"042cd3f87f43\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"f1bee861c2ba\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"c4d67a5827ca\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"152a948bab3b\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"5e59460a18a3\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"d8a5a02a8c2d\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"7cd52847ad77\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"152a948bab3b\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"5e59460a18a3\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"d8a5a02a8c2d\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"7cd52847ad77\"}\r\n{\"status\":\"Layer - already exists\",\"progressDetail\":{},\"id\":\"26c27aac52a3\"}\r\n{\"status\":\"Layer - already exists\",\"progressDetail\":{},\"id\":\"c4d67a5827ca\"}\r\n{\"status\":\"Layer - already exists\",\"progressDetail\":{},\"id\":\"dac7b9db7b5b\"}\r\n{\"status\":\"Layer + body: "{\"status\":\"The push refers to repository [rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney]\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"26c27aac52a3\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"dac7b9db7b5b\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"042cd3f87f43\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"f1bee861c2ba\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"c4d67a5827ca\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"152a948bab3b\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"5e59460a18a3\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"d8a5a02a8c2d\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"7cd52847ad77\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"d8a5a02a8c2d\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"152a948bab3b\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"7cd52847ad77\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"5e59460a18a3\"}\r\n{\"status\":\"Layer already exists\",\"progressDetail\":{},\"id\":\"042cd3f87f43\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"26c27aac52a3\"}\r\n{\"status\":\"Layer already exists\",\"progressDetail\":{},\"id\":\"f1bee861c2ba\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"dac7b9db7b5b\"}\r\n{\"status\":\"Layer already exists\",\"progressDetail\":{},\"id\":\"152a948bab3b\"}\r\n{\"status\":\"Layer already exists\",\"progressDetail\":{},\"id\":\"7cd52847ad77\"}\r\n{\"status\":\"Layer already exists\",\"progressDetail\":{},\"id\":\"d8a5a02a8c2d\"}\r\n{\"status\":\"Layer - already exists\",\"progressDetail\":{},\"id\":\"5e59460a18a3\"}\r\n{\"status\":\"latest: + already exists\",\"progressDetail\":{},\"id\":\"5e59460a18a3\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"c4d67a5827ca\"}\r\n{\"status\":\"latest: digest: sha256:3cd36773cda1e44ff5124881217c06f546f0f92c744277152213efd39a24bc34 size: 2199\"}\r\n{\"progressDetail\":{},\"aux\":{\"Tag\":\"latest\",\"Digest\":\"sha256:3cd36773cda1e44ff5124881217c06f546f0f92c744277152213efd39a24bc34\",\"Size\":2199}}\r\n" headers: @@ -243,7 +209,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:16 GMT + - Fri, 24 Mar 2023 11:10:24 GMT Docker-Experimental: - "false" Ostype: @@ -259,7 +225,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers?name=app-cli-test-deploy-poney&namespace_id=097f0620-0ec5-4c8f-b472-b11fd6a7ec1f&order_by=created_at_asc + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers?name=app-cli-test-deploy-poney&namespace_id=eff7e525-5c91-49d2-8057-750f66f22664&order_by=created_at_asc method: GET response: body: '{"containers":[], "total_count":0}' @@ -271,7 +237,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:25 GMT + - Fri, 24 Mar 2023 11:10:35 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -281,12 +247,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cd640bd6-7ffe-4e2f-881b-733e27c2a05c + - c649fbb3-bc08-47fd-8443-bf9729fdbb07 status: 200 OK code: 200 duration: "" - request: - body: '{"namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f","name":"app-cli-test-deploy-poney","environment_variables":null,"min_scale":null,"max_scale":null,"memory_limit":null,"timeout":null,"privacy":"unknown_privacy","description":null,"registry_image":null,"max_concurrency":null,"protocol":"unknown_protocol","port":null,"secret_environment_variables":null,"http_option":"unknown_http_option"}' + body: '{"namespace_id":"eff7e525-5c91-49d2-8057-750f66f22664","name":"app-cli-test-deploy-poney","environment_variables":null,"min_scale":null,"max_scale":null,"memory_limit":null,"timeout":null,"privacy":"unknown_privacy","description":null,"registry_image":null,"max_concurrency":null,"protocol":"unknown_protocol","port":null,"secret_environment_variables":null,"http_option":"unknown_http_option"}' form: {} headers: Content-Type: @@ -296,11 +262,11 @@ interactions: url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers method: POST response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"created", "environment_variables":{}, + body: '{"id":"658afae6-bfec-459c-8791-f196639c9970", "name":"app-cli-test-deploy-poney", + "namespace_id":"eff7e525-5c91-49d2-8057-750f66f22664", "status":"created", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/funcscwappclitestdeployponelvzngnoz/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", + "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/funcscwappclitestdeployponewm9y7zuv/app-cli-test-deploy-poney:latest", + "max_concurrency":50, "domain_name":"appclitestdeployponewm9y7zuv-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":8080, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -311,7 +277,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:25 GMT + - Fri, 24 Mar 2023 11:10:35 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -321,7 +287,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 534a16da-e35a-4e42-bb85-d89f7d45681b + - b7db3f4d-8599-41b1-aff2-5a7a27da582b status: 200 OK code: 200 duration: "" @@ -333,14 +299,14 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/658afae6-bfec-459c-8791-f196639c9970 method: PATCH response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"created", "environment_variables":{}, + body: '{"id":"658afae6-bfec-459c-8791-f196639c9970", "name":"app-cli-test-deploy-poney", + "namespace_id":"eff7e525-5c91-49d2-8057-750f66f22664", "status":"created", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"appclitestdeployponewm9y7zuv-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -351,7 +317,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:26 GMT + - Fri, 24 Mar 2023 11:10:35 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -361,7 +327,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 143f0f2a-5760-4109-be6f-fc7aac5c2083 + - 93128047-1164-4d12-adf3-32d8f8873994 status: 200 OK code: 200 duration: "" @@ -371,14 +337,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/658afae6-bfec-459c-8791-f196639c9970 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"created", "environment_variables":{}, + body: '{"id":"658afae6-bfec-459c-8791-f196639c9970", "name":"app-cli-test-deploy-poney", + "namespace_id":"eff7e525-5c91-49d2-8057-750f66f22664", "status":"created", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"appclitestdeployponewm9y7zuv-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -389,7 +355,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:26 GMT + - Fri, 24 Mar 2023 11:10:35 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -399,7 +365,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 397048ed-71d1-4460-8ff3-2f356a1201cf + - e18b1621-116d-4b07-9dc8-24c24611af92 status: 200 OK code: 200 duration: "" @@ -411,166 +377,14 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d/deploy + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/658afae6-bfec-459c-8791-f196639c9970/deploy method: POST response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:21:26 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8b0bd0a6-346f-42a4-8e98-7476dd47d8cc - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:21:26 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - efa01f43-e46a-4c5c-a89d-ad3b5614a770 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:21:31 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 450117b0-3fd5-4135-aedd-163aed21f08c - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:21:36 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a13a58b0-e2f5-47e7-b4c1-d3c3080fdba1 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, + body: '{"id":"658afae6-bfec-459c-8791-f196639c9970", "name":"app-cli-test-deploy-poney", + "namespace_id":"eff7e525-5c91-49d2-8057-750f66f22664", "status":"pending", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"appclitestdeployponewm9y7zuv-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -581,7 +395,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:41 GMT + - Fri, 24 Mar 2023 11:10:35 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -591,7 +405,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1701e6cf-67df-4741-b744-9db487e0ab0c + - c2b45fa7-5310-4f92-8b65-80989652a3dd status: 200 OK code: 200 duration: "" @@ -601,14 +415,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/658afae6-bfec-459c-8791-f196639c9970 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, + body: '{"id":"658afae6-bfec-459c-8791-f196639c9970", "name":"app-cli-test-deploy-poney", + "namespace_id":"eff7e525-5c91-49d2-8057-750f66f22664", "status":"pending", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"appclitestdeployponewm9y7zuv-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -619,7 +433,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:46 GMT + - Fri, 24 Mar 2023 11:10:35 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -629,7 +443,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 60df8957-abcd-4c2d-b680-5a960efe4fda + - 257808fa-b4bf-4a2f-9590-58615e339118 status: 200 OK code: 200 duration: "" @@ -639,14 +453,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/658afae6-bfec-459c-8791-f196639c9970 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, + body: '{"id":"658afae6-bfec-459c-8791-f196639c9970", "name":"app-cli-test-deploy-poney", + "namespace_id":"eff7e525-5c91-49d2-8057-750f66f22664", "status":"pending", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"appclitestdeployponewm9y7zuv-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -657,7 +471,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:51 GMT + - Fri, 24 Mar 2023 11:10:40 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -667,7 +481,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b88bb368-b6ee-47df-bd24-0a110d10cdbd + - 2daf82c5-b167-40d2-9bd6-fc4121c09513 status: 200 OK code: 200 duration: "" @@ -677,14 +491,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/658afae6-bfec-459c-8791-f196639c9970 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, + body: '{"id":"658afae6-bfec-459c-8791-f196639c9970", "name":"app-cli-test-deploy-poney", + "namespace_id":"eff7e525-5c91-49d2-8057-750f66f22664", "status":"pending", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"appclitestdeployponewm9y7zuv-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -695,7 +509,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:56 GMT + - Fri, 24 Mar 2023 11:10:45 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -705,7 +519,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0ff2e115-2eb5-4ac6-a2e4-f55e422e2e79 + - f68dcc9e-3047-4d32-b028-9a8f2cd94ad0 status: 200 OK code: 200 duration: "" @@ -715,14 +529,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/658afae6-bfec-459c-8791-f196639c9970 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, + body: '{"id":"658afae6-bfec-459c-8791-f196639c9970", "name":"app-cli-test-deploy-poney", + "namespace_id":"eff7e525-5c91-49d2-8057-750f66f22664", "status":"pending", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"appclitestdeployponewm9y7zuv-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -733,7 +547,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:01 GMT + - Fri, 24 Mar 2023 11:10:50 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -743,7 +557,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d1156cae-7c6d-45a4-8d31-113e8e5c78eb + - dff8f87f-be9f-4ef8-a52c-349a34ef7518 status: 200 OK code: 200 duration: "" @@ -753,25 +567,25 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/658afae6-bfec-459c-8791-f196639c9970 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, + body: '{"id":"658afae6-bfec-459c-8791-f196639c9970", "name":"app-cli-test-deploy-poney", + "namespace_id":"eff7e525-5c91-49d2-8057-750f66f22664", "status":"ready", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"appclitestdeployponewm9y7zuv-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: Content-Length: - - "663" + - "661" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:06 GMT + - Fri, 24 Mar 2023 11:10:55 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -781,7 +595,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 41935b4b-4d93-4071-a986-97b77086862c + - 0c634857-8c40-4a28-9818-8266333f88e2 status: 200 OK code: 200 duration: "" @@ -791,25 +605,23 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces?name=app-cli-test-deploy-poney&order_by=created_at_asc&page=1 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' + body: '{"namespaces":[{"id":"eff7e525-5c91-49d2-8057-750f66f22664", "name":"app-cli-test-deploy-poney", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"ready", "registry_namespace_id":"7099b984-2d39-4a9a-ad06-38b70190a6df", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponewm9y7zuv", + "description":"", "secret_environment_variables":[], "region":"fr-par"}], "total_count":1}' headers: Content-Length: - - "663" + - "509" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:11 GMT + - Fri, 24 Mar 2023 11:10:56 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -819,7 +631,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8f8dee56-1aac-4d84-9e82-fdf10621275f + - afbf1f12-f56c-4d97-8579-5385750974b6 status: 200 OK code: 200 duration: "" @@ -829,25 +641,23 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/eff7e525-5c91-49d2-8057-750f66f22664 + method: DELETE response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' + body: '{"id":"eff7e525-5c91-49d2-8057-750f66f22664", "name":"app-cli-test-deploy-poney", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"7099b984-2d39-4a9a-ad06-38b70190a6df", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponewm9y7zuv", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' headers: Content-Length: - - "663" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:16 GMT + - Fri, 24 Mar 2023 11:10:56 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -857,7 +667,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4f451934-96b2-44d5-8224-064098d7da7b + - 0213e875-413b-4749-b6df-16628e1e1328 status: 200 OK code: 200 duration: "" @@ -867,25 +677,23 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/eff7e525-5c91-49d2-8057-750f66f22664 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' + body: '{"id":"eff7e525-5c91-49d2-8057-750f66f22664", "name":"app-cli-test-deploy-poney", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"7099b984-2d39-4a9a-ad06-38b70190a6df", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponewm9y7zuv", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' headers: Content-Length: - - "663" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:22 GMT + - Fri, 24 Mar 2023 11:10:56 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -895,7 +703,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0f998cc0-24e3-4f52-ad71-875ccc2ee1cd + - 2ee3c0ec-c62e-45ac-963c-858f3c9d3b2a status: 200 OK code: 200 duration: "" @@ -905,25 +713,23 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/eff7e525-5c91-49d2-8057-750f66f22664 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' + body: '{"id":"eff7e525-5c91-49d2-8057-750f66f22664", "name":"app-cli-test-deploy-poney", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"7099b984-2d39-4a9a-ad06-38b70190a6df", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponewm9y7zuv", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' headers: Content-Length: - - "663" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:27 GMT + - Fri, 24 Mar 2023 11:11:01 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -933,7 +739,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a7957678-7633-4f48-a60b-f4f4d01005de + - baeb5c46-2b48-4b64-871e-c08d988e8105 status: 200 OK code: 200 duration: "" @@ -943,25 +749,23 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/eff7e525-5c91-49d2-8057-750f66f22664 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' + body: '{"id":"eff7e525-5c91-49d2-8057-750f66f22664", "name":"app-cli-test-deploy-poney", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"7099b984-2d39-4a9a-ad06-38b70190a6df", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponewm9y7zuv", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' headers: Content-Length: - - "663" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:32 GMT + - Fri, 24 Mar 2023 11:11:06 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -971,7 +775,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2a5de799-353c-493a-a878-15e242750f9c + - 39a54392-75f0-4f57-b18a-6befc848434a status: 200 OK code: 200 duration: "" @@ -981,25 +785,23 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/eff7e525-5c91-49d2-8057-750f66f22664 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' + body: '{"id":"eff7e525-5c91-49d2-8057-750f66f22664", "name":"app-cli-test-deploy-poney", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"7099b984-2d39-4a9a-ad06-38b70190a6df", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponewm9y7zuv", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' headers: Content-Length: - - "663" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:37 GMT + - Fri, 24 Mar 2023 11:11:11 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1009,7 +811,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 654f68dd-7a1e-4e79-b282-e067bb1f7f30 + - cbcfbd89-56fd-424d-8ecc-7ae03413406e status: 200 OK code: 200 duration: "" @@ -1019,25 +821,23 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/eff7e525-5c91-49d2-8057-750f66f22664 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' + body: '{"id":"eff7e525-5c91-49d2-8057-750f66f22664", "name":"app-cli-test-deploy-poney", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"7099b984-2d39-4a9a-ad06-38b70190a6df", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponewm9y7zuv", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' headers: Content-Length: - - "663" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:42 GMT + - Fri, 24 Mar 2023 11:11:16 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1047,7 +847,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 691b1e2f-29c4-4cbb-b894-ced08d11595d + - 62670cea-1e9c-4410-8028-35de9a4c4062 status: 200 OK code: 200 duration: "" @@ -1057,25 +857,23 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/eff7e525-5c91-49d2-8057-750f66f22664 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' + body: '{"id":"eff7e525-5c91-49d2-8057-750f66f22664", "name":"app-cli-test-deploy-poney", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"7099b984-2d39-4a9a-ad06-38b70190a6df", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponewm9y7zuv", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' headers: Content-Length: - - "663" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:47 GMT + - Fri, 24 Mar 2023 11:11:21 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1085,7 +883,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 51e9cf11-6ada-4523-89db-b225b7e4d2df + - b93e277b-3704-414d-87c7-57810bb9363e status: 200 OK code: 200 duration: "" @@ -1095,25 +893,23 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/eff7e525-5c91-49d2-8057-750f66f22664 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' + body: '{"id":"eff7e525-5c91-49d2-8057-750f66f22664", "name":"app-cli-test-deploy-poney", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"7099b984-2d39-4a9a-ad06-38b70190a6df", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponewm9y7zuv", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' headers: Content-Length: - - "663" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:52 GMT + - Fri, 24 Mar 2023 11:11:26 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1123,7 +919,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - acff84eb-034b-415d-a9a1-530abe0ad6b6 + - e4f58778-2759-4bee-9465-f699e2d7bdf3 status: 200 OK code: 200 duration: "" @@ -1133,25 +929,23 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/eff7e525-5c91-49d2-8057-750f66f22664 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' + body: '{"id":"eff7e525-5c91-49d2-8057-750f66f22664", "name":"app-cli-test-deploy-poney", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"7099b984-2d39-4a9a-ad06-38b70190a6df", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponewm9y7zuv", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' headers: Content-Length: - - "663" + - "478" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:22:57 GMT + - Fri, 24 Mar 2023 11:11:31 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1161,7 +955,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d0f44a46-ea4d-45f4-8e6a-4d56575e6908 + - d8470d87-babc-4420-a4d6-5cc373b29cd3 status: 200 OK code: 200 duration: "" @@ -1171,25 +965,19 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/eff7e525-5c91-49d2-8057-750f66f22664 method: GET response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' + body: '{"message":"Namespace was not found"}' headers: Content-Length: - - "663" + - "37" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:23:02 GMT + - Fri, 24 Mar 2023 11:11:36 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1199,613 +987,9 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 68b629fe-f91f-4ab1-9d8a-c089594931f9 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:23:07 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c00f71a0-26a4-4a19-b243-c8a93e61820d - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:23:12 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9b18f5c2-8877-4e44-b0f8-4f1e467a642f - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:23:17 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a2e1b003-a64b-47f6-a06c-b51ef6f01dad - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:23:22 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4b5844ac-a9c8-4ff8-abfe-5962a8689a36 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:23:27 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3ee9ee00-9eb5-4f6e-8878-017e49d25a76 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:23:32 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e6116d83-8af5-466c-aaae-99f2695ef94d - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:23:37 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - dbd3d562-5ffd-4e8e-a065-a65ec22c23b8 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:23:43 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0ddedb58-ac04-4e99-a538-622b3fe962cb - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:23:48 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a6aab4c6-7f88-457c-b93e-56fb8e80b25b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:23:53 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 94efba9e-c7d8-416c-ae07-6ce71e46507b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:23:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 58c30cf2-6dff-43d8-80af-83569d3ebd2f - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:24:03 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 902687c2-2426-4c90-8c49-5305b38f6341 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"pending", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "663" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:24:08 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 30fd82e7-21dc-4596-a6d4-5b82b371304b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/61fda0c9-6fbf-4a0e-a607-75ed46ce960d - method: GET - response: - body: '{"id":"61fda0c9-6fbf-4a0e-a607-75ed46ce960d", "name":"app-cli-test-deploy-poney", - "namespace_id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "status":"ready", "environment_variables":{}, - "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney/app-cli-test-deploy-poney:latest", - "max_concurrency":50, "domain_name":"appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud", - "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", - "region":"fr-par"}' - headers: - Content-Length: - - "661" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:24:13 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 888cba78-a609-420a-978c-5d93b3bdf4c4 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces?name=app-cli-test-deploy-poney&order_by=created_at_asc&page=1 - method: GET - response: - body: '{"namespaces":[{"id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "name":"app-cli-test-deploy-poney", - "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", - "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"ready", "registry_namespace_id":"693e37bf-4bba-4b48-a052-b16319588823", - "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponelvzngnoz", - "description":"", "secret_environment_variables":[], "region":"fr-par"}], "total_count":1}' - headers: - Content-Length: - - "509" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:24:13 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f922765b-b9df-4a40-a5c5-668d902ad7e9 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/097f0620-0ec5-4c8f-b472-b11fd6a7ec1f - method: DELETE - response: - body: '{"id":"097f0620-0ec5-4c8f-b472-b11fd6a7ec1f", "name":"app-cli-test-deploy-poney", - "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", - "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"693e37bf-4bba-4b48-a052-b16319588823", - "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwappclitestdeployponelvzngnoz", - "description":"", "secret_environment_variables":[], "region":"fr-par"}' - headers: - Content-Length: - - "478" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:24:13 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3ee3b5e0-9559-4c15-affc-0aaa8032d3fc - status: 200 OK - code: 200 + - 54802edb-f991-4c02-8bf2-9ac72624a29e + status: 404 Not Found + code: 404 duration: "" - request: body: "" @@ -1816,11 +1000,11 @@ interactions: url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?name=app-cli-test-deploy-poney&order_by=created_at_asc&page=1 method: GET response: - body: '{"namespaces":[{"id":"f0aaa97a-7838-4fdf-8580-5fdf611a6f19", "name":"app-cli-test-deploy-poney", + body: '{"namespaces":[{"id":"2e6145cb-6ef3-449b-bf34-fc344ecb01c8", "name":"app-cli-test-deploy-poney", "description":"", "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"ready", "status_message":"", "endpoint":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney", "is_public":false, - "size":20430837, "created_at":"2023-03-23T13:21:16.489643Z", "updated_at":"2023-03-23T13:21:35.224873Z", + "size":20430837, "created_at":"2023-03-24T10:51:26.817845Z", "updated_at":"2023-03-24T11:10:34.211341Z", "image_count":1, "region":"fr-par"}], "total_count":1}' headers: Content-Length: @@ -1830,7 +1014,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:24:13 GMT + - Fri, 24 Mar 2023 11:11:36 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1840,7 +1024,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b3a38659-6e63-4de1-9d7c-d1c49a8862cb + - baa93052-de4e-4456-a68e-7dac34d39538 status: 200 OK code: 200 duration: "" @@ -1850,14 +1034,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces/f0aaa97a-7838-4fdf-8580-5fdf611a6f19 + url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces/2e6145cb-6ef3-449b-bf34-fc344ecb01c8 method: DELETE response: - body: '{"id":"f0aaa97a-7838-4fdf-8580-5fdf611a6f19", "name":"app-cli-test-deploy-poney", + body: '{"id":"2e6145cb-6ef3-449b-bf34-fc344ecb01c8", "name":"app-cli-test-deploy-poney", "description":"", "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "status_message":"", "endpoint":"rg.fr-par.scw.cloud/app-cli-test-deploy-poney", "is_public":false, - "size":20430837, "created_at":"2023-03-23T13:21:16.489643Z", "updated_at":"2023-03-23T13:24:13.715567993Z", + "size":20430837, "created_at":"2023-03-24T10:51:26.817845Z", "updated_at":"2023-03-24T11:11:36.839784448Z", "image_count":1, "region":"fr-par"}' headers: Content-Length: @@ -1867,7 +1051,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:24:13 GMT + - Fri, 24 Mar 2023 11:11:36 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1877,7 +1061,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0d259164-8217-4167-87ff-b1f97c0f5a87 + - b2eea000-2573-4bc2-acfb-ee73d8b78bd6 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/container/v1beta1/testdata/test-deploy-app-name-deduced-from-path.golden b/internal/namespaces/container/v1beta1/testdata/test-deploy-app-name-deduced-from-path.golden index 6e0ee17b2e..3cce1d1faa 100644 --- a/internal/namespaces/container/v1beta1/testdata/test-deploy-app-name-deduced-from-path.golden +++ b/internal/namespaces/container/v1beta1/testdata/test-deploy-app-name-deduced-from-path.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -Your application is now available at https://appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud +Your application is now available at https://appclitestdeployponewm9y7zuv-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud 🟩🟩🟩 JSON STDOUT 🟩🟩🟩 -"Your application is now available at https://appclitestdeployponelvzngnoz-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud\n" +"Your application is now available at https://appclitestdeployponewm9y7zuv-app-cli-test-deploy-poney.functions.fnc.fr-par.scw.cloud\n" diff --git a/internal/namespaces/container/v1beta1/testdata/test-deploy-build-args.cassette.yaml b/internal/namespaces/container/v1beta1/testdata/test-deploy-build-args.cassette.yaml new file mode 100644 index 0000000000..7882090cb2 --- /dev/null +++ b/internal/namespaces/container/v1beta1/testdata/test-deploy-build-args.cassette.yaml @@ -0,0 +1,1040 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces?name=cli-test-container-deploy&order_by=created_at_asc + method: GET + response: + body: '{"namespaces":[], "total_count":0}' + headers: + Content-Length: + - "34" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:36 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 06174673-f089-4cd9-bc1e-def6740f3bdc + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"name":"cli-test-container-deploy","environment_variables":null,"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","description":null,"secret_environment_variables":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces + method: POST + response: + body: '{"id":"57294673-0566-44b8-8109-a679738a3e40", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"pending", "registry_namespace_id":"", + "error_message":null, "registry_endpoint":"", "description":"", "secret_environment_variables":[], + "region":"fr-par"}' + headers: + Content-Length: + - "386" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:37 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 247cbf34-2d9d-4004-9b39-9e539a5f6f38 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?name=cli-test-container-deploy&order_by=created_at_asc + method: GET + response: + body: '{"namespaces":[], "total_count":0}' + headers: + Content-Length: + - "34" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:37 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 34702bb4-ffd3-4c5f-ba69-45e79d600923 + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"name":"cli-test-container-deploy","description":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","is_public":false}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces + method: POST + response: + body: '{"id":"0cd87f41-bf7a-4144-841c-7c74c6977397", "name":"cli-test-container-deploy", + "description":"", "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-test-container-deploy", "is_public":false, + "size":0, "created_at":"2023-03-24T11:11:37.384723263Z", "updated_at":"2023-03-24T11:11:37.384723263Z", + "image_count":0, "region":"fr-par"}' + headers: + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:37 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - db23f75e-7a07-49b6-8adf-312940f0e2bc + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: {} + url: http://%2Fvar%2Frun%2Fdocker.sock/_ping + method: HEAD + response: + body: "" + headers: + Api-Version: + - "1.41" + Builder-Version: + - "2" + Cache-Control: + - no-cache, no-store, must-revalidate + Content-Type: + - text/plain; charset=utf-8 + Date: + - Fri, 24 Mar 2023 11:11:37 GMT + Docker-Experimental: + - "false" + Ostype: + - linux + Pragma: + - no-cache + Server: + - Docker/20.10.23 (linux) + status: 200 OK + code: 200 + duration: "" +- request: + body: "Dockerfile\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\00100600\00000765\00000024\000000000220\014407302550\0011251\0 + 0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0ustar\000\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\00000000\00000000\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0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0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + form: {} + headers: + Content-Type: + - application/x-tar + X-Registry-Config: + - bnVsbA== + url: http://%2Fvar%2Frun%2Fdocker.sock/v1.41/build?buildargs=%7B%22TEST%22%3A%22thisisatest%22%7D&cachefrom=null&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=null&memory=0&memswap=0&networkmode=&rm=0&shmsize=0&t=rg.fr-par.scw.cloud%2Fcli-test-container-deploy%2Fcli-test-container-deploy%3Alatest&target=&ulimits=null&version= + method: POST + response: + body: "{\"stream\":\"Step 1/6 : FROM nginx:alpine\"}\r\n{\"stream\":\"\\n\"}\r\n{\"stream\":\" + ---\\u003e 2bc7edbc3cf2\\n\"}\r\n{\"stream\":\"Step 2/6 : RUN apk add --no-cache + curl git bash\"}\r\n{\"stream\":\"\\n\"}\r\n{\"stream\":\" ---\\u003e Using + cache\\n\"}\r\n{\"stream\":\" ---\\u003e 5dc8f0ca0e1c\\n\"}\r\n{\"stream\":\"Step + 3/6 : COPY ./index.html /usr/share/nginx/html/index.html\"}\r\n{\"stream\":\"\\n\"}\r\n{\"stream\":\" + ---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e 30cfedb49549\\n\"}\r\n{\"stream\":\"Step + 4/6 : ARG TEST\"}\r\n{\"stream\":\"\\n\"}\r\n{\"stream\":\" ---\\u003e Using + cache\\n\"}\r\n{\"stream\":\" ---\\u003e 9c3af1fa6aa3\\n\"}\r\n{\"stream\":\"Step + 5/6 : RUN test -n \\\"$TEST\\\"\"}\r\n{\"stream\":\"\\n\"}\r\n{\"stream\":\" + ---\\u003e Using cache\\n\"}\r\n{\"stream\":\" ---\\u003e 77ea7972a46e\\n\"}\r\n{\"stream\":\"Step + 6/6 : EXPOSE 80\"}\r\n{\"stream\":\"\\n\"}\r\n{\"stream\":\" ---\\u003e Using + cache\\n\"}\r\n{\"stream\":\" ---\\u003e 8b2f7340e141\\n\"}\r\n{\"aux\":{\"ID\":\"sha256:8b2f7340e1419c35e4a6cbfd10ec8a5bc19a60015e34b14e5d0fba5fc3727139\"}}\r\n{\"stream\":\"Successfully + built 8b2f7340e141\\n\"}\r\n{\"stream\":\"Successfully tagged rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest\\n\"}\r\n" + headers: + Api-Version: + - "1.41" + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:37 GMT + Docker-Experimental: + - "false" + Ostype: + - linux + Server: + - Docker/20.10.23 (linux) + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Content-Type: + - text/plain + X-Registry-Auth: + - eyJ1c2VybmFtZSI6IlNDVzAxTlRKVzk5MEE3UUs4NUQ3IiwicGFzc3dvcmQiOiJkY2M1YzI1NC1kOGQyLTQ3NmYtYmNkYi1iOTQ2N2Y1NTY1MzIifQ== + url: http://%2Fvar%2Frun%2Fdocker.sock/v1.41/images/rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy/push?tag=latest + method: POST + response: + body: "{\"status\":\"The push refers to repository [rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy]\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"26c27aac52a3\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"dac7b9db7b5b\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"042cd3f87f43\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"f1bee861c2ba\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"c4d67a5827ca\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"152a948bab3b\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"5e59460a18a3\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"d8a5a02a8c2d\"}\r\n{\"status\":\"Preparing\",\"progressDetail\":{},\"id\":\"7cd52847ad77\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"152a948bab3b\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"5e59460a18a3\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"d8a5a02a8c2d\"}\r\n{\"status\":\"Waiting\",\"progressDetail\":{},\"id\":\"7cd52847ad77\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"26c27aac52a3\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"c4d67a5827ca\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"f1bee861c2ba\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"dac7b9db7b5b\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"042cd3f87f43\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"5e59460a18a3\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"152a948bab3b\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"d8a5a02a8c2d\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"7cd52847ad77\"}\r\n{\"status\":\"latest: + digest: sha256:6408ad529d69a9248a978faea893f9754b92dcc792e63ed7fb8d5d4ca0bd8fa1 + size: 2199\"}\r\n{\"progressDetail\":{},\"aux\":{\"Tag\":\"latest\",\"Digest\":\"sha256:6408ad529d69a9248a978faea893f9754b92dcc792e63ed7fb8d5d4ca0bd8fa1\",\"Size\":2199}}\r\n" + headers: + Api-Version: + - "1.41" + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:37 GMT + Docker-Experimental: + - "false" + Ostype: + - linux + Server: + - Docker/20.10.23 (linux) + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers?name=cli-test-container-deploy&namespace_id=57294673-0566-44b8-8109-a679738a3e40&order_by=created_at_asc + method: GET + response: + body: '{"containers":[], "total_count":0}' + headers: + Content-Length: + - "34" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:45 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2bc37510-4add-4325-80bf-50530693dfce + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"namespace_id":"57294673-0566-44b8-8109-a679738a3e40","name":"cli-test-container-deploy","environment_variables":null,"min_scale":null,"max_scale":null,"memory_limit":null,"timeout":null,"privacy":"unknown_privacy","description":null,"registry_image":null,"max_concurrency":null,"protocol":"unknown_protocol","port":null,"secret_environment_variables":null,"http_option":"unknown_http_option"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers + method: POST + response: + body: '{"id":"d68109f6-df27-4bf4-845a-bc8556440128", "name":"cli-test-container-deploy", + "namespace_id":"57294673-0566-44b8-8109-a679738a3e40", "status":"created", "environment_variables":{}, + "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", + "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplattc7cav/cli-test-container-deploy:latest", + "max_concurrency":50, "domain_name":"clitestcontainerdeplattc7cav-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "protocol":"http1", "port":8080, "secret_environment_variables":[], "http_option":"enabled", + "region":"fr-par"}' + headers: + Content-Length: + - "675" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:45 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c493d9da-4564-4574-84e8-78e4e489c954 + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"environment_variables":null,"min_scale":null,"max_scale":null,"memory_limit":null,"timeout":null,"redeploy":false,"privacy":"unknown_privacy","description":null,"registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest","max_concurrency":null,"protocol":"unknown_protocol","port":80,"secret_environment_variables":null,"http_option":"unknown_http_option"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/d68109f6-df27-4bf4-845a-bc8556440128 + method: PATCH + response: + body: '{"id":"d68109f6-df27-4bf4-845a-bc8556440128", "name":"cli-test-container-deploy", + "namespace_id":"57294673-0566-44b8-8109-a679738a3e40", "status":"created", "environment_variables":{}, + "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", + "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", + "max_concurrency":50, "domain_name":"clitestcontainerdeplattc7cav-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", + "region":"fr-par"}' + headers: + Content-Length: + - "663" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:45 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0f574718-45c5-43f5-8304-b02c98a02909 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/d68109f6-df27-4bf4-845a-bc8556440128 + method: GET + response: + body: '{"id":"d68109f6-df27-4bf4-845a-bc8556440128", "name":"cli-test-container-deploy", + "namespace_id":"57294673-0566-44b8-8109-a679738a3e40", "status":"created", "environment_variables":{}, + "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", + "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", + "max_concurrency":50, "domain_name":"clitestcontainerdeplattc7cav-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", + "region":"fr-par"}' + headers: + Content-Length: + - "663" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:45 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a034c4ec-9dca-4b7c-a115-43f91e6f8fdd + status: 200 OK + code: 200 + duration: "" +- request: + body: '{}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/d68109f6-df27-4bf4-845a-bc8556440128/deploy + method: POST + response: + body: '{"id":"d68109f6-df27-4bf4-845a-bc8556440128", "name":"cli-test-container-deploy", + "namespace_id":"57294673-0566-44b8-8109-a679738a3e40", "status":"pending", "environment_variables":{}, + "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", + "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", + "max_concurrency":50, "domain_name":"clitestcontainerdeplattc7cav-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", + "region":"fr-par"}' + headers: + Content-Length: + - "663" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:46 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f2f0375b-9d49-4f6e-93ca-8970852cd7bd + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/d68109f6-df27-4bf4-845a-bc8556440128 + method: GET + response: + body: '{"id":"d68109f6-df27-4bf4-845a-bc8556440128", "name":"cli-test-container-deploy", + "namespace_id":"57294673-0566-44b8-8109-a679738a3e40", "status":"pending", "environment_variables":{}, + "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", + "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", + "max_concurrency":50, "domain_name":"clitestcontainerdeplattc7cav-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", + "region":"fr-par"}' + headers: + Content-Length: + - "663" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:46 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 99c9c2db-233a-4af3-b201-ee0f0d0a2409 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/d68109f6-df27-4bf4-845a-bc8556440128 + method: GET + response: + body: '{"id":"d68109f6-df27-4bf4-845a-bc8556440128", "name":"cli-test-container-deploy", + "namespace_id":"57294673-0566-44b8-8109-a679738a3e40", "status":"pending", "environment_variables":{}, + "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", + "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", + "max_concurrency":50, "domain_name":"clitestcontainerdeplattc7cav-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", + "region":"fr-par"}' + headers: + Content-Length: + - "663" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:51 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 48f7d5c1-6235-4a6a-965b-805d01ec15c0 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/d68109f6-df27-4bf4-845a-bc8556440128 + method: GET + response: + body: '{"id":"d68109f6-df27-4bf4-845a-bc8556440128", "name":"cli-test-container-deploy", + "namespace_id":"57294673-0566-44b8-8109-a679738a3e40", "status":"pending", "environment_variables":{}, + "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", + "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", + "max_concurrency":50, "domain_name":"clitestcontainerdeplattc7cav-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", + "region":"fr-par"}' + headers: + Content-Length: + - "663" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:11:56 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3f335236-70ff-4364-b728-0deb5a49c7dd + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/d68109f6-df27-4bf4-845a-bc8556440128 + method: GET + response: + body: '{"id":"d68109f6-df27-4bf4-845a-bc8556440128", "name":"cli-test-container-deploy", + "namespace_id":"57294673-0566-44b8-8109-a679738a3e40", "status":"pending", "environment_variables":{}, + "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", + "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", + "max_concurrency":50, "domain_name":"clitestcontainerdeplattc7cav-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", + "region":"fr-par"}' + headers: + Content-Length: + - "663" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:01 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3d4cee9c-8c89-4632-b42b-335946840f57 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/d68109f6-df27-4bf4-845a-bc8556440128 + method: GET + response: + body: '{"id":"d68109f6-df27-4bf4-845a-bc8556440128", "name":"cli-test-container-deploy", + "namespace_id":"57294673-0566-44b8-8109-a679738a3e40", "status":"ready", "environment_variables":{}, + "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", + "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", + "max_concurrency":50, "domain_name":"clitestcontainerdeplattc7cav-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", + "region":"fr-par"}' + headers: + Content-Length: + - "661" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:06 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4e62255e-54dc-4b8e-ae04-fb102453902e + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces?name=cli-test-container-deploy&order_by=created_at_asc&page=1 + method: GET + response: + body: '{"namespaces":[{"id":"57294673-0566-44b8-8109-a679738a3e40", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"ready", "registry_namespace_id":"752e7f21-0837-4b9d-a545-c5bd3c50c4c8", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplattc7cav", + "description":"", "secret_environment_variables":[], "region":"fr-par"}], "total_count":1}' + headers: + Content-Length: + - "509" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:06 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6d90b988-fe51-4973-978f-615b73379eaf + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/57294673-0566-44b8-8109-a679738a3e40 + method: DELETE + response: + body: '{"id":"57294673-0566-44b8-8109-a679738a3e40", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"752e7f21-0837-4b9d-a545-c5bd3c50c4c8", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplattc7cav", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:07 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9ec0ac6c-3dc6-458f-9ae0-3b0cb6ac8c1a + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/57294673-0566-44b8-8109-a679738a3e40 + method: GET + response: + body: '{"id":"57294673-0566-44b8-8109-a679738a3e40", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"752e7f21-0837-4b9d-a545-c5bd3c50c4c8", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplattc7cav", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:07 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 753b8daa-fafc-495d-ac67-b13f34b9f123 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/57294673-0566-44b8-8109-a679738a3e40 + method: GET + response: + body: '{"id":"57294673-0566-44b8-8109-a679738a3e40", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"752e7f21-0837-4b9d-a545-c5bd3c50c4c8", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplattc7cav", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:12 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 485d9544-8481-4598-91d5-14c879fda96a + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/57294673-0566-44b8-8109-a679738a3e40 + method: GET + response: + body: '{"id":"57294673-0566-44b8-8109-a679738a3e40", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"752e7f21-0837-4b9d-a545-c5bd3c50c4c8", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplattc7cav", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:17 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - accb0cc6-e51c-48e5-80d5-715447e8dcf2 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/57294673-0566-44b8-8109-a679738a3e40 + method: GET + response: + body: '{"id":"57294673-0566-44b8-8109-a679738a3e40", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"752e7f21-0837-4b9d-a545-c5bd3c50c4c8", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplattc7cav", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:22 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c60995f5-f6ec-4b29-9b9e-9ea4d7487090 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/57294673-0566-44b8-8109-a679738a3e40 + method: GET + response: + body: '{"id":"57294673-0566-44b8-8109-a679738a3e40", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"752e7f21-0837-4b9d-a545-c5bd3c50c4c8", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplattc7cav", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:27 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b5565552-7397-4708-b212-935fef4d27cc + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/57294673-0566-44b8-8109-a679738a3e40 + method: GET + response: + body: '{"id":"57294673-0566-44b8-8109-a679738a3e40", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"752e7f21-0837-4b9d-a545-c5bd3c50c4c8", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplattc7cav", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:32 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - bc614135-5d26-424a-af80-5b0b5fdeb564 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/57294673-0566-44b8-8109-a679738a3e40 + method: GET + response: + body: '{"message":"Namespace was not found"}' + headers: + Content-Length: + - "37" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:37 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 579393f8-522e-4280-a977-30413d992614 + status: 404 Not Found + code: 404 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?name=cli-test-container-deploy&order_by=created_at_asc&page=1 + method: GET + response: + body: '{"namespaces":[{"id":"0cd87f41-bf7a-4144-841c-7c74c6977397", "name":"cli-test-container-deploy", + "description":"", "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-test-container-deploy", "is_public":false, + "size":20430837, "created_at":"2023-03-24T11:11:37.384723Z", "updated_at":"2023-03-24T11:11:56.731689Z", + "image_count":1, "region":"fr-par"}], "total_count":1}' + headers: + Content-Length: + - "503" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:37 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cf6a770d-378e-4e74-bc0b-238a8760ceb8 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces/0cd87f41-bf7a-4144-841c-7c74c6977397 + method: DELETE + response: + body: '{"id":"0cd87f41-bf7a-4144-841c-7c74c6977397", "name":"cli-test-container-deploy", + "description":"", "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-test-container-deploy", "is_public":false, + "size":20430837, "created_at":"2023-03-24T11:11:37.384723Z", "updated_at":"2023-03-24T11:12:37.637777912Z", + "image_count":1, "region":"fr-par"}' + headers: + Content-Length: + - "475" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:12:37 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - de7f936b-4ca9-41d8-b96d-a8d7db48ff75 + status: 200 OK + code: 200 + duration: "" diff --git a/internal/namespaces/container/v1beta1/testdata/test-deploy-build-args.golden b/internal/namespaces/container/v1beta1/testdata/test-deploy-build-args.golden new file mode 100644 index 0000000000..702c6afb08 --- /dev/null +++ b/internal/namespaces/container/v1beta1/testdata/test-deploy-build-args.golden @@ -0,0 +1,6 @@ +🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 +🟩🟩🟩 STDOUT️ 🟩🟩🟩️ +Your application is now available at https://clitestcontainerdeplattc7cav-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud + +🟩🟩🟩 JSON STDOUT 🟩🟩🟩 +"Your application is now available at https://clitestcontainerdeplattc7cav-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud\n" diff --git a/internal/namespaces/container/v1beta1/testdata/test-deploy-simple.cassette.yaml b/internal/namespaces/container/v1beta1/testdata/test-deploy-simple.cassette.yaml index 2fecdd5646..bc4d35af1e 100644 --- a/internal/namespaces/container/v1beta1/testdata/test-deploy-simple.cassette.yaml +++ b/internal/namespaces/container/v1beta1/testdata/test-deploy-simple.cassette.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:20:51 GMT + - Fri, 24 Mar 2023 11:09:29 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -29,7 +29,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1c4760d6-abdb-41ad-8b62-faefe47ac95e + - f062a2c1-9801-440f-9705-8260e473926c status: 200 OK code: 200 duration: "" @@ -44,7 +44,7 @@ interactions: url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces method: POST response: - body: '{"id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9", "name":"cli-test-container-deploy", + body: '{"id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "name":"cli-test-container-deploy", "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"pending", "registry_namespace_id":"", "error_message":null, "registry_endpoint":"", "description":"", "secret_environment_variables":[], @@ -57,7 +57,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:20:52 GMT + - Fri, 24 Mar 2023 11:09:29 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -67,7 +67,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ac7f24dd-12d7-4ecd-b02a-0bfc313f797a + - 3b888856-3587-45da-a9d2-507fba2ed309 status: 200 OK code: 200 duration: "" @@ -80,55 +80,21 @@ interactions: url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?name=cli-test-container-deploy&order_by=created_at_asc method: GET response: - body: '{"namespaces":[], "total_count":0}' - headers: - Content-Length: - - "34" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 23 Mar 2023 13:20:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f9e75e7d-45b4-4dff-9bb2-5c7249e5dd7a - status: 200 OK - code: 200 - duration: "" -- request: - body: '{"name":"cli-test-container-deploy","description":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","is_public":false}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces - method: POST - response: - body: '{"id":"d9e6636e-f859-4b8d-90bd-740ed64029b6", "name":"cli-test-container-deploy", + body: '{"namespaces":[{"id":"5b7c6c21-cc14-4c75-9075-186819008389", "name":"cli-test-container-deploy", "description":"", "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"ready", "status_message":"", "endpoint":"rg.fr-par.scw.cloud/cli-test-container-deploy", "is_public":false, - "size":0, "created_at":"2023-03-23T13:20:52.431469507Z", "updated_at":"2023-03-23T13:20:52.431469507Z", - "image_count":0, "region":"fr-par"}' + "size":20430837, "created_at":"2023-03-24T10:50:21.463478Z", "updated_at":"2023-03-24T10:52:52.382008Z", + "image_count":1, "region":"fr-par"}], "total_count":1}' headers: Content-Length: - - "468" + - "503" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:20:52 GMT + - Fri, 24 Mar 2023 11:09:30 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -138,7 +104,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 72e7ac57-a54d-4898-9416-87f4ef1a7acb + - 6e2930cc-4620-4796-8c9a-607a2e25f448 status: 200 OK code: 200 duration: "" @@ -160,7 +126,7 @@ interactions: Content-Type: - text/plain; charset=utf-8 Date: - - Thu, 23 Mar 2023 13:20:52 GMT + - Fri, 24 Mar 2023 11:09:29 GMT Docker-Experimental: - "false" Ostype: @@ -173,10 +139,10 @@ interactions: code: 200 duration: "" - request: - body: "Dockerfile\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\00100600\00000765\00000024\000000000163\014407051063\0011257\0 + body: "Dockerfile\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\00100600\00000765\00000024\000000000163\014407302351\0011256\0 0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0ustar\000\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\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0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" @@ -204,7 +170,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:20:52 GMT + - Fri, 24 Mar 2023 11:09:30 GMT Docker-Experimental: - "false" Ostype: @@ -229,12 +195,12 @@ interactions: already exists\",\"progressDetail\":{},\"id\":\"dac7b9db7b5b\"}\r\n{\"status\":\"Layer already exists\",\"progressDetail\":{},\"id\":\"042cd3f87f43\"}\r\n{\"status\":\"Layer already exists\",\"progressDetail\":{},\"id\":\"c4d67a5827ca\"}\r\n{\"status\":\"Layer - already exists\",\"progressDetail\":{},\"id\":\"f1bee861c2ba\"}\r\n{\"status\":\"Layer already exists\",\"progressDetail\":{},\"id\":\"26c27aac52a3\"}\r\n{\"status\":\"Layer - already exists\",\"progressDetail\":{},\"id\":\"7cd52847ad77\"}\r\n{\"status\":\"Layer already exists\",\"progressDetail\":{},\"id\":\"d8a5a02a8c2d\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"5e59460a18a3\"}\r\n{\"status\":\"Layer already exists\",\"progressDetail\":{},\"id\":\"152a948bab3b\"}\r\n{\"status\":\"Layer - already exists\",\"progressDetail\":{},\"id\":\"5e59460a18a3\"}\r\n{\"status\":\"latest: + already exists\",\"progressDetail\":{},\"id\":\"7cd52847ad77\"}\r\n{\"status\":\"Layer + already exists\",\"progressDetail\":{},\"id\":\"f1bee861c2ba\"}\r\n{\"status\":\"latest: digest: sha256:3cd36773cda1e44ff5124881217c06f546f0f92c744277152213efd39a24bc34 size: 2199\"}\r\n{\"progressDetail\":{},\"aux\":{\"Tag\":\"latest\",\"Digest\":\"sha256:3cd36773cda1e44ff5124881217c06f546f0f92c744277152213efd39a24bc34\",\"Size\":2199}}\r\n" headers: @@ -243,7 +209,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:20:52 GMT + - Fri, 24 Mar 2023 11:09:30 GMT Docker-Experimental: - "false" Ostype: @@ -259,7 +225,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers?name=cli-test-container-deploy&namespace_id=1feb7cb9-0a42-4a01-9e40-427e84575ec9&order_by=created_at_asc + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers?name=cli-test-container-deploy&namespace_id=dbf6d96c-dc36-45a2-9e0e-20ec11144a0d&order_by=created_at_asc method: GET response: body: '{"containers":[], "total_count":0}' @@ -271,7 +237,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:20:59 GMT + - Fri, 24 Mar 2023 11:09:36 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -281,12 +247,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 68de119c-0f38-4d63-8488-8eda38ae69d0 + - e66ababd-c76a-4aef-b4a3-4c2b70d95444 status: 200 OK code: 200 duration: "" - request: - body: '{"namespace_id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9","name":"cli-test-container-deploy","environment_variables":null,"min_scale":null,"max_scale":null,"memory_limit":null,"timeout":null,"privacy":"unknown_privacy","description":null,"registry_image":null,"max_concurrency":null,"protocol":"unknown_protocol","port":null,"secret_environment_variables":null,"http_option":"unknown_http_option"}' + body: '{"namespace_id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d","name":"cli-test-container-deploy","environment_variables":null,"min_scale":null,"max_scale":null,"memory_limit":null,"timeout":null,"privacy":"unknown_privacy","description":null,"registry_image":null,"max_concurrency":null,"protocol":"unknown_protocol","port":null,"secret_environment_variables":null,"http_option":"unknown_http_option"}' form: {} headers: Content-Type: @@ -296,11 +262,11 @@ interactions: url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers method: POST response: - body: '{"id":"6f178890-a99d-424b-b2a0-1ceee4a52d9a", "name":"cli-test-container-deploy", - "namespace_id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9", "status":"created", "environment_variables":{}, + body: '{"id":"10a86e90-a9d9-4f62-9b01-be76e6c65424", "name":"cli-test-container-deploy", + "namespace_id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "status":"created", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", - "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/funcscwclitestcontainerdepl1zxsqhse/cli-test-container-deploy:latest", - "max_concurrency":50, "domain_name":"clitestcontainerdepl1zxsqhse-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplcpg4dxej/cli-test-container-deploy:latest", + "max_concurrency":50, "domain_name":"clitestcontainerdeplcpg4dxej-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":8080, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -311,7 +277,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:20:59 GMT + - Fri, 24 Mar 2023 11:09:37 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -321,7 +287,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 06d60dc5-fbef-485b-bc03-c27216312984 + - c3ba4709-710f-4f84-af9a-13512f804ce0 status: 200 OK code: 200 duration: "" @@ -333,14 +299,14 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/6f178890-a99d-424b-b2a0-1ceee4a52d9a + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/10a86e90-a9d9-4f62-9b01-be76e6c65424 method: PATCH response: - body: '{"id":"6f178890-a99d-424b-b2a0-1ceee4a52d9a", "name":"cli-test-container-deploy", - "namespace_id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9", "status":"created", "environment_variables":{}, + body: '{"id":"10a86e90-a9d9-4f62-9b01-be76e6c65424", "name":"cli-test-container-deploy", + "namespace_id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "status":"created", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", - "max_concurrency":50, "domain_name":"clitestcontainerdepl1zxsqhse-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"clitestcontainerdeplcpg4dxej-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -351,7 +317,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:00 GMT + - Fri, 24 Mar 2023 11:09:37 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -361,7 +327,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3268d6cc-6d46-4cdd-8cef-c92edf5e14fb + - 3303f6fc-3acd-4b41-a946-6d7e30068b38 status: 200 OK code: 200 duration: "" @@ -371,14 +337,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/6f178890-a99d-424b-b2a0-1ceee4a52d9a + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/10a86e90-a9d9-4f62-9b01-be76e6c65424 method: GET response: - body: '{"id":"6f178890-a99d-424b-b2a0-1ceee4a52d9a", "name":"cli-test-container-deploy", - "namespace_id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9", "status":"created", "environment_variables":{}, + body: '{"id":"10a86e90-a9d9-4f62-9b01-be76e6c65424", "name":"cli-test-container-deploy", + "namespace_id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "status":"created", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", - "max_concurrency":50, "domain_name":"clitestcontainerdepl1zxsqhse-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"clitestcontainerdeplcpg4dxej-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -389,7 +355,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:00 GMT + - Fri, 24 Mar 2023 11:09:37 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -399,7 +365,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e2b48a93-73d1-4939-b84c-539223e6172c + - fc0ebe56-8167-441e-b3b9-cf863aec8ab2 status: 200 OK code: 200 duration: "" @@ -411,14 +377,14 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/6f178890-a99d-424b-b2a0-1ceee4a52d9a/deploy + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/10a86e90-a9d9-4f62-9b01-be76e6c65424/deploy method: POST response: - body: '{"id":"6f178890-a99d-424b-b2a0-1ceee4a52d9a", "name":"cli-test-container-deploy", - "namespace_id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9", "status":"pending", "environment_variables":{}, + body: '{"id":"10a86e90-a9d9-4f62-9b01-be76e6c65424", "name":"cli-test-container-deploy", + "namespace_id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "status":"pending", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", - "max_concurrency":50, "domain_name":"clitestcontainerdepl1zxsqhse-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"clitestcontainerdeplcpg4dxej-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -429,7 +395,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:00 GMT + - Fri, 24 Mar 2023 11:09:37 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -439,7 +405,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9a92060c-d018-4bcc-a20e-54d2c5d5a04b + - ef84a36b-5663-4f83-871b-69512f1b6720 status: 200 OK code: 200 duration: "" @@ -449,14 +415,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/6f178890-a99d-424b-b2a0-1ceee4a52d9a + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/10a86e90-a9d9-4f62-9b01-be76e6c65424 method: GET response: - body: '{"id":"6f178890-a99d-424b-b2a0-1ceee4a52d9a", "name":"cli-test-container-deploy", - "namespace_id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9", "status":"pending", "environment_variables":{}, + body: '{"id":"10a86e90-a9d9-4f62-9b01-be76e6c65424", "name":"cli-test-container-deploy", + "namespace_id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "status":"pending", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", - "max_concurrency":50, "domain_name":"clitestcontainerdepl1zxsqhse-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"clitestcontainerdeplcpg4dxej-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -467,7 +433,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:00 GMT + - Fri, 24 Mar 2023 11:09:37 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -477,7 +443,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f03314b9-3a36-4ec6-ada4-239ddbdbb572 + - 66456dcb-b09f-44dc-994c-5bf71295b100 status: 200 OK code: 200 duration: "" @@ -487,14 +453,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/6f178890-a99d-424b-b2a0-1ceee4a52d9a + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/10a86e90-a9d9-4f62-9b01-be76e6c65424 method: GET response: - body: '{"id":"6f178890-a99d-424b-b2a0-1ceee4a52d9a", "name":"cli-test-container-deploy", - "namespace_id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9", "status":"pending", "environment_variables":{}, + body: '{"id":"10a86e90-a9d9-4f62-9b01-be76e6c65424", "name":"cli-test-container-deploy", + "namespace_id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "status":"pending", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", - "max_concurrency":50, "domain_name":"clitestcontainerdepl1zxsqhse-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"clitestcontainerdeplcpg4dxej-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -505,7 +471,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:05 GMT + - Fri, 24 Mar 2023 11:09:42 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -515,7 +481,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - df8f1442-2afc-4bb9-a0a0-ea7940feffe5 + - 75df95ae-4414-4cda-9687-d76734d5b6a9 status: 200 OK code: 200 duration: "" @@ -525,14 +491,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/6f178890-a99d-424b-b2a0-1ceee4a52d9a + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/10a86e90-a9d9-4f62-9b01-be76e6c65424 method: GET response: - body: '{"id":"6f178890-a99d-424b-b2a0-1ceee4a52d9a", "name":"cli-test-container-deploy", - "namespace_id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9", "status":"pending", "environment_variables":{}, + body: '{"id":"10a86e90-a9d9-4f62-9b01-be76e6c65424", "name":"cli-test-container-deploy", + "namespace_id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "status":"pending", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", - "max_concurrency":50, "domain_name":"clitestcontainerdepl1zxsqhse-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"clitestcontainerdeplcpg4dxej-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -543,7 +509,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:10 GMT + - Fri, 24 Mar 2023 11:09:47 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -553,7 +519,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 09107e28-2c27-4731-8489-f5a5309679db + - 466530a3-ae10-4892-b452-297e38323837 status: 200 OK code: 200 duration: "" @@ -563,14 +529,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/6f178890-a99d-424b-b2a0-1ceee4a52d9a + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/10a86e90-a9d9-4f62-9b01-be76e6c65424 method: GET response: - body: '{"id":"6f178890-a99d-424b-b2a0-1ceee4a52d9a", "name":"cli-test-container-deploy", - "namespace_id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9", "status":"ready", "environment_variables":{}, + body: '{"id":"10a86e90-a9d9-4f62-9b01-be76e6c65424", "name":"cli-test-container-deploy", + "namespace_id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "status":"ready", "environment_variables":{}, "min_scale":0, "max_scale":5, "memory_limit":256, "cpu_limit":140, "timeout":"300s", "error_message":null, "privacy":"public", "description":"", "registry_image":"rg.fr-par.scw.cloud/cli-test-container-deploy/cli-test-container-deploy:latest", - "max_concurrency":50, "domain_name":"clitestcontainerdepl1zxsqhse-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", + "max_concurrency":50, "domain_name":"clitestcontainerdeplcpg4dxej-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud", "protocol":"http1", "port":80, "secret_environment_variables":[], "http_option":"enabled", "region":"fr-par"}' headers: @@ -581,7 +547,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:15 GMT + - Fri, 24 Mar 2023 11:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -591,7 +557,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 20b6e6b5-84b8-4a9b-ab1a-30a7b851a2ce + - 08b42bdf-7597-456a-a0bd-bae99c42c531 status: 200 OK code: 200 duration: "" @@ -604,10 +570,10 @@ interactions: url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces?name=cli-test-container-deploy&order_by=created_at_asc&page=1 method: GET response: - body: '{"namespaces":[{"id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9", "name":"cli-test-container-deploy", + body: '{"namespaces":[{"id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "name":"cli-test-container-deploy", "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", - "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"ready", "registry_namespace_id":"0776865c-896c-4f05-a358-e484a2e51bb0", - "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdepl1zxsqhse", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"ready", "registry_namespace_id":"fd0d9a0c-9d97-45f9-b7e4-7021ede78720", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplcpg4dxej", "description":"", "secret_environment_variables":[], "region":"fr-par"}], "total_count":1}' headers: Content-Length: @@ -617,7 +583,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:15 GMT + - Fri, 24 Mar 2023 11:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -627,7 +593,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8ab5d44d-e659-4f7c-aa1b-e2bbc0d169ea + - eca2267c-8e1d-4435-b321-a2deb51c6784 status: 200 OK code: 200 duration: "" @@ -637,13 +603,85 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/1feb7cb9-0a42-4a01-9e40-427e84575ec9 + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/dbf6d96c-dc36-45a2-9e0e-20ec11144a0d method: DELETE response: - body: '{"id":"1feb7cb9-0a42-4a01-9e40-427e84575ec9", "name":"cli-test-container-deploy", + body: '{"id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"fd0d9a0c-9d97-45f9-b7e4-7021ede78720", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplcpg4dxej", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:09:53 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - dea17fd0-8e06-4354-8fb0-f94f21331f86 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/dbf6d96c-dc36-45a2-9e0e-20ec11144a0d + method: GET + response: + body: '{"id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"fd0d9a0c-9d97-45f9-b7e4-7021ede78720", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplcpg4dxej", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:09:53 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 634f5200-b269-436e-8aa4-69116d1e53f9 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/dbf6d96c-dc36-45a2-9e0e-20ec11144a0d + method: GET + response: + body: '{"id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "name":"cli-test-container-deploy", "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", - "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"0776865c-896c-4f05-a358-e484a2e51bb0", - "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdepl1zxsqhse", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"fd0d9a0c-9d97-45f9-b7e4-7021ede78720", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplcpg4dxej", "description":"", "secret_environment_variables":[], "region":"fr-par"}' headers: Content-Length: @@ -653,7 +691,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:15 GMT + - Fri, 24 Mar 2023 11:09:58 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -663,10 +701,186 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e9a91f2d-1275-444c-9aa5-4610c6036fab + - fb22751b-2712-4af1-b697-d760ab548bd2 status: 200 OK code: 200 duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/dbf6d96c-dc36-45a2-9e0e-20ec11144a0d + method: GET + response: + body: '{"id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"fd0d9a0c-9d97-45f9-b7e4-7021ede78720", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplcpg4dxej", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:10:03 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d0dfb1f8-fffd-4a33-9b5d-d299a01574c7 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/dbf6d96c-dc36-45a2-9e0e-20ec11144a0d + method: GET + response: + body: '{"id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"fd0d9a0c-9d97-45f9-b7e4-7021ede78720", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplcpg4dxej", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:10:08 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b0ed8358-6d2e-454d-86ac-b2efe2c37b18 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/dbf6d96c-dc36-45a2-9e0e-20ec11144a0d + method: GET + response: + body: '{"id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"fd0d9a0c-9d97-45f9-b7e4-7021ede78720", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplcpg4dxej", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:10:13 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - aa7f7fc5-36f5-4ddd-acc5-81b0cd0f98db + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/dbf6d96c-dc36-45a2-9e0e-20ec11144a0d + method: GET + response: + body: '{"id":"dbf6d96c-dc36-45a2-9e0e-20ec11144a0d", "name":"cli-test-container-deploy", + "environment_variables":{}, "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", + "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "registry_namespace_id":"fd0d9a0c-9d97-45f9-b7e4-7021ede78720", + "error_message":null, "registry_endpoint":"rg.fr-par.scw.cloud/funcscwclitestcontainerdeplcpg4dxej", + "description":"", "secret_environment_variables":[], "region":"fr-par"}' + headers: + Content-Length: + - "478" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:10:18 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 78156bbb-8b7d-4336-b3e5-42869fb7223f + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/dbf6d96c-dc36-45a2-9e0e-20ec11144a0d + method: GET + response: + body: '{"message":"Namespace was not found"}' + headers: + Content-Length: + - "37" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 24 Mar 2023 11:10:23 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7c833d75-15e7-4710-b91d-ae46cf238fed + status: 404 Not Found + code: 404 + duration: "" - request: body: "" form: {} @@ -676,11 +890,11 @@ interactions: url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?name=cli-test-container-deploy&order_by=created_at_asc&page=1 method: GET response: - body: '{"namespaces":[{"id":"d9e6636e-f859-4b8d-90bd-740ed64029b6", "name":"cli-test-container-deploy", + body: '{"namespaces":[{"id":"5b7c6c21-cc14-4c75-9075-186819008389", "name":"cli-test-container-deploy", "description":"", "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"ready", "status_message":"", "endpoint":"rg.fr-par.scw.cloud/cli-test-container-deploy", "is_public":false, - "size":20430837, "created_at":"2023-03-23T13:20:52.431470Z", "updated_at":"2023-03-23T13:21:10.335455Z", + "size":20430837, "created_at":"2023-03-24T10:50:21.463478Z", "updated_at":"2023-03-24T11:09:36.304334Z", "image_count":1, "region":"fr-par"}], "total_count":1}' headers: Content-Length: @@ -690,7 +904,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:15 GMT + - Fri, 24 Mar 2023 11:10:23 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -700,7 +914,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9f808a91-10f7-430c-8d99-9cdb8df7010d + - 06b0f854-d5df-42ee-b557-142cf652c402 status: 200 OK code: 200 duration: "" @@ -710,14 +924,14 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces/d9e6636e-f859-4b8d-90bd-740ed64029b6 + url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces/5b7c6c21-cc14-4c75-9075-186819008389 method: DELETE response: - body: '{"id":"d9e6636e-f859-4b8d-90bd-740ed64029b6", "name":"cli-test-container-deploy", + body: '{"id":"5b7c6c21-cc14-4c75-9075-186819008389", "name":"cli-test-container-deploy", "description":"", "organization_id":"105bdce1-64c0-48ab-899d-868455867ecf", "project_id":"105bdce1-64c0-48ab-899d-868455867ecf", "status":"deleting", "status_message":"", "endpoint":"rg.fr-par.scw.cloud/cli-test-container-deploy", "is_public":false, - "size":20430837, "created_at":"2023-03-23T13:20:52.431470Z", "updated_at":"2023-03-23T13:21:15.904624577Z", + "size":20430837, "created_at":"2023-03-24T10:50:21.463478Z", "updated_at":"2023-03-24T11:10:23.827811719Z", "image_count":1, "region":"fr-par"}' headers: Content-Length: @@ -727,7 +941,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 23 Mar 2023 13:21:15 GMT + - Fri, 24 Mar 2023 11:10:23 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -737,7 +951,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ca6a3d67-020c-4102-8837-d18652e11ede + - 7428d5fe-1af3-49bb-935c-a72a9a24a24a status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/container/v1beta1/testdata/test-deploy-simple.golden b/internal/namespaces/container/v1beta1/testdata/test-deploy-simple.golden index 13de511a72..8065ffc002 100644 --- a/internal/namespaces/container/v1beta1/testdata/test-deploy-simple.golden +++ b/internal/namespaces/container/v1beta1/testdata/test-deploy-simple.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -Your application is now available at https://clitestcontainerdepl1zxsqhse-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud +Your application is now available at https://clitestcontainerdeplcpg4dxej-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud 🟩🟩🟩 JSON STDOUT 🟩🟩🟩 -"Your application is now available at https://clitestcontainerdepl1zxsqhse-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud\n" +"Your application is now available at https://clitestcontainerdeplcpg4dxej-cli-test-container-deploy.functions.fnc.fr-par.scw.cloud\n"