[BETA] Release version v0.2.1 evolved to 0.2.1.0015! #18
zhenrong-wang
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is a major update to the Version 0.2.1.0011.
Main changes:
1. INTRODUCED the switch between terraform and tofu
Now, HPC-NOW generates and manages a configuration file for tf running (either terraform or opentofu). Your can use the new command below to check and update the configuration file.
hpcopr set-tf
: without extra command options, the current config will be displayed.hpcopr set-tf --tf-run TF_NAME --dbg-level DEBUG_LOG_LEVEL --max-time MAX_WAITING_SECONDS
, whereTF_NAME
can be either terraform or tofu, currently, terraform is the default option.DEBUG_LOG_LEVEL
can be one oftrace debug info warn error off
.MAX_WAITING_SECONDS
can be a value between 600 and 12002. INTRODUCED 3 command keywords to switch between terraform and opentofu in running
Now, you can use the command keywords
--tf-run TF_NAME --dbg-level DEBUG_LOG_LEVEL --max-time MAX_WAITING_SECONDS
to specify the tf running config for the current run. This will override the configs set by theset-tf
command above.Example:
hpcopr init -b --tf-run terraform --dbg-level error --max-time 800
This example command will start initializing a cluster with terraform, only output error logs, and with maximum execution time 800 seconds. Check the effect below:
3. Better wrapped tf_execution
The
tf_execution()
function was updated with a newstruct
typetf_exec_config
. With this method, the whole codes are much more readable and extendable.4. Extra information was included in the repo
Uploaded the MD5s and versions of the third-party components. See the new directory
vers_md5s
folder.5. Command deprecation
None.
6. Deleted the dev-0.2.2-opentofu branch
Because the switch between terraform and opentofu was introduced, the previously-branched dev-0.2.2-opentofu is now outdated. We deleted it from the repository.
We also added a CONTRIBUTING.md to this project, looking forward to your feedback and contributions!
HPC-NOW: Start your HPC journey in the cloud now.
This discussion was created from the release [BETA] Release version v0.2.1 evolved to 0.2.1.0015!.
Beta Was this translation helpful? Give feedback.
All reactions