diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 9be8abcd9d..641150e157 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -885,7 +885,9 @@ jobs: deploy-new: runs-on: [ self-hosted, gen3, small ] - container: 369495373322.dkr.ecr.eu-central-1.amazonaws.com/ansible:pinned + container: + image: 369495373322.dkr.ecr.eu-central-1.amazonaws.com/ansible:pinned + options: --user root --privileged # We need both storage **and** compute images for deploy, because control plane picks the compute version based on the storage version. # If it notices a fresh storage it may bump the compute version. And if compute image failed to build it may break things badly needs: [ push-docker-hub, tag, regress-tests ] @@ -1117,6 +1119,12 @@ jobs: submodules: true fetch-depth: 0 + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1-node16 + with: + role-to-assume: arn:aws:iam::369495373322:role/github-runner + aws-region: eu-central-1 + - name: Configure environment run: | helm repo add neondatabase https://neondatabase.github.io/helm-charts @@ -1169,6 +1177,12 @@ jobs: submodules: true fetch-depth: 0 + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1-node16 + with: + role-to-assume: arn:aws:iam::369495373322:role/github-runner + aws-region: eu-central-1 + - name: Configure environment run: | helm repo add neondatabase https://neondatabase.github.io/helm-charts