Skip to content

Promote testing to main #316

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

Merged
merged 2 commits into from
Jun 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions scripts/local/ci/01-gather.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,26 @@ REPOSITORY_ROOT_DIR="$(realpath ${SCRIPT_DIR}/../../..)"

cd "${REPOSITORY_ROOT_DIR}"

git clone --revision=refs/heads/main https://github.com/stackql/stackql.git stackql-core

git clone --revision=refs/heads/main https://github.com/stackql/any-sdk.git stackql-any-sdk
# Check if the directory already exists
if [ -d "stackql-core" ]; then
>&2 echo "Directory stackql-core already exists. Skipping clone."
cd "${REPOSITORY_ROOT_DIR}/stackql-core"
git pull origin main
cd "${REPOSITORY_ROOT_DIR}"
else
>&2 echo "Cloning stackql-core repository..."
git clone --revision=refs/heads/main https://github.com/stackql/stackql.git stackql-core
fi


# Check if the directory already exists
if [ -d "stackql-any-sdk" ]; then
>&2 echo "Directory stackql-any-sdk already exists. Skipping clone."
cd "${REPOSITORY_ROOT_DIR}/stackql-any-sdk"
git pull origin main
cd "${REPOSITORY_ROOT_DIR}"
else
>&2 echo "Cloning stackql-any-sdk repository..."
git clone --revision=refs/heads/main https://github.com/stackql/any-sdk.git stackql-any-sdk
fi
31 changes: 21 additions & 10 deletions test/robot/stackql/live/readonly/live_readonly.robot
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,24 @@ AWS Route53 List Record Sets Simple
... ${EMPTY}
... AWS-Route53-List-Record-Sets-Simple

# AWS IAM Users Subquery Left Joined With Aliasing and Name Collision
# [Documentation] AWS IAM Users Complex Query. Acceptable to hardcoode region for global resource.
# [Tags] aws iam users aws.iam aws.iam.users tier_1
# ${inputStr} = Catenate
# ... select u1.UserName, u.UserId, u.Arn, u1.region from ( select Arn, UserName, UserId from aws.iam.users where region = 'us-east-1' ) u inner join aws.iam.users u1 on u1.Arn = u.Arn where region = 'us-east-1' order by u1.UserName desc;
# Stock Stackql Exec Inline Contains Both Streams
# ... ${inputStr}
# ... UserName
# ... ${EMPTY}
# ... AWS-IAM-Users-Subquery-Left-Joined-With-Aliasing-and-Name-Collision
AWS IAM Users Simple Admin Exists
[Documentation] AWS IAM Users Simple Query. Acceptable to hardcoode region for global resource.
[Tags] aws iam users aws.iam aws.iam.users tier_1
${inputStr} = Catenate
... select split_part(arn, ':', -1) as arn_extract, user_name from aws.iam.users where region = 'us-east-1' and user_name = 'kieran.rimmer';
Stock Stackql Exec Inline Contains Both Streams
... ${inputStr}
... user/kieran.rimmer
... ${EMPTY}
... AWS-IAM-Users-Simple-Admin-Exists

AWS IAM Users Simple Alt Admin Exists
[Documentation] AWS IAM Users Simple Query. Acceptable to hardcoode region for global resource.
[Tags] aws iam users aws.iam aws.iam.users tier_1
${inputStr} = Catenate
... select split_part(arn, ':', -1) as arn_extract, user_name from aws.iam.users where region = 'us-east-1' and user_name = 'jeffrey.aven';
Stock Stackql Exec Inline Contains Both Streams
... ${inputStr}
... user/jeffrey.aven
... ${EMPTY}
... AWS-IAM-Users-Simple-Alt-Admin-Exists
Loading