8000 Fix Maven repository extraction on Aurora/Azure VMs by Pepo48 · Pull Request #48175 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,5 @@
- name: Install Maven repository on the remote hosts
unarchive:
src: "{{ maven_archive }}"
creates: "{{ kc_home }}"
dest: "{{ kc_home }}"
dest: "/home/{{ ansible_ssh_user }}"
owner: "{{ ansible_ssh_user }}"
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
91D6
Original file line number Diff line number Diff line change
Expand Up @@ -515,15 +515,15 @@ jobs:

git archive --format=zip --output /tmp/keycloak.zip $GITHUB_REF
zip -u /tmp/keycloak.zip aws.pem
tar -C ~/ -czvf m2.tar.gz .m2
tar -C ~/ -czvf /tmp/m2.tar.gz .m2

cd .github/scripts/ansible
python3 -m venv .venv
source .venv/bin/activate
./aws_ec2.sh requirements
pipx inject ansible-core boto3 botocore
./aws_ec2.sh create ${AWS_REGION} ${EC2_CLUSTER_NAME}
./keycloak_remote_installer.sh ${AWS_REGION} ${EC2_CLUSTER_NAME} /tmp/keycloak.zip m2.tar.gz
./keycloak_remote_installer.sh ${AWS_REGION} ${EC2_CLUSTER_NAME} /tmp/keycloak.zip /tmp/m2.tar.gz
./mvn_remote_runner.sh ${AWS_REGION} ${EC2_CLUSTER_NAME} "clean install -B -DskipTests -Pdistribution -DskipProtoLock=true"
./mvn_remote_runner.sh ${AWS_REGION} ${EC2_CLUSTER_NAME} "clean install -B -DskipTests -pl testsuite/integration-arquillian/servers/auth-server/quarkus -Pauth-server-quarkus -Pdb-aurora-postgres -Dmaven.build.cache.enabled=true"

Expand Down Expand Up @@ -727,12 +727,12 @@ jobs:
echo "az_vm_cluster=${AZ_VM_CLUSTER_NAME}" >> $GITHUB_OUTPUT

git archive --format=zip --output /tmp/keycloak.zip $GITHUB_REF
tar -C ~/ -czvf m2.tar.gz .m2 || true
tar -C ~/ -czvf /tmp/m2.tar.gz .m2 || true

cd .github/scripts/ansible
./azure_vm_manager.sh create ${AZURE_REGION} ${AZ_VM_CLUSTER_NAME}

./keycloak_remote_installer.sh ${AZURE_REGION} ${AZ_VM_CLUSTER_NAME} /tmp/keycloak.zip m2.tar.gz
./keycloak_remote_installer.sh ${AZURE_REGION} ${AZ_VM_CLUSTER_NAME} /tmp/keycloak.zip /tmp/m2.tar.gz
./mvn_remote_runner.sh ${AZURE_REGION} ${AZ_VM_CLUSTER_NAME} "clean install -B -DskipTests -Pdistribution -DskipProtoLock=true -Dmaven.build.cache.enabled=true"
./mvn_remote_runner.sh ${AZURE_REGION} ${AZ_VM_CLUSTER_NAME} "clean install -B -DskipTests -pl testsuite/integration-arquillian/servers/auth-server/quarkus -Pdb-mssql-azure -Dmaven.build.cache.enabled=true"

Expand Down
Loading
0