Ecopetrol and unions agree on wages