mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-06 21:49:33 +02:00
*: introduce a setup-only mode to the build-push-action
This setup-only mode will setup a docker builder with the stickydisk mounted but will not run a Docker build. The use case here is to allow customers to then run their custom Tilt files or Docker commands against our builder. The other subtle change is that we only cleanup in the post step of this builder action. It is still to be seen if you can start several of these builders at the same time in a workflow but we can do that as a follow on.
This commit is contained in:
parent
f8d1c2e2ae
commit
ab514e31b5
16 changed files with 1201 additions and 287 deletions
|
@ -6,10 +6,13 @@ const config: Config.InitialOptions = {
|
|||
testEnvironment: 'node',
|
||||
testMatch: ['**/*.test.ts'],
|
||||
transform: {
|
||||
'^.+\\.ts$': 'ts-jest',
|
||||
'^.+\\.js$': 'babel-jest'
|
||||
'^.+\\.(ts|js)$': 'babel-jest'
|
||||
},
|
||||
moduleNameMapper: {
|
||||
'^execa$': '<rootDir>/src/__mocks__/execa.ts',
|
||||
'^@buf/blacksmith_vm-agent.connectrpc_es/(.*)$': '<rootDir>/src/__mocks__/@buf/blacksmith_vm-agent.connectrpc_es/$1',
|
||||
'^@buf/blacksmith_vm-agent.bufbuild_es/(.*)$': '<rootDir>/src/__mocks__/@buf/blacksmith_vm-agent.bufbuild_es/$1'
|
||||
},
|
||||
transformIgnorePatterns: ['/node_modules/(?!(@buf|@connectrpc)/)'],
|
||||
verbose: true,
|
||||
collectCoverage: true,
|
||||
collectCoverageFrom: ['src/**/*.ts', '!src/**/*.d.ts', '!src/**/__tests__/**']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue