You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,14 @@ The final step in the build pipeline sends an API request to NAIS deploy to depl
12
12
## How it works
13
13
1. The teams pipeline use `deploy` to send a deployment request to `hookd`.
14
14
1.`hookd` receives the deployment request, verifies its integrity and authenticity, and passes the message on to `deployd` via gRPC.
15
-
1.`deployd` receives the message from `hookd`, assumes the identity of the deploying team, and applies your _Kubernetes resources_ into the specified [cluster](https://doc.nais.io/clusters).
15
+
1.`deployd` receives the message from `hookd`, assumes the identity of the deploying team, and applies your _Kubernetes resources_ into the specified [cluster](https://doc.nais.io/workloads/reference/environments).
16
16
1. If the Kubernetes resources contained any _Application_ or _Deployment_ resources, `deployd` will wait until these are rolled out successfully, or a timeout occurs.
17
17
18
18
Any fatal error will short-circuit the process with a `error` or `failure` status posted back to Github. A successful deployment will result in a `success` status.
19
19
Intermediary statuses will be posted, indicating the current state of the deployment.
20
20
21
21
## Usage
22
-
The usage documentation has been moved to [NAIS platform documentation](https://doc.nais.io/deployment).
22
+
The usage documentation has been moved to [NAIS platform documentation](https://doc.nais.io/build).
23
23
24
24
### Deploy API
25
25
_We strongly recommend that teams use the `deploy` cli to deploy, rather than posting directly to `hookd`._
@@ -50,16 +50,16 @@ to track the status of your deployment.
50
50
}
51
51
```
52
52
53
-
| Field | Type | Description |
54
-
|-------|------|-------------|
55
-
| resources | list[object]| Array of Kubernetes resources |
56
-
| team | string | Team tag |
57
-
| cluster | string | Kubernetes cluster, see [NAIS clusters](https://doc.nais.io/clusters)|
Copy file name to clipboardexpand all lines: actions/deploy/entrypoint.sh
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ fi
45
45
if [ -z"$APIKEY" ];then
46
46
if [ -z"$ACTIONS_ID_TOKEN_REQUEST_TOKEN" ] || [ -z"$ACTIONS_ID_TOKEN_REQUEST_URL" ];then
47
47
echo"Missing id-token permissions. This must be set either globally in the workflow, or for the specific job performing the deploy."
48
-
echo"For more info see https://doc.nais.io/how-to-guides/github-action and/or https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs"
48
+
echo"For more info see https://doc.nais.io/build/how-to/build-and-deploy and/or https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs"
Copy file name to clipboardexpand all lines: pkg/deployd/deployd/deployd_test.go
+2-2
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,7 @@ var tests = []testSpec{
157
157
timeout: 2*time.Second,
158
158
endStatus: &pb.DeploymentStatus{
159
159
State: pb.DeploymentState_failure,
160
-
Message: "nais.io/v1alpha1, Kind=Application, Namespace=aura, Name=myapplication-unknown-fields: creating resource: strict decoding error:\n| ⚠️ unknown field \"spec.nestedField\"\n| ⚠️ unknown field \"spec.unknownField\"\n| The fields might be misspelled, incorrectly indented, or unsupported. Fields are case sensitive.\n| Please verify your resource against the reference documentation at https://doc.nais.io/reference/application-spec/ (total of 1 errors)",
160
+
Message: "nais.io/v1alpha1, Kind=Application, Namespace=aura, Name=myapplication-unknown-fields: creating resource: strict decoding error:\n| ⚠️ unknown field \"spec.nestedField\"\n| ⚠️ unknown field \"spec.unknownField\"\n| The fields might be misspelled, incorrectly indented, or unsupported. Fields are case sensitive.\n| Please verify your resource against the reference documentation at https://doc.nais.io/workloads/application/reference/application-spec/ (total of 1 errors)",
161
161
},
162
162
deployedResources: nil,
163
163
},
@@ -168,7 +168,7 @@ var tests = []testSpec{
168
168
timeout: 2*time.Second,
169
169
endStatus: &pb.DeploymentStatus{
170
170
State: pb.DeploymentState_failure,
171
-
Message: "nais.io/v1alpha1, Kind=Application, Namespace=aura, Name=myapplication: updating resource: strict decoding error:\n| ⚠️ unknown field \"spec.nestedField\"\n| ⚠️ unknown field \"spec.unknownField\"\n| The fields might be misspelled, incorrectly indented, or unsupported. Fields are case sensitive.\n| Please verify your resource against the reference documentation at https://doc.nais.io/reference/application-spec/ (total of 1 errors)",
171
+
Message: "nais.io/v1alpha1, Kind=Application, Namespace=aura, Name=myapplication: updating resource: strict decoding error:\n| ⚠️ unknown field \"spec.nestedField\"\n| ⚠️ unknown field \"spec.unknownField\"\n| The fields might be misspelled, incorrectly indented, or unsupported. Fields are case sensitive.\n| Please verify your resource against the reference documentation at https://doc.nais.io/workloads/application/reference/application-spec/ (total of 1 errors)",
0 commit comments