I keep all my figs in a greenhouse, in pots and it works out just fine. You have to be cautious about rust on some varieties, others don't seem to care about the higher humidity you inevitably have to deal with.
Outside I would never be able to ripen the col de dame for instance, not a single one, as my summer is short and fall can start as early as september.
I have another green fig, a tree of about 15 years old, which I bought three years ago. Unfortunately I can't determine which kind it is. Anyaway the first two years I kept it outside in full sun, but the figs didn't ripen. Now they do all, starting off first of august until mid october.
A week ago I also bought a madeleine, a noire de barbentane and a negronne but these are just young sprouts.
Off course watering them is crucial since they're in pots inside a greenhouse. In july temps can raise up to 45C, doors and windows open off course, humidity drops to nearly 20 % then.
The shading I use for the tomatoes and peppers are not needed to protect the figs, I have the impression they really love the heat.
You shouldn' t grow them in ground though, think about the ground water level that could rise during winter, I am not sure how they will react to that.
Another suggestion I read here to bring the figs outside during summer and move them back in at the end of summer should also work fine, I know of a local nursery that does that and they have great results.
In other words: to ripen the figs a greenhouse works fine as long as you ventilate, you will also have figs a month earlier!