Skip to content
Open
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
5 changes: 5 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
env:
AWS_REGION: "ap-southeast-2"
AWS_DEFAULT_REGION: "ap-southeast-2"
AWS_PROFILE: "aws-services-cli"

steps:
- label: ":python: test"
command: ./scripts/test
Expand Down
5 changes: 4 additions & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ if ! (( $(conda env list | grep "^${CONDA_ENV_NAME}[[:space:]]*" >/dev/null 2>&1
echo "creating conda environment ${CONDA_ENV_NAME}"
conda create -y --name $CONDA_ENV_NAME python=3.11
fi

conda run -n $CONDA_ENV_NAME bash -c "python -m pip install awscli"
conda run -n $CONDA_ENV_NAME bash -c "cat ~/.aws/credentials"
github_token=$(conda run -n $CONDA_ENV_NAME bash -c 'aws ssm get-parameter --name "/services/github/key" --with-decryption --query "Parameter.Value" --output text')
export GH_TOKEN=$github_token
echo "installing packages into ${CONDA_ENV_NAME}"
conda run -n $CONDA_ENV_NAME bash -c "python -m pip install -e '.[dev]'"

Expand Down