-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat and fix begin finally upgrade of the Cosmos SDK for ISO images, and introduces Coding Rabbit AI BOT, which replaces the dependabots #11289
base: main
Are you sure you want to change the base?
Conversation
taking my prototype and adapting this to this environment's devcontainer
without exposing ports. you can add that in, but for the general case, it's omitted here.
script for running the runner for windows 2025 using docker.
Robust Dockerfile for Ubunutu 24.04 and Windows 2025, updating before 1-25-2025
CLang CLang went the trolley
CI/CL pipeline, engaged.
Updates the ISO to create both WIndows 2025 toolkit devcontainer and also ISO for ubunutu 24.04 2025 toolkit, and makes .devcontainer the root file directory for the update. Sorry Mac users, you're on your own until Tim Cook decides to come in and help out.
Fixed the pester test issue thanks to an actual collaborative person who was using copilot
Create e.sh
emulation of rabbit.yml
.echo rabbit
Signed-off-by: J. K. Edwards <[email protected]>
ci(Mergify): configuration update
Signed-off-by: J. K. Edwards <[email protected]>
ci(Mergify): configuration update
Signed-off-by: J. K. Edwards <[email protected]>
ci(Mergify): configuration update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems good on the run
Signed-off-by: J. K. Edwards <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed that finally
…/config-update Revert "ci(Mergify): configuration update"
fixing merging forks
Signed-off-by: J. K. Edwards <[email protected]>
…date ci(Mergify): configuration update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#!/bin/bash
################################################################################
File: install-azure-devops-cli.sh
Desc: Install and upgrade Azure DevOps CLI (az devops) with robust error handling
################################################################################
Constants
LOG_FILE="/var/log/install-azure-devops-cli.log"
AZURE_EXTENSION_NAME="azure-devops"
AZURE_CLI_CMD="az"
RETRY_COUNT=3
RETRY_INTERVAL=5 # in seconds
Source the helpers for use with the script
source /path/to/helpers.sh # Update to the actual path of helpers.sh
Set Azure CLI extension directory
export AZURE_EXTENSION_DIR=/opt/az/azcliextensions
set_etc_environment_variable "AZURE_EXTENSION_DIR" "${AZURE_EXTENSION_DIR}"
Log function
function log_message() {
local message="$1"
echo "$(date +'%Y-%m-%d %H:%M:%S') -
}
Check prerequisites
function check_prerequisites() {
log_message "Checking prerequisites for Azure CLI installation..."
if ! command -v ${AZURE_CLI_CMD} &> /dev/null; then
log_message "Azure CLI is not installed. Please install Azure CLI first." >&2
exit 1
fi
log_message "Prerequisites verified successfully."
}
Retry logic
function retry_command() {
local cmd="$1"
local retries="${2:-${RETRY_COUNT}}"
local interval="${3:-${RETRY_INTERVAL}}"
for ((i = 0; i < retries; i++)); do
if ${cmd}; then
return 0
else
log_message "Command failed. Retrying in ${interval} seconds... (Attempt $((i + 1))/${retries})"
sleep "${interval}"
fi
done
log_message "Command failed after ${retries} attempts." >&2
return 1
}
Install or update Azure DevOps CLI extension
function install_or_update_devops_cli() {
log_message "Checking if Azure DevOps CLI extension is installed..."
# Check if the extension exists
if ${AZURE_CLI_CMD} extension show -n ${AZURE_EXTENSION_NAME} &> /dev/null; then
log_message "Azure DevOps CLI extension found. Attempting to update..."
# Try updating the extension
if retry_command "${AZURE_CLI_CMD} extension update -n ${AZURE_EXTENSION_NAME}"; then
log_message "Azure DevOps CLI extension updated successfully."
else
log_message "Error updating Azure DevOps CLI extension." >&2
exit 1
fi
else
log_message "Azure DevOps CLI extension not found. Installing..."
# Try installing the extension
if retry_command "${AZURE_CLI_CMD} extension add -n ${AZURE_EXTENSION_NAME}"; then
log_message "Azure DevOps CLI extension installed successfully."
else
log_message "Error installing Azure DevOps CLI extension." >&2
exit 1
fi
fi
}
Run tests to verify installation
function verify_installation() {
log_message "Verifying Azure DevOps CLI installation..."
if ! ${AZURE_CLI_CMD} extension show -n ${AZURE_EXTENSION_NAME} &> /dev/null; then
log_message "Verification failed: Azure DevOps CLI extension is not installed correctly." >&2
exit 1
fi
log_message "Azure DevOps CLI extension installation verified successfully."
}
Main execution
function main() {
log_message "Starting Azure DevOps CLI installation script..."
check_prerequisites
install_or_update_devops_cli
verify_installation
log_message "Azure DevOps CLI installation completed successfully."
}
Run the script
main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it seems like the pesterbot has been eliminated from this part of the protocol that it liked to keep targeting, as now everything is in the green.
#include <cosmwasm.hpp> #include <vector> #include <string> // Recipient structure struct Recipient { std::string address; uint64_t amount; // Amount in microATOM }; // Input message struct ReimburseMsg { std::vector<Recipient> recipients; }; // Main contract logic class Contract : public cosmwasm::Contract<Contract> { public: // Execute function cosmwasm::Response execute(const cosmwasm::MessageInfo& info, const ReimburseMsg& msg) { // Verify sender funds uint64_t total_amount = 0; for (const auto& recipient : msg.recipients) { total_amount += recipient.amount; } uint64_t sent_amount = info.funds.at(0).amount; if (sent_amount < total_amount) { throw std::runtime_error("Insufficient funds provided"); } // Generate bank send messages std::vector<cosmwasm::BankMsg> bank_msgs; for (const auto& recipient : msg.recipients) { bank_msgs.emplace_back(cosmwasm::BankMsg::Send{ recipient.address, {{ "uatom", recipient.amount }} }); } // Create response with messages return cosmwasm::Response() .add_messages(bank_msgs) .add_attribute("action", "reimburse") .add_attribute("sender", info.sender); } };
wasm wham!
wasm wham! the engine
please see |
Description
will document in one second holde please
rovide total size and installation time.**
Related issue:
Check list