Skip to content

Commit

Permalink
Merge branch 'main' into env-required
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayada1 authored Jan 23, 2024
2 parents 5e7325a + e506a32 commit 4f970e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/functional/shared/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ func Test_Run_Logger(t *testing.T) {
filepath.Join(cwd, template),
"--application",
applicationName,
"--parameters",
functional.GetMagpieImage(),
}

// 'rad run' streams logs until canceled by the user. This is why we can't 'just' run the command in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ import radius as radius

param application string

@description('Specifies the image to be deployed.')
param magpieimage string

resource container 'Applications.Core/containers@2023-10-01-preview' = {
name: 'k8s-cli-run-logger'
location: 'global'
properties: {
application: application
container: {
image: 'debian'
image: magpieimage
command: ['/bin/sh']

// The test looks for this specific output, keep in sync with the CLI run test!
Expand Down

0 comments on commit 4f970e1

Please sign in to comment.