Are there any guides on developing on the various ...
# general
m
Are there any guides on developing on the various
pulumi-*
repos? For example https://github.com/pulumi/pulumi-docker, I am trying to test some potential changes locally, running
make test_fast
, but it does not seem to run against the local code.
Ah I figured some of it out. For others that may see this,
<https://github.com/pulumi/pulumi/blob/master/pkg/testing/integration/program.go>
package runs the magic here. It does a
yarn link
of the local code into a test program, the crucial step I was missing however was to
make build
the typescript into the
bin/*.js
that is actually ran. I am still having issues but seem closer
Next issue seemed to be in this part of my test:
Copy code
opts := base.With(integration.ProgramTestOptions{
		Dependencies: []string{
			"@pulumi/docker",
		},
		Dir: path.Join(cwd, "hadolint"),
	})
Since I am developing on my fork, I needed to change it to
@timmyers/pulumi-docker
.