Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image attribute #565

Merged
merged 9 commits into from
Feb 1, 2021
Merged

Conversation

rienafairefr
Copy link
Contributor

I extracted the image attribute thing from #544, and added acceptance tests which are still running so not sure they pass, this might still not be fully ready, but hey, figure I'd try.

@rienafairefr rienafairefr marked this pull request as draft January 29, 2021 18:25
Copy link
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for jumping in here! This is looking super close. I've left a few comments in-line.

digitalocean/resource_digitalocean_app_test.go Outdated Show resolved Hide resolved
digitalocean/resource_digitalocean_app_test.go Outdated Show resolved Hide resolved
digitalocean/app_spec.go Outdated Show resolved Hide resolved
@rienafairefr
Copy link
Contributor Author

with the latest fixups, acceptance tests are passing

$ DIGITALOCEAN_TOKEN=******* make testacc TESTARGS='-run=TestAccDigitalOceanApp_Image'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccDigitalOceanApp_Image -timeout 120m
?       github.com/digitalocean/terraform-provider-digitalocean [no test files]
=== RUN   TestAccDigitalOceanApp_Image
=== PAUSE TestAccDigitalOceanApp_Image
=== CONT  TestAccDigitalOceanApp_Image
--- PASS: TestAccDigitalOceanApp_Image (58.20s)
PASS
ok      github.com/digitalocean/terraform-provider-digitalocean/digitalocean    58.240s
testing: warning: no tests to run
PASS
ok      github.com/digitalocean/terraform-provider-digitalocean/internal/datalist       (cached) [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/digitalocean/terraform-provider-digitalocean/internal/mutexkv        (cached) [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/digitalocean/terraform-provider-digitalocean/internal/setutil        (cached) [no tests to run]

@rienafairefr rienafairefr marked this pull request as ready for review January 29, 2021 23:34
Copy link
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks great!

@MattIPv4
Copy link
Member

MattIPv4 commented Feb 3, 2021

Hey, @rienafairefr - Thanks a ton for this sweet PR! 😄

Would you please shoot me an email when you get a chance?
mcowley at digitalocean dot com 🎉

andrewsomething added a commit that referenced this pull request Apr 26, 2021
* image attribute

* try adding acceptance test

* fixup! image attribute

* Update digitalocean/resource_digitalocean_app_test.go

Co-authored-by: Andrew Starr-Bochicchio <[email protected]>

* test acc image in its own function

* move 'image' attribute  to service/worker, exclude from static_site

* fixup acceptance test

* Remove commented out line.

Co-authored-by: Andrew Craven <[email protected]>
Co-authored-by: Matthieu Berthomé <[email protected]>
Co-authored-by: Andrew Starr-Bochicchio <[email protected]>
Co-authored-by: Andrew Starr-Bochicchio <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants