|
38 | 38 | - master
|
39 | 39 | - 'v[0-9]+'
|
40 | 40 | - release/*
|
| 41 | + schedule: |
| 42 | + - cron: '0 4 * * *' # run once a day at 4 AM UTC |
| 43 | + push: |
| 44 | + paths: |
| 45 | + - ".github/workflows/tests-pro-integration.yml" |
| 46 | + - "localstack/**/packages.py" |
| 47 | + - "localstack/packages/*.py" |
| 48 | + - "setup.py" |
| 49 | + - "pyproject.toml" |
| 50 | + - "setup.cfg" |
| 51 | + branches: |
| 52 | + - master |
41 | 53 |
|
42 | 54 | concurrency:
|
43 | 55 | group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
@@ -171,9 +183,22 @@ jobs:
|
171 | 183 | with:
|
172 | 184 | path: |
|
173 | 185 | localstack-ext/.venv
|
| 186 | + # include the matrix group (to re-use the var-libs used in the specific test group) |
| 187 | + key: community-it-${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-venv-${{ hashFiles('localstack-ext/setup.cfg', 'localstack-ext/pyproject.toml', 'localstack/setup.cfg') }}-${{steps.determine-companion-ref.outputs.result}} |
| 188 | + restore-keys: | |
| 189 | + community-it-${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-venv-${{ hashFiles('localstack-ext/setup.cfg', 'localstack-ext/pyproject.toml', 'localstack/setup.cfg') }}-refs/heads/master |
| 190 | +
|
| 191 | + - name: Cache Ext Dependencies (libs) |
| 192 | + if: inputs.disableCaching != true |
| 193 | + uses: actions/cache@v3 |
| 194 | + with: |
| 195 | + path: | |
174 | 196 | localstack/.filesystem/var/lib/localstack
|
175 | 197 | # include the matrix group (to re-use the var-libs used in the specific test group)
|
176 |
| - key: community-it-${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-venv-${{ hashFiles('localstack-ext/setup.cfg', 'localstack-ext/pyproject.toml', 'localstack/setup.cfg', '**/packages.py', '**/packages/*') }}-${{steps.determine-companion-ref.outputs.result}}-group-${{ matrix.group }} |
| 198 | + key: community-it-${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-libs-${{ hashFiles('localstack-ext/**/packages.py','localstack-ext/packages/*.py', 'localstack/**/packages.py', 'localstack/packages/*.py') }}-${{steps.determine-companion-ref.outputs.result}}-group-${{ matrix.group }} |
| 199 | + restore-keys: | |
| 200 | + community-it-${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-libs-${{ hashFiles('localstack-ext/**/packages.py','localstack-ext/packages/*.py','localstack/**/packages.py', 'localstack/packages/*.py') }}-refs/heads/master-group-${{ matrix.group }} |
| 201 | +
|
177 | 202 |
|
178 | 203 | - name: Restore Lambda common runtime packages
|
179 | 204 | id: cached-lambda-common-restore
|
@@ -235,6 +260,7 @@ jobs:
|
235 | 260 | # add the GitHub API token to avoid rate limit issues
|
236 | 261 | GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
237 | 262 | DEBUG: 1
|
| 263 | + DISABLE_BOTO_RETRIES: 1 |
238 | 264 | DNS_ADDRESS: 0
|
239 | 265 | LAMBDA_EXECUTOR: "local"
|
240 | 266 | LOCALSTACK_API_KEY: "test"
|
|
0 commit comments