Skip to content

Commit

Permalink
Merge pull request #17 from dependabot/jurre/prune-old-images-in-cleanup
Browse files Browse the repository at this point in the history
Prune networks and containers in post step vs not after run
  • Loading branch information
Jurre authored and GitHub committed Oct 18, 2021
2 parents 1a105d5 + 5e225db commit f2ebb06
Show file tree
Hide file tree
Showing 15 changed files with 34,509 additions and 15 deletions.
2 changes: 2 additions & 0 deletions __tests__/proxy-integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ describe('ProxyBuilder', () => {
await removeDanglingUpdaterContainers()
})

jest.setTimeout(20000)
it('should create a proxy container with the right details', async () => {
// Skip the test when we haven't preloaded the updater image
if (process.env.SKIP_INTEGRATION_TESTS) {
Expand Down Expand Up @@ -71,6 +72,7 @@ describe('ProxyBuilder', () => {
await proxy.shutdown()
})

jest.setTimeout(20000)
it('copies in a custom root CA if configured', async () => {
if (process.env.SKIP_INTEGRATION_TESTS) {
return
Expand Down
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ description: 'Runs dependabot-updater in Actions'
author: 'GitHub'
runs:
using: 'node12'
main: 'dist/index.js'
main: 'dist/main/index.js'
post: 'dist/cleanup/index.js'
Loading

0 comments on commit f2ebb06

Please sign in to comment.