Skip to content

Commit

Permalink
add unit test for arch [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Jan 13, 2022
1 parent d87d03d commit e323667
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/load_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func TestLoad(t *testing.T) {
"DRONE_AGENT_TOKEN": "f5064039f5",
"DRONE_AGENT_IMAGE": "drone/drone-runner-docker:latest",
"DRONE_AGENT_CONCURRENCY": "2",
"DRONE_AGENT_ARCH": "arm64",
"DRONE_TLS_AUTOCERT": "true",
"DRONE_TLS_CERT": "/path/to/cert.crt",
"DRONE_TLS_KEY": "/path/to/cert.key",
Expand Down Expand Up @@ -211,7 +212,7 @@ var jsonConfig = []byte(`{
},
"Agent": {
"OS": "linux",
"Arch": "amd64",
"Arch": "arm64",
"Token": "f5064039f5",
"Image": "drone/drone-runner-docker:latest",
"Concurrency": 2,
Expand Down

0 comments on commit e323667

Please sign in to comment.