Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Using consistent ENV variable for RUNNER#273

Merged
CraigSterrett merged 1 commit intoclearlinux:masterfrom
ahsan518:New
Nov 20, 2019
Merged

Using consistent ENV variable for RUNNER#273
CraigSterrett merged 1 commit intoclearlinux:masterfrom
ahsan518:New

Conversation

@ahsan518
Copy link
Copy Markdown
Contributor

Earlier there was confusion between CLRK8S_RUNNER and RUNNER in
setup_system.sh and create_stack.sh script, this patch fixes this
and now the variable can either be RUNNER/CLRK8S_RUNNER.

Signed-off: syed.ahsan.shamim.zaidi@intel.com
#272

Comment thread clr-k8s-examples/README.md Outdated
Comment thread clr-k8s-examples/create_stack.sh Outdated
Comment thread clr-k8s-examples/create_stack.sh
Copy link
Copy Markdown
Contributor

@CraigSterrett CraigSterrett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing failed these conditions

Neither RUNNER or CLRK8S_RUNNER set
./setup_system.sh
./setup_system.sh: line 14: CLRK8S_RUNNER: unbound variable

export RUNNER=containerd
./setup_system.sh
./setup_system.sh: line 14: CLRK8S_RUNNER: unbound variable

Did not test past this

Earlier there was confusion between CLRK8S_RUNNER and RUNNER in
setup_system.sh and create_stack.sh script, this patch fixes this
and now the variable can either be RUNNER/CLRK8S_RUNNER.

Signed-off: syed.ahsan.shamim.zaidi@intel.com
Copy link
Copy Markdown
Contributor

@CraigSterrett CraigSterrett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected, tested with no environment variable set, and then both with CLRK8S_RUNNER and then with just RUNNER.

@CraigSterrett CraigSterrett merged commit f146c77 into clearlinux:master Nov 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants