-
Notifications
You must be signed in to change notification settings - Fork 79
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
Update testing to new approach #18
Conversation
9e02368
to
e1287eb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if we need to keep old-style tests (bats)
bb113d2
to
0751966
Compare
14bb551
to
33b2a39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if we need to keep old-style tests (bats)
@morgante requested keeping bats.
test/setup/make_source.sh
Outdated
echo "export FOLDER_2_ID='$folder_2_id'"; \ | ||
echo "export PROJECT_ID='$project_id'"; \ | ||
echo "export PROJECT_EXCLUDE='$project_exclude'"; \ | ||
echo "export PROJECT_CONSTRAINT_DENY_ALL='constraints/compute.trustedImageProjects'"; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't have any static values in this file. make_source is only necessary for generating values that change.
Please move all the static value back to the old location.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@morgante. I agree, the constraint variables have been mistakenly moved to dynamic ones.
@kopachevsky @nick4fake,
Since current Cloud Build integration with GitHub doesn't support logs, further development of Cloud Build integration with this module would require approved access to the mentioned infrastructure component on the client side.
@kopachevsky, your Team take over of the task or GL guidance on further actions on it is required. As always, I'll be more than happy to help with any challenges GL may face ;)
|
||
# Constraints | ||
|
||
# Applied to: project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't remove these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a30f85c
to
b4161c3
Compare
0d41989
to
19f9c50
Compare
Fixes #17
Please note following deviations from migration document:
for_each
instead of count.index is used to create a number of instances of resource.